python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Plants.Combined.Validation.AllElectricCWStorage_res.csv --start-time 0 --stop-time 345600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 125.718 Buildings_latest_Buildings_DHC_Plants_Combined_Validation_AllElectricCWStorage.fmu LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Fluid/HeatExchangers/BaseClasses/PartialEffectivenessNTU.mo:112:5-117:36:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((pla.hexCoo.Q_flow_nominal / (300.05 - pla.hexCoo.T_a2_nominal) >= 0.0)) --> "In AllElectricCWStorage.pla.hexCoo: Q_flow_nominal is defined with the wrong sign. By convention, a positive value describes a heat flow from Medium1 to Medium2. The parameter T_a1_nominal should then be larger than T_a2_nominal.Future version of this library might enforce this convention and throw an error." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Fluid/Movers/BaseClasses/PartialFlowMachine.mo:101:3-101:89:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((pla.pumChiWat.pum.etaHyd >= 0.0)) --> "Variable violating min constraint: 0.0 <= pla.pumChiWat.pum.etaHyd, has value: -4.61723e-44" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Fluid/Movers/BaseClasses/PartialFlowMachine.mo:101:3-101:89:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((pla.pumHeaWat.pum.etaHyd >= 0.0)) --> "Variable violating min constraint: 0.0 <= pla.pumHeaWat.pum.etaHyd, has value: -3.13323e-42" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Fluid/Movers/BaseClasses/PartialFlowMachine.mo:101:3-101:89:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((pla.pumConWatCon.pum.etaHyd >= 0.0)) --> "Variable violating min constraint: 0.0 <= pla.pumConWatCon.pum.etaHyd, has value: -1.61132e-46" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Fluid/Movers/BaseClasses/PartialFlowMachine.mo:101:3-101:89:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((pla.pumConWatEva.pum.etaHyd >= 0.0)) --> "Variable violating min constraint: 0.0 <= pla.pumConWatEva.pum.etaHyd, has value: -2.32989e-43" LOG_NLS | error | residualFunc14946: Iteration variable `` is inf or nan. LOG_ASSERT | debug | residualFunc14946 failed at time=14400. | | | | For more information please use -lv LOG_NLS. LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 14400. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_ASSERT | debug | Solving non-linear system 13273 failed at time=14855.0101378384. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi1.py", line 369, in _call raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Solving non-linear system 13273 failed at time=14844.8191697935. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi1.py", line 369, in _call raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Solving non-linear system 13273 failed at time=14842.2714277822. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi1.py", line 369, in _call raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Solving non-linear system 13273 failed at time=14841.6344922794. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi1.py", line 369, in _call raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Solving non-linear system 13273 failed at time=14841.4752584037. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi1.py", line 369, in _call raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Solving non-linear system 13273 failed at time=14841.4354499348. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 148, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 656, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi2.py", line 595, in fmi2GetDerivatives return self._call("fmi2GetDerivatives", c, derivatives, nx) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/fmi1.py", line 369, in _call raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). [ERROR][rank 0][/home/runner/work/FMPy/FMPy/native/sundials-7.5.0/src/cvode/cvode.c:3743][cvHandleFailure] At t = 14841.4221804452 and h = 0.0132694896418927, the corrector convergence test failed repeatedly or with |h| = hmin. Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/__main__.py", line 4, in main() File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/cli.py", line 186, in main result = simulate_fmu(args.fmu_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/simulation.py", line 788, in simulate_fmu result = simulateME(model_description, fmu, start_time, stop_time, solver, step_size, relative_tolerance, start_values, apply_default_start_values, input, output, output_interval, record_events, timeout, step_finished, validate, set_stop_time) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/simulation.py", line 1101, in simulateME state_event, roots_found, time = solver.step(time, next_communication_point) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 185, in step raise RuntimeError("CVode error (code %s) in module %s, function %s: %s" % self.error_info) RuntimeError: CVode error (code -4) in module cvHandleFailure, function /home/runner/work/FMPy/FMPy/native/sundials-7.5.0/src/cvode/cvode.c: At t = 14841.4221804452 and h = 0.0132694896418927, the corrector convergence test failed repeatedly or with |h| = hmin.