Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_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.002312/0.002312, 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.008528/0.008528, allocations: 219.5 kB / 22.25 MB, free: 3.559 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.777/1.777, allocations: 230.6 MB / 256 MB, free: 9.586 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.41/1.41, 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.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_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.004513/0.004513, allocations: 69.98 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1817, allocations: 74 MB / 0.8472 GB, free: 4.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference): time 0.004703/0.1864, allocations: 2.296 MB / 0.8495 GB, free: 2.578 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3413/0.5276, allocations: 6.52 MB / 0.8558 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.5279, allocations: 2.859 kB / 0.8558 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.528, allocations: 27.73 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.5282, allocations: 79.25 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.5284, allocations: 57.2 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.5287, allocations: 259.6 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.5288, allocations: 35.39 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.5289, allocations: 98.05 kB / 0.8564 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.5291, allocations: 98.48 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.5292, allocations: 17.47 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.935e-05/0.5292, allocations: 15.94 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.5292, allocations: 41.8 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.5293, allocations: 89.52 kB / 0.8566 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.5295, allocations: 196.3 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5295, allocations: 0 / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5295, allocations: 1.469 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.5295, allocations: 0 / 0.8568 GB, free: 21.86 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007805/0.5303, allocations: 0.4976 MB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.5304, allocations: 11.09 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.5304, allocations: 24.05 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.5306, allocations: 183.9 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5306, allocations: 10.86 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.5307, allocations: 21.2 kB / 0.8575 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.531, allocations: 188.2 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.5311, allocations: 0.5625 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.5311, allocations: 6.5 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5311, allocations: 3.312 kB / 0.8577 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.5314, allocations: 149 kB / 0.8579 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.5322, allocations: 482.6 kB / 0.8583 GB, free: 20.87 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.5326, allocations: 172.8 kB / 0.8585 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.5328, allocations: 95.17 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.5328, allocations: 4.562 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.5331, allocations: 226.4 kB / 0.8588 GB, free: 20.62 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.5331, allocations: 0.6562 kB / 0.8588 GB, free: 20.62 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00128/0.5344, allocations: 0.7007 MB / 0.8595 GB, free: 20.27 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.5345, allocations: 136.6 kB / 0.8596 GB, free: 20.11 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.5346, allocations: 217.7 kB / 0.8598 GB, free: 20.01 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.5347, allocations: 35.98 kB / 0.8599 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.5347, allocations: 134 kB / 0.86 GB, free: 19.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.5348, allocations: 67.97 kB / 0.8601 GB, free: 19.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.5348, allocations: 59.17 kB / 0.8601 GB, free: 19.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.5349, allocations: 338.3 kB / 0.8604 GB, free: 19.5 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.5351, allocations: 145.3 kB / 0.8606 GB, free: 19.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.5353, allocations: 222 kB / 0.8608 GB, free: 19.26 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.5356, allocations: 280.7 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5356, allocations: 0.5938 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005036/0.5361, allocations: 395.8 kB / 0.8614 GB, free: 18.91 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.5362, allocations: 65.55 kB / 0.8615 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5362, allocations: 6.094 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5362, allocations: 5.375 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.5364, allocations: 51.94 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5364, allocations: 3.406 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.5366, allocations: 18.12 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.5366, allocations: 12.25 kB / 0.8616 GB, free: 18.84 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.0001499/0.5368, allocations: 173.9 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.5368, allocations: 29.98 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.5368, allocations: 25.84 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5368, allocations: 8.031 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5368, allocations: 0.8125 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5368, allocations: 1.031 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.5375, allocations: 0.5367 MB / 0.8623 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5375, allocations: 0.6562 kB / 0.8623 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.5377, allocations: 40.25 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5377, allocations: 1.172 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.5377, allocations: 9.234 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5377, allocations: 4.531 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5377, allocations: 1.562 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.5383, allocations: 0.4899 MB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.5384, allocations: 21.66 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.5384, allocations: 7.906 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.5386, allocations: 14.78 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.5386, allocations: 25.38 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.5387, allocations: 11.81 kB / 0.863 GB, free: 18.09 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001137/0.5388, allocations: 158.8 kB / 0.8631 GB, free: 18.01 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5388, allocations: 0 / 0.8631 GB, free: 18.01 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002772/0.5391, allocations: 59.12 kB / 0.8632 GB, free: 18.01 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.000107/0.5392, allocations: 115.5 kB / 0.8633 GB, free: 17.92 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005521/0.5397, allocations: 387.9 kB / 0.8636 GB, free: 17.69 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5397, allocations: 3.219 kB / 0.8636 GB, free: 17.69 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.5399, allocations: 170.3 kB / 0.8638 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.5404, allocations: 68.75 kB / 0.8639 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.5416, allocations: 0.6781 MB / 0.8645 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.5417, allocations: 122.7 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000108/0.5418, allocations: 26.08 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.5419, allocations: 21.14 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of SimCode: time 5.81e-07/0.5419, allocations: 0 / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of Templates: time 0.008278/0.5501, allocations: 3.651 MB / 0.8683 GB, free: 16.87 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.94396020215936]