python3 -m fmpy simulate --output-file MEV_MEV.Simulations.OnOffControl.Scenario3_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Simulations_OnOffControl_Scenario3.fmu LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -14.8971 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -14.7899 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -13.825 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1862 failed at time=0.857142859478656. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.01898 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.99762 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.80536 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1862 failed at time=0.857142857610017. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -30.7061 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -30.4935 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -28.58 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1821 failed at time=0.86086956803401. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -5.17707 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -5.13466 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -4.75291 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1821 failed at time=0.860869565780725. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0712676 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0628902 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.419371 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.270373 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.17278 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.108856 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0669858 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0395609 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0215975 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00983156 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00212485 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.268913 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.17513 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.113701 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.073466 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0471118 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0298498 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0185431 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0111373 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00628648 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00310919 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00102807 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.11647 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0761725 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0497774 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0324886 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0211644 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0137471 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00888875 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00570653 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00362218 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00225693 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00136269 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000776966 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000393315 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000142024 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0339313 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0222172 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0145445 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00951885 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00622706 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00407094 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00265868 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00173365 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00112775 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000730889 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000470945 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000300682 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000189159 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000116112 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -6.82658e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.69267e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.63996e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.95433e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0176917 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.011586 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00758683 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00496735 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0032516 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00212778 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00139167 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000909528 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000593722 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000386869 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00025138 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000162635 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000104507 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -6.64329e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -4.14945e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.51598e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.44606e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -7.45268e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.86246e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00316342 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00207199 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00135711 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000888855 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00058215 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000381259 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000249675 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000163487 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000107034 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -7.00578e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -4.58381e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.99742e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.95834e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.27774e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -8.31947e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -5.39952e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.48696e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.23423e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.41369e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -8.76242e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -5.2421e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.9363e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.426e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.419365 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 0.86087. | | | | | 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 | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -120.927 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -120.113 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -112.786 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1739 failed at time=0.942857144977619. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -23.224 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -23.0613 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -21.5967 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1739 failed at time=0.942857143281241. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -3.68343 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -3.65097 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -3.35885 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1739 failed at time=0.942857142941965. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.37608 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.823817 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.462085 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.22515 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0699579 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.400696 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.251522 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.153813 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0898132 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0478936 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0204362 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00245161 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.256605 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.164858 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.104764 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.065402 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.03962 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0227329 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0116718 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00442674 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0615673 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0402166 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0262319 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0170719 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0110721 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00714228 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00456823 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00288222 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00177789 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00105455 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00058076 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000270429 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -6.71626e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0291842 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0190929 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0124831 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00815367 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00531789 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00346046 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00224384 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00144695 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000924991 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000583107 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000359173 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000212496 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000116423 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -5.34951e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.22772e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0140597 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.009204 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00602354 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00394034 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00257585 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0016821 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0010967 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000713258 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000462106 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000297601 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00018985 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000119273 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -7.30453e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -4.27661e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -2.29333e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -9.94272e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.43393e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0075408 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0049378 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00323283 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00211608 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.0013846 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000905486 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000591665 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000386113 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000251476 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000163288 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000105526 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -6.76914e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -4.29098e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -2.66778e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.60459e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -9.082e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -4.52064e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.53295e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00252445 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00165337 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00108281 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000709095 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000464311 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000303978 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000198959 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000130172 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -8.51163e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -5.56049e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -3.62749e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -2.36138e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.53208e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -9.88883e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -6.33091e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -4.00047e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -2.47403e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.47421e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -8.19334e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -3.90388e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.09428e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00123606 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000809596 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.00053026 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000347294 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000227452 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.000148955 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -9.754e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -6.3863e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -4.18045e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -2.73562e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.78926e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.16939e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -7.63377e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -4.97438e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -3.23248e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -2.09154e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.34422e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -8.54728e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -5.34109e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -3.24104e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.86551e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -9.64538e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -3.744e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -1.37608 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 0.942857. | | | | | 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 | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -53.9836 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -53.6158 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -50.3057 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1698 failed at time=1.0421052657496. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.83635 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.76287 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.10157 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1698 failed at time=1.04210526367624. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.00691 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.992292 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.860756 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1698 failed at time=1.04210526326157. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -15.3483 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -15.3483 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -15.3483 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1579 failed at time=1.4142857157838. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.10936 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.10936 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.10936 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1579 failed at time=1.41428571458534. | | | | 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.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/__main__.py", line 4, in main() File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/command_line.py", line 169, in main result = simulate_fmu(args.fmu_filename, File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/simulation.py", line 759, 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.10/site-packages/fmpy/simulation.py", line 1059, in simulateME state_event, roots_found, time = solver.step(time, t_next) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 178, in step raise RuntimeError("CVode error (code %s) in module %s, function %s: %s" % self.error_info) RuntimeError: CVode error (code -1) in module CVODE, function CVode: At t = 1.45725, mxstep steps taken before reaching tout.