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.000948/0.000948, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009397/0.0009397, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9168/0.9168, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.529/1.529, allocations: 273.5 MB / 0.5213 GB, free: 14.88 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.373e-06/1.373e-06, allocations: 0 / 0.647 GB, free: 38.69 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.378e-05, allocations: 2.312 kB / 0.647 GB, free: 38.68 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.001439/0.001452, allocations: 1.547 MB / 0.6485 GB, free: 37.68 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0004103/0.001863, allocations: 331.2 kB / 0.6488 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.001898, allocations: 0 / 0.6488 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.002112, allocations: 44.41 kB / 0.6488 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/0.00217, allocations: 20.42 kB / 0.6489 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.002371, allocations: 102.2 kB / 0.649 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.002442, allocations: 58.62 kB / 0.649 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.002475, allocations: 11.88 kB / 0.649 GB, free: 37.4 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.002515, allocations: 21.5 kB / 0.649 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.002588, allocations: 18.09 kB / 0.6491 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.002602, allocations: 3.812 kB / 0.6491 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.002751, allocations: 143.7 kB / 0.6492 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.00279, allocations: 17.12 kB / 0.6492 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.002814, allocations: 14.78 kB / 0.6492 GB, free: 37.34 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.002997, allocations: 172.2 kB / 0.6494 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.002999, allocations: 0 / 0.6494 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.91e-07/0.003, allocations: 0 / 0.6494 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.003003, allocations: 1.5 kB / 0.6494 GB, free: 37.29 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.0002924/0.003296, allocations: 419.3 kB / 0.6498 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.003326, allocations: 8.125 kB / 0.6498 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.003445, allocations: 32.19 kB / 0.6498 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.472e-05/0.00351, allocations: 126.3 kB / 0.65 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.00352, allocations: 2.094 kB / 0.65 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.003535, allocations: 2.688 kB / 0.65 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.003641, allocations: 87.88 kB / 0.65 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.003647, allocations: 192 / 0.65 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.003656, allocations: 384 / 0.65 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.003664, allocations: 2.594 kB / 0.65 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.141e-05/0.003706, allocations: 35.27 kB / 0.6501 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.00403, allocations: 457.7 kB / 0.6505 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.004166, allocations: 66.45 kB / 0.6506 GB, free: 36.17 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.004194, allocations: 25.94 kB / 0.6506 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.0042, allocations: 1.906 kB / 0.6506 GB, free: 36.15 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.004214, allocations: 39.97 kB / 0.6506 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.004216, allocations: 0 / 0.6506 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5): time 0.0001699/0.004386, allocations: 106.1 kB / 0.6507 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.004404, allocations: 54.84 kB / 0.6508 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.004494, allocations: 224.8 kB / 0.651 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-06/0.004499, allocations: 25.7 kB / 0.651 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.004532, allocations: 151.9 kB / 0.6512 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.004546, allocations: 16.95 kB / 0.6512 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.004573, allocations: 33.95 kB / 0.6512 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.004614, allocations: 0.4916 MB / 0.6517 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.004636, allocations: 14.25 kB / 0.6517 GB, free: 35.08 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.00466, allocations: 35.83 kB / 0.6518 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.004733, allocations: 81.83 kB / 0.6518 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004734, allocations: 0 / 0.6518 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001194/0.004854, allocations: 104.6 kB / 0.6519 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.004866, allocations: 8.5 kB / 0.6519 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.00487, allocations: 2.531 kB / 0.6519 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.004884, allocations: 0 / 0.6519 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.00494, allocations: 18.11 kB / 0.652 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.004945, allocations: 5.25 kB / 0.652 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.004973, allocations: 3.812 kB / 0.652 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.005024, allocations: 21.72 kB / 0.652 GB, free: 34.94 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.377e-05/0.005098, allocations: 161.3 kB / 0.6521 GB, free: 34.78 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.00513, allocations: 23.75 kB / 0.6522 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.788e-05/0.005148, allocations: 15.81 kB / 0.6522 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.005149, allocations: 0 / 0.6522 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.005152, allocations: 0 / 0.6522 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.005154, allocations: 2.719 kB / 0.6522 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.342e-05/0.005248, allocations: 152.9 kB / 0.6523 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.005248, allocations: 0 / 0.6523 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.005286, allocations: 12.28 kB / 0.6523 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005288, allocations: 1.312 kB / 0.6523 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.005293, allocations: 2.188 kB / 0.6523 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.005294, allocations: 4.969 kB / 0.6524 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005294, allocations: 0 / 0.6524 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.00543, allocations: 272.4 kB / 0.6526 GB, free: 34.38 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.005437, allocations: 7.547 kB / 0.6526 GB, free: 34.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.005447, allocations: 0 / 0.6526 GB, free: 34.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.941e-05/0.005476, allocations: 7.344 kB / 0.6526 GB, free: 34.37 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.005489, allocations: 3.516 kB / 0.6526 GB, free: 34.37 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.005504, allocations: 22.59 kB / 0.6527 GB, free: 34.37 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.005546, allocations: 162.4 kB / 0.6528 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.005546, allocations: 0 / 0.6528 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001621/0.005708, allocations: 30.97 kB / 0.6528 GB, free: 34.24 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.0001402/0.005848, allocations: 150.8 kB / 0.653 GB, free: 34.13 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.881e-05/0.005937, allocations: 55.38 kB / 0.653 GB, free: 34.11 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.005938, allocations: 1.938 kB / 0.653 GB, free: 34.11 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.005961, allocations: 37.06 kB / 0.6531 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.006128, allocations: 7.375 kB / 0.6531 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.006724, allocations: 275.8 kB / 0.6533 GB, free: 33.9 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.394e-05/0.006748, allocations: 70.22 kB / 0.6534 GB, free: 33.82 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 4.646e-05/0.006795, allocations: 58.64 kB / 0.6535 GB, free: 33.82 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.006811, allocations: 13.22 kB / 0.6535 GB, free: 33.82 MB / 0.5262 GB Notification: Performance of SimCode: time 4.4e-07/0.006811, allocations: 0.6562 kB / 0.6535 GB, free: 33.82 MB / 0.5262 GB Notification: Performance of Templates: time 0.002331/0.009142, allocations: 1.234 MB / 0.6547 GB, free: 33.68 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.481550334952772]