Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.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.0007808/0.0007808, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007862/0.0007862, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.924/0.924, allocations: 177.2 MB / 202.8 MB, free: 5.598 MB / 186.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.372/1.372, allocations: 273.5 MB / 0.5202 GB, free: 14.96 MB / 458.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.PKPG_1C_GentamicineEquation,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PKPG_1C_GentamicineEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PKPG_1C_GentamicineEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.7553 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.538e-06/1.076e-05, allocations: 2.281 kB / 0.7553 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.0023/0.002311, allocations: 1.489 MB / 0.7568 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0003994/0.00271, allocations: 322.2 kB / 0.7571 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.002734, allocations: 0 / 0.7571 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.002893, allocations: 49.08 kB / 0.7571 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.393e-05/0.002937, allocations: 21.27 kB / 0.7571 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.003124, allocations: 102.3 kB / 0.7572 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.457e-05/0.003189, allocations: 54.84 kB / 0.7573 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 2.641e-05/0.003215, allocations: 11.98 kB / 0.7573 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.003248, allocations: 22.59 kB / 0.7573 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.003305, allocations: 18.94 kB / 0.7573 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.003314, allocations: 0 / 0.7573 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.003475, allocations: 153.2 kB / 0.7575 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.003508, allocations: 19.92 kB / 0.7575 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.003529, allocations: 14.73 kB / 0.7575 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.00371, allocations: 188.2 kB / 0.7577 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003711, allocations: 0 / 0.7577 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003712, allocations: 0 / 0.7577 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.003715, allocations: 0 / 0.7577 GB, free: 8.535 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002888/0.004004, allocations: 301.9 kB / 0.758 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.573e-05/0.00403, allocations: 8.031 kB / 0.758 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.319e-05/0.004053, allocations: 38.75 kB / 0.758 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.004124, allocations: 16.88 kB / 0.758 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.113e-05/0.004185, allocations: 125.6 kB / 0.7582 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.004194, allocations: 4.375 kB / 0.7582 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.004205, allocations: 12.3 kB / 0.7582 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.004322, allocations: 119.8 kB / 0.7583 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.004327, allocations: 192 / 0.7583 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.004333, allocations: 384 / 0.7583 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.004337, allocations: 8.125 kB / 0.7583 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.00442, allocations: 103.8 kB / 0.7584 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.004778, allocations: 396.2 kB / 0.7588 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.004894, allocations: 82.67 kB / 0.7589 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.004933, allocations: 56.73 kB / 0.7589 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.004942, allocations: 11.88 kB / 0.7589 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.004956, allocations: 30.56 kB / 0.759 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.004957, allocations: 0 / 0.759 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001758/0.005133, allocations: 173.4 kB / 0.7591 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.005152, allocations: 51.41 kB / 0.7592 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.005264, allocations: 208.7 kB / 0.7594 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.005274, allocations: 33.7 kB / 0.7594 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.00531, allocations: 100.1 kB / 0.7595 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.005331, allocations: 19.8 kB / 0.7595 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.00536, allocations: 29.7 kB / 0.7595 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.005429, allocations: 314.8 kB / 0.7598 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/0.005474, allocations: 67.88 kB / 0.7599 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.168e-05/0.005525, allocations: 85.61 kB / 0.76 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.005725, allocations: 205.9 kB / 0.7602 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.005727, allocations: 0 / 0.7602 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001389/0.005866, allocations: 193.5 kB / 0.7604 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.005874, allocations: 4 kB / 0.7604 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.005877, allocations: 4 kB / 0.7604 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.005884, allocations: 4.031 kB / 0.7604 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.063e-05/0.005915, allocations: 8 kB / 0.7604 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.005918, allocations: 3.984 kB / 0.7604 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.005936, allocations: 4 kB / 0.7604 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.005963, allocations: 19.97 kB / 0.7604 GB, free: 5.539 MB / 0.6355 GB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) 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: 1 (clMod.dbgStatus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001468/0.00611, allocations: 129.8 kB / 0.7605 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.006133, allocations: 15.84 kB / 0.7606 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.006151, allocations: 12.47 kB / 0.7606 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.006152, allocations: 7.938 kB / 0.7606 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.006154, allocations: 0 / 0.7606 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.006156, allocations: 0 / 0.7606 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.006269, allocations: 156.8 kB / 0.7607 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00627, allocations: 0 / 0.7607 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.006306, allocations: 19.92 kB / 0.7607 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.006308, allocations: 0 / 0.7607 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.006314, allocations: 4 kB / 0.7607 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.006315, allocations: 0 / 0.7607 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.006315, allocations: 3.938 kB / 0.7608 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.006502, allocations: 291.3 kB / 0.761 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.006514, allocations: 23.92 kB / 0.7611 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.006524, allocations: 0 / 0.7611 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.006563, allocations: 0 / 0.7611 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.006576, allocations: 7.984 kB / 0.7611 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.006592, allocations: 19.97 kB / 0.7611 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.541e-05/0.006667, allocations: 159.2 kB / 0.7612 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.006667, allocations: 0 / 0.7612 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001719/0.006839, allocations: 24 kB / 0.7613 GB, free: 4.609 MB / 0.6355 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 (5): * Single equations (assignments): 5 * 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.00044/0.007279, allocations: 0.8841 MB / 0.7621 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.007393, allocations: 112 kB / 0.7622 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.11e-07/0.007394, allocations: 4 kB / 0.7622 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.407e-05/0.007428, allocations: 51.91 kB / 0.7623 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.007589, allocations: 9.875 kB / 0.7623 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.008964, allocations: 1.914 MB / 0.7642 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.009018, allocations: 87.31 kB / 0.7642 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.134e-05/0.009069, allocations: 57.91 kB / 0.7643 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.009098, allocations: 28.48 kB / 0.7643 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.009098, allocations: 0 / 0.7643 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07196/0.08106, allocations: 3.326 MB / 0.7676 GB, free: 14.22 MB / 0.6512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/7.624, allocations: 16.06 kB / 0.7676 GB, free: 14.21 MB / 0.6512 GB " [Timeout remaining time 652] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Pharmacolibrary_Pharmacolibrary_Examples_PKPG_1C_GentamicineEquation_fmu --startTime=0 --stopTime=86400 --stepSize=173.146 --timeout=50 --tolerance=1e-06 ../Pharmacolibrary_Pharmacolibrary_Examples_PKPG_1C_GentamicineEquation.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe 2>&1) [Timeout 52.5] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_fmpy.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_fmpy.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_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_PKPG_1C_GentamicineEquation.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.560405514203012]