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.001502/0.001502, allocations: 88.23 kB / 19.42 MB, free: 492 kB / 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.001752/0.001752, allocations: 169 kB / 22.72 MB, free: 1.824 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.9446/0.9446, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.605/1.605, allocations: 273.5 MB / 0.5205 GB, free: 14.85 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: translateModel(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") translateModel(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6462 GB, free: 38.85 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.364e-05, allocations: 6.438 kB / 0.6462 GB, free: 38.84 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.001534/0.001548, allocations: 1.541 MB / 0.6477 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0003979/0.001946, allocations: 326.4 kB / 0.648 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.001975, allocations: 2.062 kB / 0.648 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.002157, allocations: 46.09 kB / 0.6481 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.002205, allocations: 22.02 kB / 0.6481 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.002403, allocations: 102.5 kB / 0.6482 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.167e-05/0.002464, allocations: 55.69 kB / 0.6483 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.779e-05/0.002492, allocations: 9.562 kB / 0.6483 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.676e-05/0.002539, allocations: 26.67 kB / 0.6483 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.00261, allocations: 16.84 kB / 0.6483 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.002627, allocations: 3.094 kB / 0.6483 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.002785, allocations: 145.2 kB / 0.6484 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.002823, allocations: 15.95 kB / 0.6485 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.002852, allocations: 19.31 kB / 0.6485 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.003023, allocations: 175.8 kB / 0.6486 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003025, allocations: 0 / 0.6486 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003026, allocations: 0 / 0.6486 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003029, allocations: 0 / 0.6486 GB, free: 37.45 MB / 0.5262 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.0002447/0.003274, allocations: 417.1 kB / 0.649 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.003301, allocations: 7.312 kB / 0.6491 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.003404, allocations: 27.36 kB / 0.6491 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.131e-05/0.003456, allocations: 127.5 kB / 0.6492 GB, free: 36.9 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.003465, allocations: 6.531 kB / 0.6492 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.003482, allocations: 7.656 kB / 0.6492 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.335e-05/0.003576, allocations: 87.16 kB / 0.6493 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-06/0.003581, allocations: 192 / 0.6493 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.003589, allocations: 3.781 kB / 0.6493 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.003594, allocations: 384 / 0.6493 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.967e-05/0.003634, allocations: 27.84 kB / 0.6493 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.003924, allocations: 462.8 kB / 0.6498 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.004038, allocations: 62 kB / 0.6498 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.004064, allocations: 27.28 kB / 0.6499 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.00407, allocations: 2.281 kB / 0.6499 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.004082, allocations: 34.7 kB / 0.6499 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.004083, allocations: 3.938 kB / 0.6499 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5): time 0.0001617/0.004245, allocations: 113.3 kB / 0.65 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/0.004263, allocations: 51.41 kB / 0.65 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.453e-05/0.004357, allocations: 225.5 kB / 0.6503 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-06/0.004363, allocations: 25.7 kB / 0.6503 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.0044, allocations: 151.6 kB / 0.6504 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.004414, allocations: 13.55 kB / 0.6504 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.004456, allocations: 28.61 kB / 0.6505 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.903e-05/0.004515, allocations: 0.4941 MB / 0.651 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.004539, allocations: 19.8 kB / 0.651 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.474e-05/0.004564, allocations: 36.06 kB / 0.651 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.256e-05/0.004636, allocations: 78.89 kB / 0.6511 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.004639, allocations: 7.562 kB / 0.6511 GB, free: 35.17 MB / 0.5262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.173e-05/0.004731, allocations: 101 kB / 0.6512 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.004741, allocations: 9.688 kB / 0.6512 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.004745, allocations: 3.656 kB / 0.6512 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.004754, allocations: 0 / 0.6512 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.546e-05/0.004789, allocations: 13.31 kB / 0.6512 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.004793, allocations: 0 / 0.6512 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.00481, allocations: 2.969 kB / 0.6512 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.004842, allocations: 22.69 kB / 0.6512 GB, free: 35.11 MB / 0.5262 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 6.504e-05/0.004907, allocations: 169.1 kB / 0.6514 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.004938, allocations: 24.69 kB / 0.6514 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.004956, allocations: 17.97 kB / 0.6514 GB, free: 34.91 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.004958, allocations: 1.562 kB / 0.6514 GB, free: 34.91 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.004961, allocations: 0 / 0.6514 GB, free: 34.91 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.004963, allocations: 0 / 0.6514 GB, free: 34.91 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.172e-05/0.005055, allocations: 151 kB / 0.6516 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005056, allocations: 1.188 kB / 0.6516 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.005089, allocations: 7.344 kB / 0.6516 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.005091, allocations: 1.906 kB / 0.6516 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.005099, allocations: 4.438 kB / 0.6516 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.0051, allocations: 3.938 kB / 0.6516 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.005102, allocations: 5.562 kB / 0.6516 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.005245, allocations: 271.7 kB / 0.6519 GB, free: 34.54 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.005253, allocations: 11.48 kB / 0.6519 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.005262, allocations: 0 / 0.6519 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.769e-05/0.00529, allocations: 5.031 kB / 0.6519 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.005306, allocations: 5.516 kB / 0.6519 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.005321, allocations: 18.72 kB / 0.6519 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.005374, allocations: 163 kB / 0.6521 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.005374, allocations: 0 / 0.6521 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001613/0.005535, allocations: 28.91 kB / 0.6521 GB, free: 34.39 MB / 0.5262 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.0001451/0.00568, allocations: 143.1 kB / 0.6522 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.491e-05/0.005765, allocations: 61.02 kB / 0.6523 GB, free: 34.27 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.005766, allocations: 0 / 0.6523 GB, free: 34.27 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.005789, allocations: 30 kB / 0.6523 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.00596, allocations: 11.91 kB / 0.6523 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.006602, allocations: 275.3 kB / 0.6526 GB, free: 34.06 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.006633, allocations: 70.02 kB / 0.6527 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 5.745e-05/0.006691, allocations: 63.59 kB / 0.6527 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.006709, allocations: 11.25 kB / 0.6527 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of SimCode: time 4.71e-07/0.00671, allocations: 1.969 kB / 0.6527 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of Templates: time 0.002641/0.00935, allocations: 1.239 MB / 0.6539 GB, free: 33.85 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.makefile [Timeout 660] (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 & ./Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_cvode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_cvode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_cvode.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS -s cvode > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_cvode.pipe 2>&1) [Timeout 240] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_gbode.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_gbode.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_gbode.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS -s gbode -gbm=radauIIA3 > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_gbode.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.664017198141664]