Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.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.002238/0.002238, allocations: 109.5 kB / 18.95 MB, free: 1.172 MB / 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.002465/0.002465, allocations: 218.2 kB / 22.25 MB, free: 3.688 MB / 13.93 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 1.755/1.755, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.479/1.479, allocations: 316.7 MB / 0.6144 GB, free: 93.02 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.Digoxin.Digoxin_Hornestam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam") translateModel(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003865/0.003865, allocations: 74.14 kB / 0.775 GB, free: 14.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.165, allocations: 73.99 MB / 0.8472 GB, free: 4.832 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam): time 0.004824/0.1698, allocations: 2.684 MB / 0.8499 GB, free: 2.148 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1714, allocations: 0.6679 MB / 0.8505 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.1716, allocations: 4.781 kB / 0.8505 GB, free: 1.484 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.1718, allocations: 39.62 kB / 0.8506 GB, free: 1.445 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.1721, allocations: 116.3 kB / 0.8507 GB, free: 1.332 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.1724, allocations: 69.31 kB / 0.8507 GB, free: 1.266 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.1729, allocations: 378.1 kB / 0.8511 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.1731, allocations: 64.56 kB / 0.8512 GB, free: 0.8359 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.1733, allocations: 131.5 kB / 0.8513 GB, free: 0.707 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.1736, allocations: 135.9 kB / 0.8514 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.1736, allocations: 24.66 kB / 0.8514 GB, free: 0.5508 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.074e-05/0.1737, allocations: 28 kB / 0.8515 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.1738, allocations: 56.39 kB / 0.8515 GB, free: 480 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.1739, allocations: 135.9 kB / 0.8517 GB, free: 344 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.1743, allocations: 286.8 kB / 0.8519 GB, free: 56 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1743, allocations: 0.6562 kB / 0.8519 GB, free: 56 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1743, allocations: 1.281 kB / 0.8519 GB, free: 56 kB / 474.8 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1743, allocations: 0 / 0.8519 GB, free: 56 kB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001238/0.1756, allocations: 0.5916 MB / 0.8525 GB, free: 15.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1756, allocations: 13.72 kB / 0.8525 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.1757, allocations: 32.75 kB / 0.8525 GB, free: 15.37 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.1761, allocations: 209 kB / 0.8527 GB, free: 15.13 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.1761, allocations: 16.75 kB / 0.8528 GB, free: 15.12 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.1762, allocations: 28.72 kB / 0.8528 GB, free: 15.09 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005738/0.1767, allocations: 286.5 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.1768, allocations: 4 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.1768, allocations: 4 kB / 0.8531 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1768, allocations: 8 kB / 0.8531 GB, free: 14.78 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.1773, allocations: 236.4 kB / 0.8533 GB, free: 14.54 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.179, allocations: 0.6822 MB / 0.854 GB, free: 13.81 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.1796, allocations: 230.1 kB / 0.8542 GB, free: 13.56 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.1799, allocations: 153.1 kB / 0.8543 GB, free: 13.4 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1799, allocations: 5.188 kB / 0.8543 GB, free: 13.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005516/0.1805, allocations: 358 kB / 0.8547 GB, free: 13 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.1805, allocations: 0 / 0.8547 GB, free: 13 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3866/0.567, allocations: 1.071 MB / 0.8557 GB, free: 28.43 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.5671, allocations: 217.3 kB / 0.8559 GB, free: 28.18 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.5673, allocations: 246.8 kB / 0.8562 GB, free: 28.07 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.5674, allocations: 35.73 kB / 0.8562 GB, free: 28.04 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.5675, allocations: 150.9 kB / 0.8563 GB, free: 27.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/0.5675, allocations: 116.5 kB / 0.8565 GB, free: 27.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.5676, allocations: 77.75 kB / 0.8565 GB, free: 27.87 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.5677, allocations: 339.9 kB / 0.8569 GB, free: 27.56 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.568, allocations: 207.3 kB / 0.8571 GB, free: 27.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.5683, allocations: 315.5 kB / 0.8574 GB, free: 27.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.5688, allocations: 433.5 kB / 0.8578 GB, free: 26.97 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5688, allocations: 0.8438 kB / 0.8578 GB, free: 26.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007567/0.5696, allocations: 0.551 MB / 0.8583 GB, free: 26.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.5696, allocations: 94.8 kB / 0.8584 GB, free: 26.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.5696, allocations: 2.625 kB / 0.8584 GB, free: 26.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.5696, allocations: 4.875 kB / 0.8584 GB, free: 26.63 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.57, allocations: 83.69 kB / 0.8585 GB, free: 26.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.57, allocations: 5.531 kB / 0.8585 GB, free: 26.63 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.5702, allocations: 21.59 kB / 0.8585 GB, free: 26.63 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.5703, allocations: 17.91 kB / 0.8585 GB, free: 26.63 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.000248/0.5705, allocations: 222.5 kB / 0.8587 GB, free: 26.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.5706, allocations: 35.38 kB / 0.8588 GB, free: 26.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.5706, allocations: 31.98 kB / 0.8588 GB, free: 26.41 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5706, allocations: 2.625 kB / 0.8588 GB, free: 26.41 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.5706, allocations: 2.906 kB / 0.8588 GB, free: 26.41 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.5707, allocations: 6.984 kB / 0.8588 GB, free: 26.41 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.5717, allocations: 0.7566 MB / 0.8596 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5717, allocations: 1.188 kB / 0.8596 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.572, allocations: 54.19 kB / 0.8596 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.572, allocations: 2.594 kB / 0.8596 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.572, allocations: 9.266 kB / 0.8596 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.572, allocations: 2.781 kB / 0.8596 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.572, allocations: 1.5 kB / 0.8596 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009084/0.5729, allocations: 0.7322 MB / 0.8603 GB, free: 25.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.573, allocations: 31.12 kB / 0.8604 GB, free: 25.68 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.573, allocations: 11.53 kB / 0.8604 GB, free: 25.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.5732, allocations: 16.95 kB / 0.8604 GB, free: 25.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5733, allocations: 31.73 kB / 0.8604 GB, free: 25.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.5734, allocations: 15.41 kB / 0.8604 GB, free: 25.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001552/0.5735, allocations: 176 kB / 0.8606 GB, free: 25.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5735, allocations: 0 / 0.8606 GB, free: 25.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003801/0.5739, allocations: 84.66 kB / 0.8607 GB, free: 25.6 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.0001307/0.574, allocations: 120.4 kB / 0.8608 GB, free: 25.51 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007122/0.5747, allocations: 0.5614 MB / 0.8614 GB, free: 25.15 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5747, allocations: 3.219 kB / 0.8614 GB, free: 25.15 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.575, allocations: 302.8 kB / 0.8616 GB, free: 24.96 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.5756, allocations: 92.16 kB / 0.8617 GB, free: 24.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.5773, allocations: 0.9343 MB / 0.8626 GB, free: 24.53 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.5774, allocations: 158.8 kB / 0.8628 GB, free: 24.45 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.5776, allocations: 30.91 kB / 0.8628 GB, free: 24.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.5776, allocations: 27.89 kB / 0.8629 GB, free: 24.44 MB / 490.8 MB Notification: Performance of SimCode: time 8.12e-07/0.5776, allocations: 0 / 0.8629 GB, free: 24.44 MB / 490.8 MB Notification: Performance of Templates: time 0.01174/0.5894, allocations: 4.93 MB / 0.8677 GB, free: 23.94 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.8863719641231]