Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.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.00151/0.00151, allocations: 91.55 kB / 20.19 MB, free: 4.352 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.001603/0.001603, allocations: 169 kB / 23.5 MB, free: 1.051 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.9476/0.9476, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.688/1.688, allocations: 273.5 MB / 0.5213 GB, free: 14.84 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_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 3.938 kB / 0.647 GB, free: 38.69 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.349e-05, allocations: 9.547 kB / 0.647 GB, free: 38.68 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.002529/0.002552, allocations: 1.736 MB / 0.6487 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.000293/0.002845, allocations: 88.34 kB / 0.6488 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.002907, allocations: 3.938 kB / 0.6488 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.003015, allocations: 10.77 kB / 0.6488 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.003123, allocations: 26.36 kB / 0.6488 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.003227, allocations: 16.34 kB / 0.6488 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.000168/0.003395, allocations: 93.89 kB / 0.6489 GB, free: 37.44 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003498, allocations: 9.797 kB / 0.6489 GB, free: 37.44 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.003572, allocations: 40.14 kB / 0.649 GB, free: 37.43 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.97e-05/0.003661, allocations: 30.34 kB / 0.649 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.003686, allocations: 5.875 kB / 0.649 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.003703, allocations: 5.781 kB / 0.649 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.003726, allocations: 10.28 kB / 0.649 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.003789, allocations: 30.12 kB / 0.649 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.003923, allocations: 52.58 kB / 0.6491 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.003925, allocations: 1.031 kB / 0.6491 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003926, allocations: 0 / 0.6491 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.00393, allocations: 0 / 0.6491 GB, free: 37.38 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004095/0.00434, allocations: 427.5 kB / 0.6495 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.004389, allocations: 8.969 kB / 0.6495 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.004442, allocations: 10.77 kB / 0.6495 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.004576, allocations: 127 kB / 0.6496 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.004589, allocations: 9.219 kB / 0.6496 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.004616, allocations: 4.719 kB / 0.6496 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.004761, allocations: 90.69 kB / 0.6497 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.004774, allocations: 3.031 kB / 0.6497 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.004787, allocations: 9.906 kB / 0.6497 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.004795, allocations: 2.375 kB / 0.6497 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.573e-05/0.004891, allocations: 69.72 kB / 0.6498 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.00527, allocations: 308.3 kB / 0.6501 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.005383, allocations: 97.66 kB / 0.6502 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.005433, allocations: 52.48 kB / 0.6502 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.005443, allocations: 6.156 kB / 0.6503 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.005583, allocations: 163.1 kB / 0.6504 GB, free: 36.12 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 1.884e-06/0.005585, allocations: 0 / 0.6504 GB, free: 36.12 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.000744/0.006329, allocations: 483.5 kB / 0.6509 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.006365, allocations: 133.4 kB / 0.651 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.006432, allocations: 165.6 kB / 0.6512 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.006443, allocations: 32.23 kB / 0.6512 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.006472, allocations: 132.7 kB / 0.6513 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.006511, allocations: 46.16 kB / 0.6514 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.006555, allocations: 33.38 kB / 0.6514 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.552e-05/0.006611, allocations: 0.4952 MB / 0.6519 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.437e-05/0.006675, allocations: 58.2 kB / 0.6519 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.006744, allocations: 93.81 kB / 0.652 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.006904, allocations: 208.5 kB / 0.6522 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.006906, allocations: 3.625 kB / 0.6522 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002063/0.007112, allocations: 184.2 kB / 0.6524 GB, free: 34.22 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.007139, allocations: 32.64 kB / 0.6524 GB, free: 34.19 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.007145, allocations: 1.969 kB / 0.6524 GB, free: 34.19 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.007162, allocations: 1.562 kB / 0.6524 GB, free: 34.19 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.007295, allocations: 28.52 kB / 0.6525 GB, free: 34.19 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.007307, allocations: 1.875 kB / 0.6525 GB, free: 34.19 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.007355, allocations: 10.31 kB / 0.6525 GB, free: 34.18 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.007367, allocations: 5.094 kB / 0.6525 GB, free: 34.18 MB / 0.5262 GB Warning: Assuming fixed start value for the following 4 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,central.rising,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000138/0.007505, allocations: 225.6 kB / 0.6527 GB, free: 33.97 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.007528, allocations: 15.33 kB / 0.6527 GB, free: 33.96 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.007558, allocations: 10.94 kB / 0.6527 GB, free: 33.95 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.007562, allocations: 1.203 kB / 0.6527 GB, free: 33.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.007563, allocations: 0 / 0.6527 GB, free: 33.95 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.007575, allocations: 6.75 kB / 0.6527 GB, free: 33.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.007601, allocations: 12.02 kB / 0.6527 GB, free: 33.94 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.007631, allocations: 5.406 kB / 0.6527 GB, free: 33.94 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.007672, allocations: 6.906 kB / 0.6527 GB, free: 33.94 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002766/0.007948, allocations: 311.7 kB / 0.653 GB, free: 33.7 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002909/0.008239, allocations: 0.4922 MB / 0.6535 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.918e-05/0.008308, allocations: 72.61 kB / 0.6536 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.844e-05/0.008337, allocations: 130.4 kB / 0.6537 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of Backend: time 3.91e-07/0.008337, allocations: 0 / 0.6537 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.008762, allocations: 224.9 kB / 0.6539 GB, free: 32.91 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001431/0.01019, allocations: 1.088 MB / 0.655 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of Templates: time 0.003467/0.01366, allocations: 1.205 MB / 0.6562 GB, free: 31.81 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.751764219952747]