Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.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.00191/0.00191, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.002055/0.002055, allocations: 219.5 kB / 22.25 MB, free: 3.566 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.86/1.86, allocations: 230.6 MB / 256 MB, free: 9.574 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.503/1.503, allocations: 316.8 MB / 0.6144 GB, free: 93.41 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.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference") [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.004139/0.004139, allocations: 73.92 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1509, allocations: 73.99 MB / 0.8473 GB, free: 5.121 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference): time 0.004465/0.1553, allocations: 2.289 MB / 0.8495 GB, free: 2.832 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1567, allocations: 0.5987 MB / 0.8501 GB, free: 2.238 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1568, allocations: 4.656 kB / 0.8501 GB, free: 2.234 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.1569, allocations: 23.72 kB / 0.8501 GB, free: 2.211 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.1571, allocations: 76.53 kB / 0.8502 GB, free: 2.137 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.1573, allocations: 56.48 kB / 0.8502 GB, free: 2.082 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.1577, allocations: 259.3 kB / 0.8505 GB, free: 1.828 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1579, allocations: 32.58 kB / 0.8505 GB, free: 1.797 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.158, allocations: 96.17 kB / 0.8506 GB, free: 1.703 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.1583, allocations: 96.19 kB / 0.8507 GB, free: 1.609 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.1583, allocations: 20.56 kB / 0.8507 GB, free: 1.59 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.88e-05/0.1584, allocations: 20 kB / 0.8507 GB, free: 1.57 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.1584, allocations: 36.39 kB / 0.8508 GB, free: 1.535 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.1586, allocations: 88.2 kB / 0.8508 GB, free: 1.449 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1589, allocations: 203.2 kB / 0.851 GB, free: 1.25 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1589, allocations: 0.625 kB / 0.851 GB, free: 1.25 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1589, allocations: 0 / 0.851 GB, free: 1.25 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1589, allocations: 4.688 kB / 0.851 GB, free: 1.246 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001091/0.16, allocations: 498.2 kB / 0.8515 GB, free: 0.7148 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.16, allocations: 8.625 kB / 0.8515 GB, free: 0.707 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.1601, allocations: 24.8 kB / 0.8516 GB, free: 0.6836 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.1604, allocations: 187.9 kB / 0.8517 GB, free: 484 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.1604, allocations: 8.609 kB / 0.8517 GB, free: 476 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.187e-05/0.1605, allocations: 24.64 kB / 0.8518 GB, free: 452 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/0.1609, allocations: 190.8 kB / 0.8519 GB, free: 248 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.161, allocations: 3.938 kB / 0.852 GB, free: 244 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.161, allocations: 8.688 kB / 0.852 GB, free: 236 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.161, allocations: 4 kB / 0.852 GB, free: 232 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.1614, allocations: 147.5 kB / 0.8521 GB, free: 80 kB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/0.1624, allocations: 479 kB / 0.8526 GB, free: 15.58 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.163, allocations: 176.8 kB / 0.8527 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.1632, allocations: 91.77 kB / 0.8528 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.1632, allocations: 4 kB / 0.8528 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004316/0.1636, allocations: 232.2 kB / 0.853 GB, free: 15.04 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 3.907e-06/0.1636, allocations: 3.984 kB / 0.853 GB, free: 15.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001679/0.1653, allocations: 0.697 MB / 0.8537 GB, free: 14.27 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.1654, allocations: 136.5 kB / 0.8539 GB, free: 14.11 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.1657, allocations: 218.9 kB / 0.8541 GB, free: 13.89 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.1657, allocations: 33.7 kB / 0.8541 GB, free: 13.85 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.1658, allocations: 139 kB / 0.8542 GB, free: 13.71 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.675e-05/0.1659, allocations: 71.42 kB / 0.8543 GB, free: 13.64 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-05/0.166, allocations: 57.66 kB / 0.8544 GB, free: 13.58 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1662, allocations: 334.8 kB / 0.8547 GB, free: 13.24 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.1668, allocations: 145 kB / 0.8548 GB, free: 13.08 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.1671, allocations: 221.3 kB / 0.855 GB, free: 12.82 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.1676, allocations: 278.4 kB / 0.8553 GB, free: 12.51 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1676, allocations: 0.7188 kB / 0.8553 GB, free: 12.51 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007014/0.1683, allocations: 394 kB / 0.8557 GB, free: 12.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.3774/0.5457, allocations: 62.84 kB / 0.8557 GB, free: 28.28 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.5457, allocations: 2.672 kB / 0.8557 GB, free: 28.28 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.659e-05/0.5458, allocations: 4.5 kB / 0.8557 GB, free: 28.28 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.5461, allocations: 54.61 kB / 0.8558 GB, free: 28.28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.5461, allocations: 5.062 kB / 0.8558 GB, free: 28.28 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.5464, allocations: 18.3 kB / 0.8558 GB, free: 28.28 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.5464, allocations: 9.781 kB / 0.8558 GB, free: 28.28 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0002487/0.5467, allocations: 175.5 kB / 0.856 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.5467, allocations: 29.16 kB / 0.856 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.773e-05/0.5468, allocations: 26.14 kB / 0.856 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.5468, allocations: 1.844 kB / 0.856 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.5468, allocations: 1.531 kB / 0.856 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5468, allocations: 0 / 0.856 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008557/0.5477, allocations: 0.5374 MB / 0.8566 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5477, allocations: 0.6875 kB / 0.8566 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.5479, allocations: 37.27 kB / 0.8566 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5479, allocations: 2.625 kB / 0.8566 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.5479, allocations: 4.656 kB / 0.8566 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5479, allocations: 7.797 kB / 0.8566 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5479, allocations: 0 / 0.8566 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000727/0.5486, allocations: 0.4946 MB / 0.8571 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.5487, allocations: 22.7 kB / 0.8571 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.5487, allocations: 11.22 kB / 0.8571 GB, free: 27.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.5489, allocations: 14.2 kB / 0.8571 GB, free: 27.6 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.549, allocations: 21.39 kB / 0.8572 GB, free: 27.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.549, allocations: 7.578 kB / 0.8572 GB, free: 27.6 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000192/0.5492, allocations: 156.6 kB / 0.8573 GB, free: 27.53 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5492, allocations: 0.5312 kB / 0.8573 GB, free: 27.53 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003434/0.5495, allocations: 57.56 kB / 0.8574 GB, free: 27.53 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001612/0.5497, allocations: 119.1 kB / 0.8575 GB, free: 27.44 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006678/0.5504, allocations: 376.9 kB / 0.8578 GB, free: 27.22 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5504, allocations: 0.5625 kB / 0.8578 GB, free: 27.22 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.5507, allocations: 175 kB / 0.858 GB, free: 27.13 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.5512, allocations: 71.14 kB / 0.8581 GB, free: 27.12 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.5528, allocations: 0.6739 MB / 0.8587 GB, free: 26.85 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.553, allocations: 124.4 kB / 0.8589 GB, free: 26.77 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.5531, allocations: 24.06 kB / 0.8589 GB, free: 26.77 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.5532, allocations: 23.22 kB / 0.8589 GB, free: 26.76 MB / 490.8 MB Notification: Performance of SimCode: time 1.373e-06/0.5532, allocations: 0.625 kB / 0.8589 GB, free: 26.76 MB / 490.8 MB Notification: Performance of Templates: time 0.00971/0.5629, allocations: 3.65 MB / 0.8625 GB, free: 26.47 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB_Manchandani2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.892599097918719]