python3 -m fmpy simulate --output-file MEV_MEV.Simulations.LinearControl.Scenario3_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Simulations_LinearControl_Scenario3.fmu LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -60.0215 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -59.6135 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -55.9411 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1855 failed at time=0.857142859478658. | | | | 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 -11.0439 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -10.9623 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -10.2286 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1855 failed at time=0.85714285761002. | | | | 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 -1.24833 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.23211 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.08609 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1855 failed at time=0.857142857236292. | | | | 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 -66.5574 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -66.1057 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -62.0412 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1814 failed at time=0.860869567025258. | | | | 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 -12.3473 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -12.2571 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -11.4452 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1814 failed at time=0.860869565578966. | | | | 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 -1.50534 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.4874 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.32596 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1814 failed at time=0.860869565289707. | | | | 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 -27.6769 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -27.4845 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -25.7528 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1691 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 -4.57502 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.53662 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.191 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1691 failed at time=1.04210526367625. | | | | 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 -0.375137 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.230068 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.135047 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.072809 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0320428 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00534093 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.215761 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.137132 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0856303 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0518965 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0298009 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0153283 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00584868 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0447596 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0291932 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0189972 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0123188 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00794445 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00507926 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00320256 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00197333 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00116817 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0006408 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000295371 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -6.91139e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0215286 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.014074 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00919116 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00599293 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00389808 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00252596 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00162722 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00103855 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000652963 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000400407 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000234983 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00012663 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -5.56583e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.17217e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0113036 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00739652 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00483738 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00316114 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00206321 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00134406 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00087302 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000564488 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000362399 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000230031 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00014333 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -8.65409e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.9344e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.498e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.02159e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00299664 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00196231 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00128482 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000841061 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000550401 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000360019 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000235319 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00015364 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00010014 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -6.50983e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.21456e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.71116e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.72644e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.08144e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -6.58968e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -3.82249e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.00998e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -8.22786e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.51736e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00175491 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00114931 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000752637 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000492817 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000322635 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000211166 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000138153 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.03303e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -5.90062e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -3.8489e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.50501e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.62477e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.04821e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -6.70564e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.23206e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.61186e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.55063e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -8.55529e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.00236e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.02018e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000892458 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000584528 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000382833 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000250724 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000164192 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000107513 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -7.03891e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.60727e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -3.01454e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.97131e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.28799e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -8.40411e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -5.4725e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -3.55229e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.29456e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.47074e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.31143e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -5.77705e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -3.46204e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.9457e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.525e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -3.01953e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.375135 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 1.04211. | | | | | 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[10].valve_in.air.rho) was -1.30935e+07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -1.30935e+07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -1.30935e+07 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1572 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_in.air.rho) was -22476.2 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -22476.2 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -22476.2 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1572 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). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -48.4297 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -48.4297 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -48.4297 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1572 failed at time=1.41428571434564. | | | | 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[2].valve_out.air.rho) was -8.34674 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -8.2832 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -7.71127 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1896 failed at time=2.06896551942196. | | | | 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[2].valve_out.air.rho) was -0.701446 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.688867 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.57566 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1896 failed at time=2.06896551767751. | | | | 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 -32.2924 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -32.0692 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -30.0605 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1855 failed at time=2.14285714605188. | | | | 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 -5.48872 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.44423 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.04378 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1855 failed at time=2.14285714349611. | | | | 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 -0.127985 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.11923 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0404298 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1855 failed at time=2.14285714298496. | | | | 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 = 2.51889, mxstep steps taken before reaching tout.