Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.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.0009484/0.0009484, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.00145/0.00145, allocations: 212.7 kB / 22.25 MB, free: 3.57 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.9719/0.9719, allocations: 230.6 MB / 256 MB, free: 9.621 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.388/1.388, allocations: 334.2 MB / 0.6315 GB, free: 7.941 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_GentamicinEquations,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicinEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Pharmacolibrary.Examples.PK_1C_GentamicinEquations,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicinEquations",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.0009708/0.0009708, allocations: 65 kB / 0.8666 GB, free: 7.766 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1637, allocations: 112.8 MB / 0.9767 GB, free: 6.676 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.001626/0.1653, allocations: 1.282 MB / 0.978 GB, free: 5.387 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0002238/0.1655, allocations: 99.67 kB / 0.9781 GB, free: 5.289 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.1655, allocations: 0 / 0.9781 GB, free: 5.289 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.1656, allocations: 0 / 0.9781 GB, free: 5.289 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 5.185e-05/0.1656, allocations: 11.91 kB / 0.9781 GB, free: 5.277 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.1658, allocations: 8 kB / 0.9781 GB, free: 5.27 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 4.962e-05/0.1658, allocations: 23.86 kB / 0.9781 GB, free: 5.246 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.1658, allocations: 4 kB / 0.9781 GB, free: 5.242 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.1659, allocations: 4 kB / 0.9781 GB, free: 5.238 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.166, allocations: 15.91 kB / 0.9781 GB, free: 5.223 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.166, allocations: 0 / 0.9781 GB, free: 5.223 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 6.583e-06/0.166, allocations: 4 kB / 0.9781 GB, free: 5.219 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.166, allocations: 4 kB / 0.9781 GB, free: 5.215 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.166, allocations: 4 kB / 0.9781 GB, free: 5.211 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 5.453e-05/0.1661, allocations: 11.94 kB / 0.9782 GB, free: 5.199 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1661, allocations: 0 / 0.9782 GB, free: 5.199 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1661, allocations: 0 / 0.9782 GB, free: 5.199 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.1661, allocations: 0 / 0.9782 GB, free: 5.199 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002666/0.1664, allocations: 244.8 kB / 0.9784 GB, free: 4.93 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1664, allocations: 14.11 kB / 0.9784 GB, free: 4.918 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.1664, allocations: 38.73 kB / 0.9784 GB, free: 4.871 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.859e-05/0.1664, allocations: 8.891 kB / 0.9785 GB, free: 4.863 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.834e-05/0.1665, allocations: 106.5 kB / 0.9786 GB, free: 4.734 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1665, allocations: 8.312 kB / 0.9786 GB, free: 4.727 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.1665, allocations: 384 / 0.9786 GB, free: 4.727 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.98e-05/0.1666, allocations: 47.97 kB / 0.9786 GB, free: 4.668 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1666, allocations: 7.938 kB / 0.9786 GB, free: 4.66 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.1666, allocations: 0 / 0.9786 GB, free: 4.66 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1666, allocations: 3.938 kB / 0.9786 GB, free: 4.656 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.1667, allocations: 7.938 kB / 0.9786 GB, free: 4.648 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.1669, allocations: 213 kB / 0.9788 GB, free: 4.395 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 5.617e-05/0.1669, allocations: 34.52 kB / 0.9789 GB, free: 4.352 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.297e-05/0.1669, allocations: 4.859 kB / 0.9789 GB, free: 4.344 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 6.603e-06/0.1669, allocations: 4.062 kB / 0.9789 GB, free: 4.34 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.167, allocations: 30.56 kB / 0.9789 GB, free: 4.301 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.167, allocations: 0 / 0.9789 GB, free: 4.301 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2): time 0.0001049/0.1671, allocations: 45.62 kB / 0.9789 GB, free: 4.25 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.1671, allocations: 55.41 kB / 0.979 GB, free: 4.184 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.1671, allocations: 101.8 kB / 0.9791 GB, free: 4.074 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1672, allocations: 29.7 kB / 0.9791 GB, free: 4.039 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.1672, allocations: 84.09 kB / 0.9792 GB, free: 3.953 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.1672, allocations: 12.08 kB / 0.9792 GB, free: 3.941 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.1672, allocations: 13.72 kB / 0.9792 GB, free: 3.922 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.1673, allocations: 314.8 kB / 0.9795 GB, free: 3.605 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.1673, allocations: 7.922 kB / 0.9795 GB, free: 3.598 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.1673, allocations: 17.72 kB / 0.9796 GB, free: 3.574 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1674, allocations: 37.64 kB / 0.9796 GB, free: 3.531 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1674, allocations: 3.938 kB / 0.9796 GB, free: 3.527 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.093e-05/0.1675, allocations: 45.64 kB / 0.9796 GB, free: 3.477 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1675, allocations: 16.02 kB / 0.9796 GB, free: 3.461 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1675, allocations: 0 / 0.9796 GB, free: 3.461 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1675, allocations: 0 / 0.9796 GB, free: 3.461 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.951e-05/0.1676, allocations: 4 kB / 0.9797 GB, free: 3.457 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1676, allocations: 4 kB / 0.9797 GB, free: 3.453 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.1676, allocations: 4 kB / 0.9797 GB, free: 3.449 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.1676, allocations: 4 kB / 0.9797 GB, free: 3.445 MB / 0.6824 GB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) \"Mass of drug [kg]\" 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 (4): * Single equations (assignments): 4 * 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.00011/0.1677, allocations: 117.7 kB / 0.9798 GB, free: 3.32 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-06/0.1677, allocations: 0 / 0.9798 GB, free: 3.32 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.1677, allocations: 19.25 kB / 0.9798 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.81e-07/0.1677, allocations: 0 / 0.9798 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1677, allocations: 0 / 0.9798 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1677, allocations: 0 / 0.9798 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.271e-05/0.1678, allocations: 128.7 kB / 0.9799 GB, free: 3.133 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.1678, allocations: 0 / 0.9799 GB, free: 3.133 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.1678, allocations: 7.984 kB / 0.9799 GB, free: 3.125 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1678, allocations: 0 / 0.9799 GB, free: 3.125 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.1678, allocations: 0 / 0.9799 GB, free: 3.125 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.1678, allocations: 0 / 0.9799 GB, free: 3.125 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1678, allocations: 3.938 kB / 0.9799 GB, free: 3.121 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.43e-05/0.1679, allocations: 85 kB / 0.98 GB, free: 3.02 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.1679, allocations: 3.938 kB / 0.98 GB, free: 3.016 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.1679, allocations: 0 / 0.98 GB, free: 3.016 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-06/0.1679, allocations: 0 / 0.98 GB, free: 3.016 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.1679, allocations: 4.031 kB / 0.98 GB, free: 3.012 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.1679, allocations: 0 / 0.98 GB, free: 3.012 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 2.465e-05/0.168, allocations: 83.27 kB / 0.9801 GB, free: 2.93 MB / 0.6824 GB Notification: Performance of sort global known variables: time 8e-08/0.168, allocations: 0 / 0.9801 GB, free: 2.93 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001327/0.1681, allocations: 8 kB / 0.9801 GB, free: 2.922 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (M) * 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 (2): * Single equations (assignments): 2 * 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.0002171/0.1683, allocations: 0.6113 MB / 0.9807 GB, free: 2.281 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 6.577e-05/0.1684, allocations: 12 kB / 0.9807 GB, free: 2.27 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1684, allocations: 3.938 kB / 0.9807 GB, free: 2.266 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-06/0.1684, allocations: 7.938 kB / 0.9807 GB, free: 2.258 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.1685, allocations: 14 kB / 0.9807 GB, free: 2.246 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.1692, allocations: 1.182 MB / 0.9819 GB, free: 0.9766 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.066e-05/0.1693, allocations: 59.36 kB / 0.9819 GB, free: 0.8984 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 1.586e-05/0.1693, allocations: 144 / 0.9819 GB, free: 0.8984 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.1693, allocations: 11.42 kB / 0.982 GB, free: 0.8867 MB / 0.6824 GB Notification: Performance of SimCode: time 3.61e-07/0.1693, allocations: 0 / 0.982 GB, free: 0.8867 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07262/0.2419, allocations: 1.742 MB / 0.9837 GB, free: 15.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.716/6.958, allocations: 13.77 kB / 0.9837 GB, free: 15.26 MB / 0.698 GB " [Timeout remaining time 653] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicinEquations_fmu --startTime=0 --stopTime=86400 --stepSize=173.146 --timeout=50 --tolerance=1e-06 ../Pharmacolibrary_Pharmacolibrary_Examples_PK_1C_GentamicinEquations.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe 2>&1) [Timeout 52.5] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_fmpy.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_fmpy.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_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_GentamicinEquations.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.357189701870084]