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.001029/0.001029, allocations: 93.06 kB / 19.65 MB, free: 272 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.001004/0.001004, allocations: 169 kB / 23.02 MB, free: 1.547 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.9597/0.9597, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.67/1.67, allocations: 273.5 MB / 0.5209 GB, free: 14.9 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.182e-06/1.182e-06, allocations: 0 / 0.6469 GB, free: 38.57 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.502e-05, allocations: 2.312 kB / 0.6469 GB, free: 38.57 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.001543/0.001558, allocations: 1.547 MB / 0.6485 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0004509/0.002008, allocations: 330.8 kB / 0.6488 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.00204, allocations: 2.562 kB / 0.6488 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.002281, allocations: 49.73 kB / 0.6488 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.564e-05/0.002337, allocations: 17.47 kB / 0.6488 GB, free: 37.34 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.002554, allocations: 102.2 kB / 0.6489 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 7.063e-05/0.002625, allocations: 57.56 kB / 0.649 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.002656, allocations: 3.906 kB / 0.649 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.002699, allocations: 26.02 kB / 0.649 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/0.002775, allocations: 29.52 kB / 0.649 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.002789, allocations: 1.5 kB / 0.649 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.002935, allocations: 135.8 kB / 0.6492 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.002977, allocations: 22.67 kB / 0.6492 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.003004, allocations: 17.52 kB / 0.6492 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.003198, allocations: 165.3 kB / 0.6494 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.0032, allocations: 0 / 0.6494 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003201, allocations: 1.094 kB / 0.6494 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003204, allocations: 0 / 0.6494 GB, free: 37.18 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.0002996/0.003504, allocations: 417.4 kB / 0.6498 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.003536, allocations: 9.75 kB / 0.6498 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.003658, allocations: 37.97 kB / 0.6498 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.443e-05/0.003723, allocations: 124.5 kB / 0.6499 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.003735, allocations: 384 / 0.6499 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.003756, allocations: 3.812 kB / 0.6499 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.003864, allocations: 96.3 kB / 0.65 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.003872, allocations: 3.516 kB / 0.65 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.003882, allocations: 6.375 kB / 0.65 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.003889, allocations: 1.812 kB / 0.65 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.108e-05/0.00393, allocations: 28.56 kB / 0.6501 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.004261, allocations: 449.9 kB / 0.6505 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.004393, allocations: 65.2 kB / 0.6506 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.004419, allocations: 29.08 kB / 0.6506 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.004426, allocations: 3.391 kB / 0.6506 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.004441, allocations: 34.58 kB / 0.6506 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.004441, allocations: 0 / 0.6506 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5): time 0.0001767/0.004618, allocations: 111.5 kB / 0.6507 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/0.004635, allocations: 56.78 kB / 0.6508 GB, free: 35.86 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.004729, allocations: 221.6 kB / 0.651 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.004736, allocations: 25.7 kB / 0.651 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.004774, allocations: 149.2 kB / 0.6512 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.00479, allocations: 18.8 kB / 0.6512 GB, free: 35.49 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.004818, allocations: 27.89 kB / 0.6512 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.004866, allocations: 0.4935 MB / 0.6517 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.004887, allocations: 21.89 kB / 0.6517 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.004913, allocations: 39.7 kB / 0.6518 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.004988, allocations: 76.14 kB / 0.6518 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.00499, allocations: 1.406 kB / 0.6518 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.956e-05/0.00509, allocations: 109.3 kB / 0.6519 GB, free: 34.83 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.005099, allocations: 6.438 kB / 0.6519 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005104, allocations: 3.781 kB / 0.6519 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.005119, allocations: 0 / 0.6519 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.933e-05/0.005158, allocations: 9.281 kB / 0.6519 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.005163, allocations: 0 / 0.6519 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.00518, allocations: 3.531 kB / 0.652 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.005216, allocations: 25.5 kB / 0.652 GB, free: 34.82 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 7.192e-05/0.005288, allocations: 166.8 kB / 0.6521 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.005317, allocations: 22.47 kB / 0.6522 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.00534, allocations: 15.88 kB / 0.6522 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.005341, allocations: 1.25 kB / 0.6522 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.005343, allocations: 0 / 0.6522 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.005348, allocations: 5.938 kB / 0.6522 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.213e-05/0.005441, allocations: 146.3 kB / 0.6523 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005442, allocations: 2.375 kB / 0.6523 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.005478, allocations: 9.172 kB / 0.6523 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.005481, allocations: 5.125 kB / 0.6523 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.005488, allocations: 5 kB / 0.6523 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005488, allocations: 3.938 kB / 0.6523 GB, free: 34.47 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.00549, allocations: 4.219 kB / 0.6523 GB, free: 34.47 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.005637, allocations: 267.4 kB / 0.6526 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.005645, allocations: 5.484 kB / 0.6526 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.005657, allocations: 5.812 kB / 0.6526 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.945e-05/0.005687, allocations: 5.031 kB / 0.6526 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.005701, allocations: 6.188 kB / 0.6526 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.005717, allocations: 26.45 kB / 0.6526 GB, free: 34.24 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.005762, allocations: 153.9 kB / 0.6528 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.005762, allocations: 2.219 kB / 0.6528 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001833/0.005945, allocations: 27.12 kB / 0.6528 GB, free: 34.11 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.0001609/0.006106, allocations: 152.9 kB / 0.653 GB, free: 34.01 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 9.388e-05/0.0062, allocations: 57.59 kB / 0.653 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.006201, allocations: 0 / 0.653 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.006224, allocations: 34.97 kB / 0.6531 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.006408, allocations: 11.59 kB / 0.6531 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/0.007098, allocations: 267.1 kB / 0.6533 GB, free: 33.78 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.642e-05/0.007125, allocations: 60.67 kB / 0.6534 GB, free: 33.71 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 5.551e-05/0.00718, allocations: 64.23 kB / 0.6534 GB, free: 33.71 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.007201, allocations: 14.88 kB / 0.6535 GB, free: 33.7 MB / 0.5262 GB Notification: Performance of SimCode: time 8.12e-07/0.007202, allocations: 1.031 kB / 0.6535 GB, free: 33.7 MB / 0.5262 GB Notification: Performance of Templates: time 0.00292/0.01012, allocations: 1.246 MB / 0.6547 GB, free: 33.56 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] [Calling sys.exit(0), Time elapsed: 4.883125354070216]