python3 -m fmpy simulate --output-file MEV_MEV.Simulations.OnOffControl.Scenario7_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Simulations_OnOffControl_Scenario7.fmu LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -29.7061 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -29.5001 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -27.6466 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3353 failed at time=0.827586209005718. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[12].valve_out.air.rho) was -4.98029 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -4.93918 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -4.56924 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3353 failed at time=0.827586207318391. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[12].valve_out.air.rho) was -0.0351317 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0269952 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.462447 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.286952 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.172003 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0967115 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0473954 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0150934 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.217777 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.140552 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0899693 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0568377 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0351365 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0209222 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0116118 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00551351 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00151913 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.107476 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0700182 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0454834 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0294131 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.018887 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0119925 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00747655 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00451861 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00258116 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00131213 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000480912 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0286206 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0187246 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0122427 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00799704 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00521614 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00339465 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00220158 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00142012 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000908256 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000572989 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000353388 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00020955 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000115336 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -5.36258e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -1.32056e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0133442 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00873586 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00571741 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00374032 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00244533 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00159712 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00104153 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000677626 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000439267 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000283142 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00018088 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000113898 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -7.00255e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -4.12887e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -2.24661e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -1.01373e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -2.06192e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00666533 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00436468 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00285775 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00187071 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.0012242 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00080074 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000523371 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000341695 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000222697 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000144753 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -9.36996e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -6.02598e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -3.83567e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -2.40102e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -1.46132e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -8.45817e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -4.42663e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -1.78597e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -5.63429e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00390832 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00255958 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00167615 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00109751 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000718496 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000470244 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000307638 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000201132 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00013137 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -8.56758e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -5.57462e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -3.61424e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -2.33018e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -1.48913e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -9.38238e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -5.77404e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -3.41058e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -1.86252e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -8.48534e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -1.84375e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00199305 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00130536 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000854924 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000559889 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000366641 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000240063 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.000157155 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.00010285 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -6.72802e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -4.39821e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -2.87218e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -1.87263e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -1.21793e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -7.89094e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -5.08209e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -3.24229e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -2.03723e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -1.24791e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -7.30908e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -3.92271e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -1.70463e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -2.51795e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.462449 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 0.827586. | | | | | 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[2].valve_out.air.rho) was -0.113542 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.104883 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0269496 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3763 failed at time=0.827586206980926. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[13].valve_out.air.rho) was -11.6788 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -11.593 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -10.8212 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3312 failed at time=0.857142859478663. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[13].valve_out.air.rho) was -1.37565 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -1.35858 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -1.20492 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3312 failed at time=0.857142857610025. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[14].valve_out.air.rho) was -23.1572 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -22.9949 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -21.5344 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3271 failed at time=0.860869567781649. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[14].valve_out.air.rho) was -3.66845 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -3.63609 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -3.34486 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3271 failed at time=0.860869565730248. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[14].valve_out.air.rho) was -1.72135 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.04837 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.607575 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.318852 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.129738 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00586882 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.716514 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.44335 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.264427 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.147233 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0704712 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0201919 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.421445 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.271651 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.173536 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.10927 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0671763 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0396049 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0215456 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00971672 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00196883 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.274252 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.178564 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.115888 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0748348 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0479452 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0303325 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0187962 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0112399 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00629057 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00304874 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000925338 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.133613 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0873562 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0570577 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0372122 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0242134 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0156992 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0101224 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00646956 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00407697 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00250982 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00148334 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000810993 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000370607 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -8.21538e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.070109 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0458846 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0300175 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0196247 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0128173 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0083585 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00543797 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00352503 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00227206 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00145136 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000913799 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000561698 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000331072 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000180012 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -8.10677e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.62592e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0363593 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0238063 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0155841 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0101986 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00667102 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00436048 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00284708 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0018558 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00120651 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000781231 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000502671 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000320214 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000200704 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000122426 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -7.11531e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -3.75696e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.55724e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.16426e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0208872 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0136782 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0089564 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00586359 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00383779 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0025109 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00164179 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00107252 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000699644 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000455412 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000295441 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00019066 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000122028 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -7.7074e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -4.76292e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -2.83429e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.57104e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -7.43611e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -2.01644e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00922269 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00604033 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00395589 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00259058 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0016963 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00111055 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00072688 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000475577 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000310974 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000203159 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00013254 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -8.62847e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -5.59874e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -3.61427e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -2.31444e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.46306e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -9.05399e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -5.40132e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -3.00883e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.44174e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -4.15302e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00402222 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00263447 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00172549 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0011301 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00074013 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000484696 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000317387 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0002078 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00013602 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -8.90047e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -5.82094e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -3.80385e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -2.48265e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.61727e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.05045e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -6.79175e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -4.35992e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -2.76708e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.72377e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.0404e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -5.92789e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -2.99606e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.07571e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.72134 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[4].valve_out.air.rho) was -1.52983 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.928658 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.534887 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.276967 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.10803 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.259113 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.168813 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.109667 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0709265 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0455514 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0289307 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0180441 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0109134 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00624283 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00318358 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00117977 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0774515 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0506849 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0331528 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0216693 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0141476 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0092209 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0059939 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00388022 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00249575 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00158893 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000994959 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000605909 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000351082 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000184169 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -7.4842e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.23254e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0463678 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0303559 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.019868 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0129985 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00849895 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00555174 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00362132 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0023569 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0015287 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000986234 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000630917 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000398184 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000245744 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000145895 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -8.04947e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.76573e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -9.5988e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0215208 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0140931 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00922794 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00604127 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.003954 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00258684 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00169135 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00110481 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00072062 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000468977 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000304151 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00019619 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000125476 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -7.91576e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -4.88193e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.89477e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.59318e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -7.40641e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.82226e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0100698 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0065951 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00431916 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00282841 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00185198 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00121241 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000793497 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000519107 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000339382 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000221662 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000144555 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -9.40506e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -6.097e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.93021e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.51097e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.58137e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -9.72475e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -5.73652e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.12422e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.41317e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.92432e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00512951 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00335967 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00220043 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00144113 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000943789 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000618029 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000404657 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000264898 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000173356 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000113396 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -7.41218e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -4.83974e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.15479e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.05115e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.32827e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -8.54778e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -5.44643e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.41504e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.08448e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.21297e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -6.42123e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.68221e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.33147e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.52983 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[16].valve_out.air.rho) was -15.9503 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -15.8361 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -14.8079 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3189 failed at time=0.942857144977625. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[16].valve_out.air.rho) was -2.22922 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -2.20646 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -2.00158 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3189 failed at time=0.942857143281247. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[20].valve_out.air.rho) was -54.5024 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[20].valve_out.air.rho) was -54.5024 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[20].valve_out.air.rho) was -54.5024 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3029 failed at time=1.41428571578379. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[20].valve_out.air.rho) was -9.94032 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[20].valve_out.air.rho) was -9.94032 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[20].valve_out.air.rho) was -9.94032 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3029 failed at time=1.41428571458533. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[20].valve_out.air.rho) was -1.02791 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[20].valve_out.air.rho) was -1.02791 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[20].valve_out.air.rho) was -1.02791 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3029 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 "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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 "/usr/local/lib/python3.10/dist-packages/fmpy/__main__.py", line 4, in main() File "/usr/local/lib/python3.10/dist-packages/fmpy/command_line.py", line 167, in main result = simulate_fmu(args.fmu_filename, File "/usr/local/lib/python3.10/dist-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 "/usr/local/lib/python3.10/dist-packages/fmpy/simulation.py", line 1059, in simulateME state_event, roots_found, time = solver.step(time, t_next) File "/usr/local/lib/python3.10/dist-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.50247, mxstep steps taken before reaching tout.