Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.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.001941/0.001941, allocations: 109.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.002198/0.002198, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.683/1.683, allocations: 230.6 MB / 256 MB, free: 9.602 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.49/1.49, 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.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB,tolerance=1e-09,outputFormat="empty",numberOfIntervals=118800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB,tolerance=1e-09,outputFormat="empty",numberOfIntervals=118800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB") [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.003862/0.003862, allocations: 77.78 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1693, allocations: 74 MB / 0.8472 GB, free: 4.883 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB): time 0.004529/0.1738, allocations: 2.3 MB / 0.8495 GB, free: 2.582 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1752, allocations: 0.588 MB / 0.8501 GB, free: 2 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1753, allocations: 4 kB / 0.8501 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1755, allocations: 31.7 kB / 0.8501 GB, free: 1.965 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.1757, allocations: 76.8 kB / 0.8502 GB, free: 1.891 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.176, allocations: 45.45 kB / 0.8502 GB, free: 1.848 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.1763, allocations: 266.7 kB / 0.8505 GB, free: 1.586 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1765, allocations: 28.58 kB / 0.8505 GB, free: 1.559 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1766, allocations: 99.64 kB / 0.8506 GB, free: 1.461 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.1769, allocations: 96.3 kB / 0.8507 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.1769, allocations: 16 kB / 0.8507 GB, free: 1.352 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.808e-05/0.177, allocations: 17.09 kB / 0.8507 GB, free: 1.336 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.177, allocations: 43.83 kB / 0.8508 GB, free: 1.293 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1771, allocations: 91.59 kB / 0.8508 GB, free: 1.203 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1774, allocations: 195.7 kB / 0.851 GB, free: 1.012 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1775, allocations: 0.5 kB / 0.851 GB, free: 1.012 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1775, allocations: 0 / 0.851 GB, free: 1.012 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1775, allocations: 0.625 kB / 0.851 GB, free: 1.012 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.00104/0.1785, allocations: 498.6 kB / 0.8515 GB, free: 492 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1785, allocations: 12.03 kB / 0.8515 GB, free: 480 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.1786, allocations: 25.33 kB / 0.8515 GB, free: 456 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.1789, allocations: 187.6 kB / 0.8517 GB, free: 240 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1789, allocations: 12.61 kB / 0.8517 GB, free: 228 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.179, allocations: 20.58 kB / 0.8518 GB, free: 208 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.1794, allocations: 198.7 kB / 0.8519 GB, free: 16 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1795, allocations: 3.938 kB / 0.8519 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1795, allocations: 4.5 kB / 0.852 GB, free: 15.99 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1795, allocations: 4.625 kB / 0.852 GB, free: 15.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.1799, allocations: 147.3 kB / 0.8521 GB, free: 15.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009271/0.1808, allocations: 486.1 kB / 0.8526 GB, free: 15.33 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.1814, allocations: 173.7 kB / 0.8527 GB, free: 15.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.1816, allocations: 91.98 kB / 0.8528 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.1816, allocations: 0 / 0.8528 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004319/0.182, allocations: 237 kB / 0.853 GB, free: 14.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/0.182, allocations: 0.9688 kB / 0.853 GB, free: 14.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001697/0.1837, allocations: 0.6992 MB / 0.8537 GB, free: 14.03 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.1838, allocations: 145.2 kB / 0.8539 GB, free: 13.86 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1841, allocations: 211 kB / 0.8541 GB, free: 13.64 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.1841, allocations: 35.52 kB / 0.8541 GB, free: 13.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1843, allocations: 128.5 kB / 0.8542 GB, free: 13.47 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.1843, allocations: 75.42 kB / 0.8543 GB, free: 13.4 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/0.1844, allocations: 53.66 kB / 0.8543 GB, free: 13.34 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.1846, allocations: 338.8 kB / 0.8547 GB, free: 13 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.1849, allocations: 146.2 kB / 0.8548 GB, free: 12.84 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.1852, allocations: 224.8 kB / 0.855 GB, free: 12.58 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3441/0.5293, allocations: 278.1 kB / 0.8553 GB, free: 28.26 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5293, allocations: 1.156 kB / 0.8553 GB, free: 28.26 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006526/0.53, allocations: 386.3 kB / 0.8557 GB, free: 28.1 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.53, allocations: 68.94 kB / 0.8557 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.53, allocations: 4.641 kB / 0.8557 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.5301, allocations: 3.688 kB / 0.8557 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.5303, allocations: 49.48 kB / 0.8558 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.5303, allocations: 8.25 kB / 0.8558 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.5305, allocations: 20.16 kB / 0.8558 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.5305, allocations: 13.36 kB / 0.8558 GB, free: 28.04 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.0001776/0.5307, allocations: 173.5 kB / 0.856 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.5307, allocations: 21.77 kB / 0.856 GB, free: 27.89 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.5308, allocations: 30.31 kB / 0.856 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5308, allocations: 3.188 kB / 0.856 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5308, allocations: 0.8125 kB / 0.856 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.5308, allocations: 5.281 kB / 0.856 GB, free: 27.88 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006906/0.5315, allocations: 0.5336 MB / 0.8566 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5315, allocations: 0.9844 kB / 0.8566 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.5317, allocations: 41.77 kB / 0.8566 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5317, allocations: 0.6562 kB / 0.8566 GB, free: 27.59 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.5317, allocations: 10.7 kB / 0.8566 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5317, allocations: 0.5938 kB / 0.8566 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5317, allocations: 4.5 kB / 0.8566 GB, free: 27.58 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.5323, allocations: 499 kB / 0.8571 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.5324, allocations: 21.2 kB / 0.8571 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.5324, allocations: 9.031 kB / 0.8571 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.5326, allocations: 16.09 kB / 0.8571 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.5327, allocations: 20.42 kB / 0.8572 GB, free: 27.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.5327, allocations: 9.25 kB / 0.8572 GB, free: 27.36 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001396/0.5328, allocations: 157.3 kB / 0.8573 GB, free: 27.28 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5328, allocations: 0.625 kB / 0.8573 GB, free: 27.28 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002939/0.5331, allocations: 57 kB / 0.8574 GB, free: 27.28 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.0001084/0.5332, allocations: 117.3 kB / 0.8575 GB, free: 27.19 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005059/0.5337, allocations: 376.2 kB / 0.8578 GB, free: 26.97 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5337, allocations: 1.344 kB / 0.8578 GB, free: 26.97 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.5339, allocations: 174 kB / 0.858 GB, free: 26.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.5344, allocations: 69.06 kB / 0.8581 GB, free: 26.87 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.5355, allocations: 0.6814 MB / 0.8587 GB, free: 26.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.965e-05/0.5356, allocations: 128 kB / 0.8589 GB, free: 26.52 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.5358, allocations: 22.78 kB / 0.8589 GB, free: 26.51 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.5358, allocations: 19.75 kB / 0.8589 GB, free: 26.5 MB / 490.8 MB Notification: Performance of SimCode: time 6.82e-07/0.5358, allocations: 0 / 0.8589 GB, free: 26.5 MB / 490.8 MB Notification: Performance of Templates: time 0.008133/0.5439, allocations: 3.646 MB / 0.8625 GB, free: 26.21 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA05_PolymyxinB.PolymyxinB.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.664969076169655]