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.001408/0.001408, 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.001534/0.001534, allocations: 215.5 kB / 23 MB, free: 2.949 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.044/1.044, allocations: 230.6 MB / 256.8 MB, free: 9.633 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.811/0.811, allocations: 312.4 MB / 0.6109 GB, free: 97.79 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.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.00148/0.00148, allocations: 76.28 kB / 0.77 GB, free: 20.24 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1559, allocations: 73.99 MB / 0.8422 GB, free: 10.39 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem): time 0.00314/0.159, allocations: 2.718 MB / 0.8449 GB, free: 7.668 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005788/0.1648, allocations: 6.61 MB / 0.8513 GB, free: 1.059 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1649, allocations: 3.938 kB / 0.8513 GB, free: 1.055 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.1651, allocations: 40.23 kB / 0.8514 GB, free: 1.016 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.1653, allocations: 116.3 kB / 0.8515 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.1656, allocations: 76.34 kB / 0.8516 GB, free: 0.8281 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006513/0.1663, allocations: 378.8 kB / 0.8519 GB, free: 468 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.1665, allocations: 57.52 kB / 0.852 GB, free: 412 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.1667, allocations: 135.5 kB / 0.8521 GB, free: 276 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.167, allocations: 139.9 kB / 0.8522 GB, free: 136 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.167, allocations: 28.5 kB / 0.8523 GB, free: 108 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.937e-05/0.1671, allocations: 24.62 kB / 0.8523 GB, free: 84 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.1671, allocations: 59.7 kB / 0.8523 GB, free: 24 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1672, allocations: 136 kB / 0.8525 GB, free: 15.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.1676, allocations: 287.3 kB / 0.8527 GB, free: 15.61 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1676, allocations: 0 / 0.8527 GB, free: 15.61 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1676, allocations: 0.7188 kB / 0.8527 GB, free: 15.61 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1676, allocations: 4 kB / 0.8528 GB, free: 15.61 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.001027/0.1686, allocations: 0.5981 MB / 0.8533 GB, free: 14.96 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.1687, allocations: 12.62 kB / 0.8533 GB, free: 14.95 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.182e-05/0.1688, allocations: 33.25 kB / 0.8534 GB, free: 14.91 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.169, allocations: 209.1 kB / 0.8536 GB, free: 14.68 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1691, allocations: 13.38 kB / 0.8536 GB, free: 14.67 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.1691, allocations: 28.66 kB / 0.8536 GB, free: 14.64 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.1695, allocations: 288.4 kB / 0.8539 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1695, allocations: 7.891 kB / 0.8539 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.1695, allocations: 8.562 kB / 0.8539 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1695, allocations: 4.625 kB / 0.8539 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.1698, allocations: 229.1 kB / 0.8541 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000817/0.1706, allocations: 0.6816 MB / 0.8548 GB, free: 13.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.171, allocations: 239.4 kB / 0.855 GB, free: 13.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1711, allocations: 149.1 kB / 0.8552 GB, free: 12.95 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.1711, allocations: 0 / 0.8552 GB, free: 12.95 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.1715, allocations: 360 kB / 0.8555 GB, free: 12.55 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.422e-06/0.1715, allocations: 0 / 0.8555 GB, free: 12.55 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3527/0.5241, allocations: 1.08 MB / 0.8566 GB, free: 30.52 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.5242, allocations: 219.3 kB / 0.8568 GB, free: 30.27 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.5245, allocations: 251.5 kB / 0.857 GB, free: 30.17 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.5245, allocations: 38.11 kB / 0.8571 GB, free: 30.14 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.5246, allocations: 158.6 kB / 0.8572 GB, free: 30.05 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/0.5247, allocations: 109.1 kB / 0.8573 GB, free: 29.99 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.5248, allocations: 78.38 kB / 0.8574 GB, free: 29.97 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.5249, allocations: 344.8 kB / 0.8577 GB, free: 29.66 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.5251, allocations: 209 kB / 0.8579 GB, free: 29.56 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.5254, allocations: 314.6 kB / 0.8582 GB, free: 29.33 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.5258, allocations: 430.3 kB / 0.8586 GB, free: 29.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5258, allocations: 2.25 kB / 0.8586 GB, free: 29.07 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006847/0.5265, allocations: 0.5493 MB / 0.8592 GB, free: 28.83 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/0.5265, allocations: 94.44 kB / 0.8592 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5266, allocations: 7.312 kB / 0.8593 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/0.5266, allocations: 6.219 kB / 0.8593 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.5268, allocations: 84.14 kB / 0.8593 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.5268, allocations: 7.469 kB / 0.8593 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.527, allocations: 19.5 kB / 0.8594 GB, free: 28.73 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.527, allocations: 15.84 kB / 0.8594 GB, free: 28.73 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.0003231/0.5274, allocations: 225.3 kB / 0.8596 GB, free: 28.55 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.5274, allocations: 35.38 kB / 0.8596 GB, free: 28.54 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.5275, allocations: 39.2 kB / 0.8597 GB, free: 28.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.5275, allocations: 2.344 kB / 0.8597 GB, free: 28.52 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.5275, allocations: 0 / 0.8597 GB, free: 28.52 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.5275, allocations: 4.422 kB / 0.8597 GB, free: 28.52 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.5285, allocations: 0.7598 MB / 0.8604 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.5285, allocations: 3.031 kB / 0.8604 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.5288, allocations: 56.23 kB / 0.8605 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.5288, allocations: 1.625 kB / 0.8605 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.5288, allocations: 8.375 kB / 0.8605 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.5288, allocations: 1.531 kB / 0.8605 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5288, allocations: 0 / 0.8605 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.5297, allocations: 0.732 MB / 0.8612 GB, free: 27.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.5297, allocations: 26.44 kB / 0.8612 GB, free: 27.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.5298, allocations: 9.906 kB / 0.8612 GB, free: 27.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.5299, allocations: 20.11 kB / 0.8613 GB, free: 27.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.53, allocations: 31.84 kB / 0.8613 GB, free: 27.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.5301, allocations: 12.22 kB / 0.8613 GB, free: 27.79 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001744/0.5302, allocations: 176.2 kB / 0.8615 GB, free: 27.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 4e-08/0.5302, allocations: 0.5 kB / 0.8615 GB, free: 27.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003722/0.5306, allocations: 90.55 kB / 0.8616 GB, free: 27.7 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.0001983/0.5308, allocations: 122.3 kB / 0.8617 GB, free: 27.61 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006865/0.5315, allocations: 0.5673 MB / 0.8622 GB, free: 27.25 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5315, allocations: 0.5938 kB / 0.8622 GB, free: 27.25 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.5318, allocations: 303.1 kB / 0.8625 GB, free: 27.06 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.5323, allocations: 90.88 kB / 0.8626 GB, free: 27.06 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.5341, allocations: 0.966 MB / 0.8635 GB, free: 26.59 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.5344, allocations: 156.5 kB / 0.8637 GB, free: 26.51 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.5345, allocations: 27.77 kB / 0.8637 GB, free: 26.5 MB / 490.8 MB Notification: Performance of SimCode: time 1.904e-06/0.5345, allocations: 7.75 kB / 0.8637 GB, free: 26.5 MB / 490.8 MB Notification: Performance of Templates: time 0.013/0.5475, allocations: 4.011 MB / 0.8676 GB, free: 26.14 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 > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.603479661047459]