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.001164/0.001164, allocations: 112.3 kB / 19.71 MB, free: 432 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.00181/0.00181, allocations: 213.3 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 1.185/1.185, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7488/0.7488, allocations: 312.3 MB / 0.6108 GB, free: 97.07 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.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.001508/0.001508, allocations: 84.41 kB / 0.7699 GB, free: 19.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.146, allocations: 73.98 MB / 0.8421 GB, free: 9.875 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference): time 0.003027/0.149, allocations: 2.305 MB / 0.8444 GB, free: 7.574 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006373/0.1554, allocations: 6.529 MB / 0.8508 GB, free: 1.043 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1555, allocations: 4.625 kB / 0.8508 GB, free: 1.039 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1557, allocations: 23.72 kB / 0.8508 GB, free: 1.016 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.1559, allocations: 76.52 kB / 0.8509 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.1561, allocations: 56.38 kB / 0.8509 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.1564, allocations: 255.2 kB / 0.8511 GB, free: 0.6367 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1565, allocations: 37.2 kB / 0.8512 GB, free: 0.6016 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1567, allocations: 103.6 kB / 0.8513 GB, free: 0.5 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.1569, allocations: 96.17 kB / 0.8514 GB, free: 416 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.1569, allocations: 16.56 kB / 0.8514 GB, free: 400 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.1569, allocations: 16 kB / 0.8514 GB, free: 384 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.157, allocations: 40.41 kB / 0.8514 GB, free: 344 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.315e-05/0.157, allocations: 92.25 kB / 0.8515 GB, free: 252 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1573, allocations: 195.2 kB / 0.8517 GB, free: 56 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1573, allocations: 0.625 kB / 0.8517 GB, free: 56 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1573, allocations: 0 / 0.8517 GB, free: 56 kB / 474.8 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1573, allocations: 0.625 kB / 0.8517 GB, free: 56 kB / 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.0007528/0.158, allocations: 498.7 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1581, allocations: 12.03 kB / 0.8522 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.1581, allocations: 25.36 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1584, allocations: 191.6 kB / 0.8524 GB, free: 15.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1584, allocations: 8.609 kB / 0.8524 GB, free: 15.26 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.1584, allocations: 28.55 kB / 0.8524 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.1587, allocations: 191 kB / 0.8526 GB, free: 15.03 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1587, allocations: 0.6875 kB / 0.8526 GB, free: 15.03 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1587, allocations: 8 kB / 0.8526 GB, free: 15.02 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1587, allocations: 0.5938 kB / 0.8526 GB, free: 15.02 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.1589, allocations: 150.8 kB / 0.8528 GB, free: 14.87 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.1595, allocations: 478.6 kB / 0.8532 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.1598, allocations: 173.5 kB / 0.8534 GB, free: 14.19 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1599, allocations: 99.05 kB / 0.8535 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.1599, allocations: 0.7188 kB / 0.8535 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.1602, allocations: 239.2 kB / 0.8537 GB, free: 13.82 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.664e-06/0.1602, allocations: 0.5938 kB / 0.8537 GB, free: 13.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009685/0.1612, allocations: 0.6959 MB / 0.8544 GB, free: 13.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.1612, allocations: 133 kB / 0.8545 GB, free: 12.91 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1614, allocations: 219.6 kB / 0.8547 GB, free: 12.69 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1614, allocations: 33.69 kB / 0.8548 GB, free: 12.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.1615, allocations: 133.1 kB / 0.8549 GB, free: 12.52 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.1615, allocations: 67.92 kB / 0.855 GB, free: 12.45 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.1616, allocations: 61.66 kB / 0.855 GB, free: 12.38 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.1617, allocations: 335.4 kB / 0.8553 GB, free: 12.05 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1618, allocations: 145.6 kB / 0.8555 GB, free: 11.89 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2972/0.459, allocations: 226.1 kB / 0.8557 GB, free: 30.2 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.4593, allocations: 278.7 kB / 0.856 GB, free: 30.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4593, allocations: 4.375 kB / 0.856 GB, free: 30.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004417/0.4597, allocations: 390.1 kB / 0.8563 GB, free: 29.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.4598, allocations: 67.52 kB / 0.8564 GB, free: 29.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4598, allocations: 1.062 kB / 0.8564 GB, free: 29.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.4598, allocations: 3.75 kB / 0.8564 GB, free: 29.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.46, allocations: 51.77 kB / 0.8565 GB, free: 29.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.46, allocations: 8.031 kB / 0.8565 GB, free: 29.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.4601, allocations: 14.77 kB / 0.8565 GB, free: 29.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.4601, allocations: 13.88 kB / 0.8565 GB, free: 29.82 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.0002083/0.4603, allocations: 179.2 kB / 0.8567 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.4604, allocations: 22.7 kB / 0.8567 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.4604, allocations: 24.66 kB / 0.8567 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4604, allocations: 7.344 kB / 0.8567 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4604, allocations: 0.5 kB / 0.8567 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4604, allocations: 1.922 kB / 0.8567 GB, free: 29.66 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.461, allocations: 0.5335 MB / 0.8572 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4611, allocations: 0 / 0.8572 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.4612, allocations: 46.39 kB / 0.8573 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4612, allocations: 0 / 0.8573 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.4612, allocations: 6.469 kB / 0.8573 GB, free: 29.37 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4612, allocations: 5.375 kB / 0.8573 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4612, allocations: 3.594 kB / 0.8573 GB, free: 29.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/0.4617, allocations: 496.9 kB / 0.8578 GB, free: 29.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.4617, allocations: 20.31 kB / 0.8578 GB, free: 29.14 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.4618, allocations: 6.625 kB / 0.8578 GB, free: 29.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.4619, allocations: 14.62 kB / 0.8578 GB, free: 29.14 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.462, allocations: 20.19 kB / 0.8578 GB, free: 29.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.462, allocations: 9.156 kB / 0.8578 GB, free: 29.14 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001217/0.4621, allocations: 160.9 kB / 0.858 GB, free: 29.06 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4621, allocations: 0 / 0.858 GB, free: 29.06 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000236/0.4623, allocations: 58.22 kB / 0.8581 GB, free: 29.06 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.0001383/0.4625, allocations: 123.2 kB / 0.8582 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004646/0.463, allocations: 376.2 kB / 0.8585 GB, free: 28.74 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.463, allocations: 3.312 kB / 0.8585 GB, free: 28.74 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.4631, allocations: 171 kB / 0.8587 GB, free: 28.64 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.4635, allocations: 70.28 kB / 0.8588 GB, free: 28.64 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.4646, allocations: 0.7018 MB / 0.8594 GB, free: 28.33 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.742e-05/0.4647, allocations: 127.1 kB / 0.8596 GB, free: 28.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.4648, allocations: 20.84 kB / 0.8596 GB, free: 28.25 MB / 490.8 MB Notification: Performance of SimCode: time 8.32e-07/0.4648, allocations: 0 / 0.8596 GB, free: 28.25 MB / 490.8 MB Notification: Performance of Templates: time 0.005761/0.4706, allocations: 2.951 MB / 0.8625 GB, free: 28.04 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin_Jungbluth1989_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.093562421388924]