Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009194/0.0009194, allocations: 214.6 kB / 22.25 MB, free: 3.574 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9423/0.9423, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.424/1.424, allocations: 334.3 MB / 0.6315 GB, free: 7.914 MB / 442.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicinEquations2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicinEquations2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 71.89 kB / 0.8666 GB, free: 7.691 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1757, allocations: 112.8 MB / 0.9767 GB, free: 6.609 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.00209/0.1778, allocations: 1.268 MB / 0.978 GB, free: 5.332 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0002981/0.1781, allocations: 87.78 kB / 0.978 GB, free: 5.246 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.1782, allocations: 4 kB / 0.9781 GB, free: 5.242 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.1782, allocations: 0 / 0.9781 GB, free: 5.242 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.1782, allocations: 7.938 kB / 0.9781 GB, free: 5.234 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.1784, allocations: 11.98 kB / 0.9781 GB, free: 5.223 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 5.762e-05/0.1785, allocations: 15.92 kB / 0.9781 GB, free: 5.207 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.1785, allocations: 3.938 kB / 0.9781 GB, free: 5.203 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.1786, allocations: 7.984 kB / 0.9781 GB, free: 5.195 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1787, allocations: 11.94 kB / 0.9781 GB, free: 5.184 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1787, allocations: 0 / 0.9781 GB, free: 5.184 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.1787, allocations: 0 / 0.9781 GB, free: 5.184 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.1787, allocations: 8 kB / 0.9781 GB, free: 5.176 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.1787, allocations: 4 kB / 0.9781 GB, free: 5.172 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 7.063e-05/0.1788, allocations: 15.91 kB / 0.9781 GB, free: 5.156 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1788, allocations: 0 / 0.9781 GB, free: 5.156 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1788, allocations: 0 / 0.9781 GB, free: 5.156 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.1788, allocations: 0 / 0.9781 GB, free: 5.156 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003188/0.1791, allocations: 242.4 kB / 0.9784 GB, free: 4.887 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1792, allocations: 10.11 kB / 0.9784 GB, free: 4.879 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.1792, allocations: 34.75 kB / 0.9784 GB, free: 4.836 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.1792, allocations: 4.938 kB / 0.9784 GB, free: 4.832 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.1793, allocations: 110.5 kB / 0.9785 GB, free: 4.699 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1793, allocations: 384 / 0.9785 GB, free: 4.699 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.1794, allocations: 4.375 kB / 0.9785 GB, free: 4.695 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.501e-05/0.1795, allocations: 51.91 kB / 0.9786 GB, free: 4.633 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1795, allocations: 3.938 kB / 0.9786 GB, free: 4.629 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1795, allocations: 4 kB / 0.9786 GB, free: 4.625 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1795, allocations: 0 / 0.9786 GB, free: 4.625 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.881e-05/0.1795, allocations: 7.938 kB / 0.9786 GB, free: 4.617 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.18, allocations: 236.9 kB / 0.9788 GB, free: 4.34 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 4.402e-05/0.18, allocations: 30.52 kB / 0.9788 GB, free: 4.301 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.18, allocations: 8.844 kB / 0.9789 GB, free: 4.289 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.1801, allocations: 64 / 0.9789 GB, free: 4.289 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.1801, allocations: 38.56 kB / 0.9789 GB, free: 4.242 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1801, allocations: 0 / 0.9789 GB, free: 4.242 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.1802, allocations: 29.7 kB / 0.9789 GB, free: 4.207 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1802, allocations: 59.34 kB / 0.979 GB, free: 4.137 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.1803, allocations: 101.8 kB / 0.9791 GB, free: 4.027 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1803, allocations: 25.7 kB / 0.9791 GB, free: 3.996 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.1804, allocations: 84.09 kB / 0.9792 GB, free: 3.91 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 7.835e-06/0.1804, allocations: 4.125 kB / 0.9792 GB, free: 3.906 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.1804, allocations: 17.72 kB / 0.9792 GB, free: 3.883 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.1805, allocations: 314.8 kB / 0.9795 GB, free: 3.566 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.1805, allocations: 4 kB / 0.9795 GB, free: 3.562 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.1805, allocations: 17.66 kB / 0.9795 GB, free: 3.539 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1806, allocations: 29.7 kB / 0.9795 GB, free: 3.504 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1806, allocations: 3.938 kB / 0.9795 GB, free: 3.5 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.044e-05/0.1807, allocations: 53.62 kB / 0.9796 GB, free: 3.441 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1807, allocations: 6.031 kB / 0.9796 GB, free: 3.438 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1807, allocations: 0 / 0.9796 GB, free: 3.438 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1807, allocations: 0 / 0.9796 GB, free: 3.438 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.177e-05/0.1808, allocations: 4 kB / 0.9796 GB, free: 3.434 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1808, allocations: 4 kB / 0.9796 GB, free: 3.43 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.1808, allocations: 7.922 kB / 0.9796 GB, free: 3.422 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1808, allocations: 0 / 0.9796 GB, free: 3.422 MB / 0.6824 GB Warning: Assuming fixed start value for the following 1 variables: C:VARIABLE(min = -1e-9 start = 0.022857142857142857 unit = \"kg/m3\" fixed = true ) \"Concentration of drug\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.1809, allocations: 128.4 kB / 0.9797 GB, free: 3.289 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-06/0.181, allocations: 0 / 0.9797 GB, free: 3.289 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.181, allocations: 7.109 kB / 0.9798 GB, free: 3.281 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.181, allocations: 4 kB / 0.9798 GB, free: 3.277 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.181, allocations: 0 / 0.9798 GB, free: 3.277 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.181, allocations: 0 / 0.9798 GB, free: 3.277 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.1812, allocations: 160.7 kB / 0.9799 GB, free: 3.078 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1812, allocations: 0 / 0.9799 GB, free: 3.078 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/0.1812, allocations: 0 / 0.9799 GB, free: 3.078 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1812, allocations: 0 / 0.9799 GB, free: 3.078 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1812, allocations: 8 kB / 0.9799 GB, free: 3.07 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1812, allocations: 0 / 0.9799 GB, free: 3.07 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1812, allocations: 0 / 0.9799 GB, free: 3.07 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.967e-05/0.1813, allocations: 65.06 kB / 0.98 GB, free: 2.988 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.1813, allocations: 7.969 kB / 0.98 GB, free: 2.98 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1813, allocations: 3.938 kB / 0.98 GB, free: 2.977 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.264e-05/0.1814, allocations: 4 kB / 0.98 GB, free: 2.973 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.1814, allocations: 0 / 0.98 GB, free: 2.973 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.1814, allocations: 0 / 0.98 GB, free: 2.973 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 3.026e-05/0.1814, allocations: 79.28 kB / 0.9801 GB, free: 2.895 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6e-08/0.1814, allocations: 96 / 0.9801 GB, free: 2.895 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.000192/0.1816, allocations: 8 kB / 0.9801 GB, free: 2.887 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002776/0.1819, allocations: 0.603 MB / 0.9807 GB, free: 2.254 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 7.879e-05/0.182, allocations: 15.92 kB / 0.9807 GB, free: 2.238 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.182, allocations: 0 / 0.9807 GB, free: 2.238 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-06/0.182, allocations: 7.938 kB / 0.9807 GB, free: 2.23 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.1821, allocations: 384 / 0.9807 GB, free: 2.23 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1833, allocations: 1.166 MB / 0.9818 GB, free: 0.9766 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.1833, allocations: 63.34 kB / 0.9819 GB, free: 0.8945 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.1833, allocations: 4.031 kB / 0.9819 GB, free: 0.8906 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.1834, allocations: 7.438 kB / 0.9819 GB, free: 0.8828 MB / 0.6824 GB Notification: Performance of SimCode: time 5.41e-07/0.1834, allocations: 0 / 0.9819 GB, free: 0.8828 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/0.2949, allocations: 1.644 MB / 0.9835 GB, free: 15.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.625, allocations: 13.81 kB / 0.9835 GB, free: 15.35 MB / 0.698 GB " [Timeout remaining time 652] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicinEquations2_fmu --startTime=0 --stopTime=86400 --stepSize=173.146 --timeout=50 --tolerance=1e-06 ../Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicinEquations2.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe 2>&1) [Timeout 52.5] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_fmpy.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_fmpy.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 173.146 ../Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicinEquations2.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.063271320424974]