Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.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.001304/0.001304, allocations: 104.4 kB / 19.71 MB, free: 436 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.001474/0.001474, allocations: 215.5 kB / 23 MB, free: 2.938 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.21/1.21, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.8012/0.8012, allocations: 312.3 MB / 0.6109 GB, free: 97.5 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin") [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.001453/0.001453, allocations: 78.84 kB / 0.7699 GB, free: 20.09 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1458, allocations: 73.98 MB / 0.8422 GB, free: 10.25 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin): time 0.003578/0.1494, allocations: 2.316 MB / 0.8444 GB, free: 7.934 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006986/0.1564, allocations: 6.521 MB / 0.8508 GB, free: 1.41 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.1566, allocations: 8.531 kB / 0.8508 GB, free: 1.402 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1568, allocations: 23.72 kB / 0.8508 GB, free: 1.379 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.157, allocations: 80.48 kB / 0.8509 GB, free: 1.301 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1573, allocations: 56.48 kB / 0.851 GB, free: 1.246 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.1576, allocations: 251.4 kB / 0.8512 GB, free: 1 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1578, allocations: 41.06 kB / 0.8512 GB, free: 0.9609 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.1579, allocations: 99.58 kB / 0.8513 GB, free: 0.8633 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1581, allocations: 100.1 kB / 0.8514 GB, free: 0.7656 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.1582, allocations: 16.53 kB / 0.8514 GB, free: 0.75 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.089e-05/0.1582, allocations: 20.59 kB / 0.8515 GB, free: 0.7305 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.1582, allocations: 31.86 kB / 0.8515 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.1583, allocations: 96.06 kB / 0.8516 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.1586, allocations: 199.2 kB / 0.8518 GB, free: 420 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1586, allocations: 0.75 kB / 0.8518 GB, free: 420 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1586, allocations: 0 / 0.8518 GB, free: 420 kB / 474.8 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1586, allocations: 0.5 kB / 0.8518 GB, free: 420 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.0007665/0.1594, allocations: 0.4909 MB / 0.8523 GB, free: 15.88 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1594, allocations: 8.031 kB / 0.8523 GB, free: 15.87 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.1595, allocations: 25.33 kB / 0.8523 GB, free: 15.84 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1597, allocations: 183.9 kB / 0.8525 GB, free: 15.64 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1597, allocations: 8.609 kB / 0.8525 GB, free: 15.63 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.1598, allocations: 24.48 kB / 0.8525 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.16, allocations: 183.2 kB / 0.8527 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.16, allocations: 3.984 kB / 0.8527 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1601, allocations: 8.656 kB / 0.8527 GB, free: 15.4 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1601, allocations: 4 kB / 0.8527 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.1603, allocations: 143.3 kB / 0.8528 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.1609, allocations: 494.4 kB / 0.8533 GB, free: 14.73 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.1613, allocations: 173.9 kB / 0.8535 GB, free: 14.55 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1614, allocations: 91.16 kB / 0.8535 GB, free: 14.45 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.1614, allocations: 7.938 kB / 0.8536 GB, free: 14.45 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.1617, allocations: 221.8 kB / 0.8538 GB, free: 14.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 3.186e-06/0.1617, allocations: 0.5938 kB / 0.8538 GB, free: 14.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001107/0.1628, allocations: 0.7078 MB / 0.8545 GB, free: 13.43 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.292e-05/0.1629, allocations: 132.5 kB / 0.8546 GB, free: 13.27 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1631, allocations: 219.5 kB / 0.8548 GB, free: 13.05 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1631, allocations: 30.33 kB / 0.8548 GB, free: 13.01 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.1632, allocations: 136.5 kB / 0.855 GB, free: 12.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.1632, allocations: 72 kB / 0.855 GB, free: 12.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.1633, allocations: 58.25 kB / 0.8551 GB, free: 12.74 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.1634, allocations: 338.8 kB / 0.8554 GB, free: 12.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.1635, allocations: 145.6 kB / 0.8555 GB, free: 12.24 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3301/0.4936, allocations: 222.5 kB / 0.8558 GB, free: 30.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.494, allocations: 281 kB / 0.856 GB, free: 30.24 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.494, allocations: 0 / 0.856 GB, free: 30.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004393/0.4945, allocations: 393.6 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.4945, allocations: 62.69 kB / 0.8565 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4945, allocations: 2.344 kB / 0.8565 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.4945, allocations: 5.719 kB / 0.8565 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.4947, allocations: 51.89 kB / 0.8565 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4947, allocations: 5.625 kB / 0.8565 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.4948, allocations: 17.38 kB / 0.8565 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.4948, allocations: 14.41 kB / 0.8565 GB, free: 30.02 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.0001824/0.495, allocations: 175 kB / 0.8567 GB, free: 29.87 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.495, allocations: 23.91 kB / 0.8567 GB, free: 29.87 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.4951, allocations: 28.94 kB / 0.8568 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.4951, allocations: 3.375 kB / 0.8568 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4951, allocations: 2.531 kB / 0.8568 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4951, allocations: 0 / 0.8568 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.4957, allocations: 0.535 MB / 0.8573 GB, free: 29.56 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4957, allocations: 0 / 0.8573 GB, free: 29.56 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.4958, allocations: 36.44 kB / 0.8573 GB, free: 29.56 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4958, allocations: 5.031 kB / 0.8573 GB, free: 29.56 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4959, allocations: 4.672 kB / 0.8573 GB, free: 29.56 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4959, allocations: 3.938 kB / 0.8573 GB, free: 29.56 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4959, allocations: 0.7656 kB / 0.8573 GB, free: 29.56 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.4963, allocations: 0.4943 MB / 0.8578 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.4964, allocations: 21.53 kB / 0.8578 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.4964, allocations: 9.5 kB / 0.8579 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.949e-05/0.4965, allocations: 16.19 kB / 0.8579 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.4966, allocations: 23.91 kB / 0.8579 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.4966, allocations: 5.578 kB / 0.8579 GB, free: 29.33 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001055/0.4967, allocations: 158.5 kB / 0.858 GB, free: 29.25 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4967, allocations: 0 / 0.858 GB, free: 29.25 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002184/0.4969, allocations: 54.91 kB / 0.8581 GB, free: 29.25 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.0001134/0.497, allocations: 124.4 kB / 0.8582 GB, free: 29.16 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.4974, allocations: 378.6 kB / 0.8586 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4974, allocations: 2.406 kB / 0.8586 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.4976, allocations: 173.4 kB / 0.8587 GB, free: 28.84 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.4979, allocations: 70.92 kB / 0.8588 GB, free: 28.83 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4989, allocations: 0.6972 MB / 0.8595 GB, free: 28.53 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.659e-05/0.499, allocations: 125.5 kB / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.4991, allocations: 23.39 kB / 0.8596 GB, free: 28.44 MB / 490.8 MB Notification: Performance of SimCode: time 8.22e-07/0.4991, allocations: 0.5312 kB / 0.8596 GB, free: 28.44 MB / 490.8 MB Notification: Performance of Templates: time 0.005178/0.5042, allocations: 2.952 MB / 0.8625 GB, free: 28.22 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA10_Mezlocillin.Mezlocillin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.543320659548044]