Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.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.0007899/0.0007899, allocations: 91.55 kB / 20.19 MB, free: 4.348 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.0009066/0.0009066, allocations: 169 kB / 23.5 MB, free: 1.043 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.9732/0.9732, allocations: 177.1 MB / 203.8 MB, free: 5.23 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.62/1.62, allocations: 273.5 MB / 0.5213 GB, free: 14.87 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.PK_1C_GentamicinEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.647 GB, free: 38.91 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.476e-05, allocations: 3.781 kB / 0.647 GB, free: 38.91 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.001837/0.001852, allocations: 1.301 MB / 0.6482 GB, free: 38.05 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.002092, allocations: 93.23 kB / 0.6483 GB, free: 37.99 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.002118, allocations: 3.203 kB / 0.6483 GB, free: 37.99 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.834e-05/0.002137, allocations: 0 / 0.6483 GB, free: 37.99 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.002194, allocations: 2.438 kB / 0.6483 GB, free: 37.99 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.002356, allocations: 15.59 kB / 0.6483 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.96e-05/0.002416, allocations: 14.22 kB / 0.6484 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.002451, allocations: 1.094 kB / 0.6484 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.002487, allocations: 12.23 kB / 0.6484 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.002625, allocations: 9.234 kB / 0.6484 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.002639, allocations: 2.562 kB / 0.6484 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.002646, allocations: 0 / 0.6484 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.002655, allocations: 0.9062 kB / 0.6484 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.002678, allocations: 4.094 kB / 0.6484 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.921e-05/0.002738, allocations: 9.516 kB / 0.6484 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002739, allocations: 0 / 0.6484 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.002741, allocations: 3.75 kB / 0.6484 GB, free: 37.98 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.002745, allocations: 3.781 kB / 0.6484 GB, free: 37.98 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002506/0.002995, allocations: 344.1 kB / 0.6487 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.003034, allocations: 7.219 kB / 0.6487 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.003067, allocations: 7.875 kB / 0.6488 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.242e-05/0.00313, allocations: 105.8 kB / 0.6489 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.003141, allocations: 7.469 kB / 0.6489 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.003157, allocations: 384 / 0.6489 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.744e-05/0.003234, allocations: 54.67 kB / 0.6489 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.003241, allocations: 192 / 0.6489 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.003249, allocations: 1.562 kB / 0.6489 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.003256, allocations: 1.406 kB / 0.6489 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.003274, allocations: 6.562 kB / 0.6489 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.003692, allocations: 286.5 kB / 0.6492 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.086e-05/0.003733, allocations: 28.88 kB / 0.6492 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.003749, allocations: 10.16 kB / 0.6492 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/0.003754, allocations: 0 / 0.6492 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.003772, allocations: 34.7 kB / 0.6493 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.003773, allocations: 2.438 kB / 0.6493 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.003893, allocations: 43.48 kB / 0.6493 GB, free: 37 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.003911, allocations: 53.34 kB / 0.6494 GB, free: 36.94 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.439e-05/0.003976, allocations: 162 kB / 0.6495 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.433e-06/0.003982, allocations: 27.17 kB / 0.6495 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.004015, allocations: 132.4 kB / 0.6497 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/0.004025, allocations: 4.984 kB / 0.6497 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.004056, allocations: 21.55 kB / 0.6497 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.004111, allocations: 497.6 kB / 0.6502 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.004124, allocations: 3.312 kB / 0.6502 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.004142, allocations: 19.53 kB / 0.6502 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.00419, allocations: 34.58 kB / 0.6502 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.004192, allocations: 1.312 kB / 0.6502 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.141e-05/0.004264, allocations: 42.64 kB / 0.6503 GB, free: 36 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.004281, allocations: 8.594 kB / 0.6503 GB, free: 36 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004285, allocations: 0 / 0.6503 GB, free: 36 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.004299, allocations: 3.938 kB / 0.6503 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.205e-05/0.004341, allocations: 8.75 kB / 0.6503 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.004351, allocations: 2.812 kB / 0.6503 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.004376, allocations: 7.953 kB / 0.6503 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.004382, allocations: 2.906 kB / 0.6503 GB, free: 35.98 MB / 0.5262 GB Warning: Assuming fixed start value for the following 1 variables: C:VARIABLE(min = -1e-9 start = 0.022857142857142857 unit = \"kg/m3\" fixed = true ) \"Concentration of drug\" 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 (3): * Single equations (assignments): 3 * 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 9.439e-05/0.004477, allocations: 156.4 kB / 0.6504 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.004486, allocations: 3.312 kB / 0.6504 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.004507, allocations: 10.38 kB / 0.6505 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.00451, allocations: 6.969 kB / 0.6505 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.004511, allocations: 0 / 0.6505 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.00452, allocations: 1.969 kB / 0.6505 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.004536, allocations: 0.7188 kB / 0.6505 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.004555, allocations: 1.875 kB / 0.6505 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.004568, allocations: 0 / 0.6505 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001137/0.004682, allocations: 166.3 kB / 0.6506 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001089/0.004791, allocations: 308.9 kB / 0.6509 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.988e-05/0.004811, allocations: 11.02 kB / 0.6509 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.01e-05/0.004831, allocations: 127.5 kB / 0.6511 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of Backend: time 3.1e-07/0.004831, allocations: 0 / 0.6511 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003036/0.005135, allocations: 95.16 kB / 0.6511 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of SimCode: time 0.0007893/0.005924, allocations: 0.842 MB / 0.652 GB, free: 34.31 MB / 0.5262 GB Notification: Performance of Templates: time 0.002075/0.007999, allocations: 334.5 kB / 0.6523 GB, free: 34.26 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.63101246021688]