Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.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.001959/0.001959, allocations: 105.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.002072/0.002072, allocations: 215.6 kB / 22.25 MB, free: 3.57 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.679/1.679, allocations: 230.6 MB / 256 MB, free: 9.645 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.445/1.445, allocations: 316.7 MB / 0.6144 GB, free: 93.07 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.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem") [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.005336/0.005336, allocations: 81.53 kB / 0.775 GB, free: 14.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1801, allocations: 73.99 MB / 0.8473 GB, free: 4.82 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem): time 0.004883/0.1849, allocations: 2.723 MB / 0.8499 GB, free: 2.102 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3867/0.5716, allocations: 6.603 MB / 0.8564 GB, free: 22 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003857/0.572, allocations: 3.344 kB / 0.8564 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.5722, allocations: 36.7 kB / 0.8564 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.5725, allocations: 125.1 kB / 0.8566 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.5728, allocations: 70.42 kB / 0.8566 GB, free: 22 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.5732, allocations: 376.7 kB / 0.857 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.5734, allocations: 50.83 kB / 0.857 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.5735, allocations: 148.5 kB / 0.8572 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.5738, allocations: 134.7 kB / 0.8573 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.5739, allocations: 24.94 kB / 0.8573 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.5739, allocations: 24.97 kB / 0.8573 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.574, allocations: 60.52 kB / 0.8574 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.5741, allocations: 134.8 kB / 0.8575 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.5744, allocations: 288.7 kB / 0.8578 GB, free: 21.77 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5745, allocations: 0.7812 kB / 0.8578 GB, free: 21.77 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5745, allocations: 0 / 0.8578 GB, free: 21.77 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.5745, allocations: 2.656 kB / 0.8578 GB, free: 21.77 MB / 490.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.000948/0.5754, allocations: 0.6005 MB / 0.8584 GB, free: 21.3 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5754, allocations: 8.344 kB / 0.8584 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.5755, allocations: 34.8 kB / 0.8584 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.5758, allocations: 213.7 kB / 0.8586 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5758, allocations: 14.97 kB / 0.8587 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.5759, allocations: 28.92 kB / 0.8587 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.5763, allocations: 283.9 kB / 0.859 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5763, allocations: 7.391 kB / 0.859 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.5763, allocations: 10.41 kB / 0.859 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5764, allocations: 4.719 kB / 0.859 GB, free: 21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.5768, allocations: 236 kB / 0.8592 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.5778, allocations: 0.6776 MB / 0.8599 GB, free: 20.58 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.5784, allocations: 236 kB / 0.8601 GB, free: 20.49 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.5786, allocations: 149.8 kB / 0.8602 GB, free: 20.42 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.5786, allocations: 5.25 kB / 0.8602 GB, free: 20.42 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004031/0.579, allocations: 365.4 kB / 0.8606 GB, free: 20.17 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.579, allocations: 0.5938 kB / 0.8606 GB, free: 20.17 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001773/0.5808, allocations: 1.078 MB / 0.8616 GB, free: 19.63 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.5808, allocations: 224.1 kB / 0.8618 GB, free: 19.38 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.5811, allocations: 247 kB / 0.8621 GB, free: 19.27 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.5811, allocations: 31.45 kB / 0.8621 GB, free: 19.24 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.5812, allocations: 159.6 kB / 0.8623 GB, free: 19.13 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.5812, allocations: 116.5 kB / 0.8624 GB, free: 19.06 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.5813, allocations: 75.16 kB / 0.8624 GB, free: 19.05 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.5814, allocations: 341.6 kB / 0.8628 GB, free: 18.73 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.5817, allocations: 210.5 kB / 0.863 GB, free: 18.63 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.582, allocations: 313.7 kB / 0.8633 GB, free: 18.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.5825, allocations: 431 kB / 0.8637 GB, free: 18.14 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5825, allocations: 1.625 kB / 0.8637 GB, free: 18.14 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008071/0.5833, allocations: 0.5491 MB / 0.8642 GB, free: 17.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.5834, allocations: 89.22 kB / 0.8643 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5834, allocations: 2.094 kB / 0.8643 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.5834, allocations: 6.469 kB / 0.8643 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.5838, allocations: 83.52 kB / 0.8644 GB, free: 17.78 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.5838, allocations: 7 kB / 0.8644 GB, free: 17.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.584, allocations: 25.98 kB / 0.8644 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.584, allocations: 19.23 kB / 0.8644 GB, free: 17.77 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.0002263/0.5843, allocations: 224.9 kB / 0.8647 GB, free: 17.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.5843, allocations: 33.09 kB / 0.8647 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.528e-05/0.5844, allocations: 32.72 kB / 0.8647 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.5844, allocations: 4.125 kB / 0.8647 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5844, allocations: 0 / 0.8647 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.5844, allocations: 5.156 kB / 0.8647 GB, free: 17.56 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.5855, allocations: 0.7699 MB / 0.8655 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5855, allocations: 0 / 0.8655 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.5858, allocations: 52 kB / 0.8655 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5858, allocations: 2.25 kB / 0.8655 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.5858, allocations: 14.09 kB / 0.8655 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5858, allocations: 3.969 kB / 0.8656 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5858, allocations: 0.8438 kB / 0.8656 GB, free: 17.18 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.5868, allocations: 0.7264 MB / 0.8663 GB, free: 16.84 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.5869, allocations: 27.22 kB / 0.8663 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.5869, allocations: 18.47 kB / 0.8663 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.5871, allocations: 18.03 kB / 0.8663 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5872, allocations: 30.3 kB / 0.8664 GB, free: 16.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.5872, allocations: 11.88 kB / 0.8664 GB, free: 16.81 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001675/0.5874, allocations: 178.2 kB / 0.8665 GB, free: 16.73 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5874, allocations: 0.5 kB / 0.8665 GB, free: 16.73 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003493/0.5878, allocations: 86.59 kB / 0.8666 GB, free: 16.73 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.000139/0.5879, allocations: 126.8 kB / 0.8667 GB, free: 16.64 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007203/0.5886, allocations: 0.5702 MB / 0.8673 GB, free: 16.28 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5886, allocations: 1.875 kB / 0.8673 GB, free: 16.28 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.5889, allocations: 298.5 kB / 0.8676 GB, free: 16.09 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.5895, allocations: 90.66 kB / 0.8677 GB, free: 16.08 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5912, allocations: 0.9356 MB / 0.8686 GB, free: 15.6 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.5913, allocations: 161.4 kB / 0.8687 GB, free: 15.52 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.5914, allocations: 32.94 kB / 0.8688 GB, free: 15.52 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.5915, allocations: 28.36 kB / 0.8688 GB, free: 15.51 MB / 490.8 MB Notification: Performance of SimCode: time 7.32e-07/0.5915, allocations: 0 / 0.8688 GB, free: 15.51 MB / 490.8 MB Notification: Performance of Templates: time 0.01221/0.6037, allocations: 4.999 MB / 0.8737 GB, free: 15 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.596327936043963]