Measure the resistance between ECM and oil flow control solenoid valve.
Connector & terminal
(E38) No. 1 — Engine ground:
(E38) No. 2 — Engine ground:
Is the resistance 1 MΩ or more?
Repair the ground short circuit of harness between ECM and oil flow control solenoid valve connector.