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.001486/0.001486, allocations: 104.4 kB / 19.71 MB, free: 436 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.002431/0.002431, allocations: 215.5 kB / 23 MB, free: 2.961 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 0.9498/0.9498, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] 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 0.6758/0.6758, allocations: 312.3 MB / 0.6108 GB, free: 97.52 MB / 410.7 MB " [Timeout remaining time 179] 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.002045/0.002045, allocations: 81.67 kB / 0.7699 GB, free: 20.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1255, allocations: 73.98 MB / 0.8421 GB, free: 10.26 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam): time 0.002894/0.1284, allocations: 2.69 MB / 0.8447 GB, free: 7.57 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.1293, allocations: 0.6716 MB / 0.8454 GB, free: 6.906 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1294, allocations: 4.594 kB / 0.8454 GB, free: 6.902 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.1296, allocations: 40.09 kB / 0.8454 GB, free: 6.863 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1298, allocations: 120.4 kB / 0.8456 GB, free: 6.746 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.13, allocations: 68.34 kB / 0.8456 GB, free: 6.68 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.1303, allocations: 374.8 kB / 0.846 GB, free: 6.312 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1304, allocations: 58.92 kB / 0.846 GB, free: 6.258 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1306, allocations: 136 kB / 0.8462 GB, free: 6.125 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.1308, allocations: 136 kB / 0.8463 GB, free: 5.992 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.1308, allocations: 24.59 kB / 0.8463 GB, free: 5.969 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.512e-05/0.1309, allocations: 28 kB / 0.8463 GB, free: 5.941 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.1309, allocations: 60.33 kB / 0.8464 GB, free: 5.883 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.728e-05/0.131, allocations: 128.2 kB / 0.8465 GB, free: 5.758 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.1313, allocations: 290.8 kB / 0.8468 GB, free: 5.473 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1313, allocations: 0.5938 kB / 0.8468 GB, free: 5.473 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1313, allocations: 0 / 0.8468 GB, free: 5.473 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1313, allocations: 0.7188 kB / 0.8468 GB, free: 5.473 MB / 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.0007373/0.132, allocations: 0.5862 MB / 0.8474 GB, free: 4.836 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1321, allocations: 12.66 kB / 0.8474 GB, free: 4.824 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.1321, allocations: 32.75 kB / 0.8474 GB, free: 4.793 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1323, allocations: 209.5 kB / 0.8476 GB, free: 4.562 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1324, allocations: 25.52 kB / 0.8476 GB, free: 4.539 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.1324, allocations: 19.94 kB / 0.8477 GB, free: 4.52 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.1327, allocations: 288.5 kB / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1327, allocations: 4.5 kB / 0.8479 GB, free: 4.211 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1328, allocations: 8.719 kB / 0.848 GB, free: 4.203 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1328, allocations: 8 kB / 0.848 GB, free: 4.195 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.133, allocations: 233.8 kB / 0.8482 GB, free: 3.957 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007943/0.1338, allocations: 0.677 MB / 0.8488 GB, free: 3.238 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.1342, allocations: 237.9 kB / 0.8491 GB, free: 2.984 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.1343, allocations: 145.1 kB / 0.8492 GB, free: 2.828 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.1344, allocations: 4.5 kB / 0.8492 GB, free: 2.824 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.1347, allocations: 355.8 kB / 0.8496 GB, free: 2.43 MB / 474.8 MB Notification: Performance of pre-optimization done (n=32): time 2.585e-06/0.1347, allocations: 0 / 0.8496 GB, free: 2.43 MB / 474.8 MB Notification: Performance of matching and sorting (n=34): time 0.001261/0.1359, allocations: 1.083 MB / 0.8506 GB, free: 1.258 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/0.136, allocations: 214.3 kB / 0.8508 GB, free: 1 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.1362, allocations: 252.8 kB / 0.8511 GB, free: 0.7461 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1362, allocations: 38.45 kB / 0.8511 GB, free: 0.7031 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.1363, allocations: 152.8 kB / 0.8512 GB, free: 0.5469 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.1364, allocations: 119.7 kB / 0.8514 GB, free: 440 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.1364, allocations: 70.73 kB / 0.8514 GB, free: 364 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.1365, allocations: 342.8 kB / 0.8517 GB, free: 12 kB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.1367, allocations: 204.4 kB / 0.8519 GB, free: 15.79 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1369, allocations: 319.7 kB / 0.8522 GB, free: 15.42 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.1373, allocations: 427 kB / 0.8527 GB, free: 14.94 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1373, allocations: 4.625 kB / 0.8527 GB, free: 14.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004989/0.1378, allocations: 0.5489 MB / 0.8532 GB, free: 14.34 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/0.1378, allocations: 89.09 kB / 0.8533 GB, free: 14.24 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1378, allocations: 4.594 kB / 0.8533 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1379, allocations: 4.625 kB / 0.8533 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.138, allocations: 80.48 kB / 0.8534 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.1381, allocations: 11.94 kB / 0.8534 GB, free: 14.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1382, allocations: 24.61 kB / 0.8534 GB, free: 14.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.1382, allocations: 16.59 kB / 0.8534 GB, free: 14.1 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.0002064/0.1384, allocations: 231.5 kB / 0.8536 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.1384, allocations: 32.34 kB / 0.8537 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.1385, allocations: 27.56 kB / 0.8537 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1385, allocations: 4.594 kB / 0.8537 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1385, allocations: 3.938 kB / 0.8537 GB, free: 13.8 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1385, allocations: 8.562 kB / 0.8537 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007505/0.1392, allocations: 0.7606 MB / 0.8545 GB, free: 12.97 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1392, allocations: 0.5938 kB / 0.8545 GB, free: 12.97 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1394, allocations: 52.56 kB / 0.8545 GB, free: 12.92 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1394, allocations: 0.5938 kB / 0.8545 GB, free: 12.92 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1394, allocations: 16.67 kB / 0.8545 GB, free: 12.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1394, allocations: 0 / 0.8545 GB, free: 12.9 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1394, allocations: 3.938 kB / 0.8545 GB, free: 12.9 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006338/0.14, allocations: 0.7283 MB / 0.8552 GB, free: 12.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.1401, allocations: 31.86 kB / 0.8553 GB, free: 12.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.1401, allocations: 11.94 kB / 0.8553 GB, free: 12.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1402, allocations: 21.33 kB / 0.8553 GB, free: 12.06 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.1403, allocations: 23.95 kB / 0.8553 GB, free: 12.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1403, allocations: 15.98 kB / 0.8553 GB, free: 12.02 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1404, allocations: 172.5 kB / 0.8555 GB, free: 11.85 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1404, allocations: 1.094 kB / 0.8555 GB, free: 11.85 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002376/0.1407, allocations: 88 kB / 0.8556 GB, free: 11.77 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.0001035/0.1408, allocations: 113.2 kB / 0.8557 GB, free: 11.64 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.2305/0.3713, allocations: 0.5605 MB / 0.8562 GB, free: 29.76 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3713, allocations: 2.781 kB / 0.8562 GB, free: 29.76 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.3715, allocations: 297.9 kB / 0.8565 GB, free: 29.57 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.372, allocations: 91.72 kB / 0.8566 GB, free: 29.57 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.3732, allocations: 0.9547 MB / 0.8575 GB, free: 29.14 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/0.3733, allocations: 157.6 kB / 0.8577 GB, free: 29.07 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.3734, allocations: 28.03 kB / 0.8577 GB, free: 29.06 MB / 490.8 MB Notification: Performance of SimCode: time 1.552e-06/0.3734, allocations: 4 kB / 0.8577 GB, free: 29.05 MB / 490.8 MB Notification: Performance of Templates: time 0.005677/0.379, allocations: 3.981 MB / 0.8616 GB, free: 28.69 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.938226073980331]