Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_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.001608/0.001608, allocations: 104.3 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.00169/0.00169, allocations: 220.4 kB / 23 MB, free: 2.969 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.113/1.113, 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.8374/0.8374, allocations: 312.3 MB / 0.6108 GB, free: 97.16 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_Muangkasem2025_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_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.001607/0.001607, allocations: 74.41 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1532, allocations: 73.99 MB / 0.8421 GB, free: 9.762 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_reference): time 0.004023/0.1572, allocations: 2.694 MB / 0.8448 GB, free: 7.07 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0072/0.1644, allocations: 6.605 MB / 0.8512 GB, free: 476 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.1646, allocations: 0.7188 kB / 0.8512 GB, free: 476 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.1647, allocations: 39.58 kB / 0.8513 GB, free: 436 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.165, allocations: 120.7 kB / 0.8514 GB, free: 316 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.1654, allocations: 72.47 kB / 0.8515 GB, free: 244 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.1658, allocations: 374.3 kB / 0.8518 GB, free: 15.87 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.166, allocations: 61.47 kB / 0.8519 GB, free: 15.81 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1661, allocations: 135.5 kB / 0.852 GB, free: 15.68 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.1664, allocations: 140.6 kB / 0.8521 GB, free: 15.54 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.1665, allocations: 24 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.201e-05/0.1665, allocations: 24.59 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.1666, allocations: 59.7 kB / 0.8522 GB, free: 15.44 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1667, allocations: 136.1 kB / 0.8524 GB, free: 15.3 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.167, allocations: 298.7 kB / 0.8526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.167, allocations: 0.75 kB / 0.8526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.006e-06/0.167, allocations: 0 / 0.8526 GB, free: 15.01 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.167, allocations: 0.625 kB / 0.8526 GB, free: 15.01 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.0009749/0.168, allocations: 0.5923 MB / 0.8532 GB, free: 14.37 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.1681, allocations: 8.719 kB / 0.8532 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.1681, allocations: 36.73 kB / 0.8533 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1684, allocations: 205.6 kB / 0.8535 GB, free: 14.1 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.1685, allocations: 21.36 kB / 0.8535 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.1685, allocations: 23.94 kB / 0.8535 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.1689, allocations: 285.1 kB / 0.8538 GB, free: 13.76 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.1689, allocations: 11.89 kB / 0.8538 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.1689, allocations: 12.5 kB / 0.8538 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1689, allocations: 4.594 kB / 0.8538 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.1692, allocations: 233 kB / 0.854 GB, free: 13.49 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009404/0.1702, allocations: 0.6778 MB / 0.8547 GB, free: 12.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.1706, allocations: 235.9 kB / 0.8549 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1708, allocations: 153.8 kB / 0.8551 GB, free: 12.36 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1708, allocations: 4 kB / 0.8551 GB, free: 12.35 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/0.1712, allocations: 354.8 kB / 0.8554 GB, free: 11.96 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.774e-06/0.1712, allocations: 3.938 kB / 0.8554 GB, free: 11.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3348/0.5059, allocations: 1.084 MB / 0.8565 GB, free: 21 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.506, allocations: 217.5 kB / 0.8567 GB, free: 20.75 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.5062, allocations: 253.5 kB / 0.8569 GB, free: 20.64 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.5062, allocations: 36.36 kB / 0.857 GB, free: 20.61 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.5063, allocations: 157 kB / 0.8571 GB, free: 20.51 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.5063, allocations: 113.4 kB / 0.8572 GB, free: 20.46 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.5064, allocations: 75 kB / 0.8573 GB, free: 20.44 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.5065, allocations: 343.3 kB / 0.8576 GB, free: 20.12 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.5067, allocations: 207.2 kB / 0.8578 GB, free: 20.02 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.5069, allocations: 318.4 kB / 0.8581 GB, free: 19.79 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.5072, allocations: 431.2 kB / 0.8585 GB, free: 19.53 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5072, allocations: 2.719 kB / 0.8585 GB, free: 19.53 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004608/0.5077, allocations: 0.5505 MB / 0.8591 GB, free: 19.29 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.5077, allocations: 93.22 kB / 0.8592 GB, free: 19.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.5077, allocations: 5.5 kB / 0.8592 GB, free: 19.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.5077, allocations: 4.656 kB / 0.8592 GB, free: 19.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.5079, allocations: 80.81 kB / 0.8592 GB, free: 19.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.5079, allocations: 9.266 kB / 0.8592 GB, free: 19.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.508, allocations: 20.06 kB / 0.8593 GB, free: 19.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.5081, allocations: 18.19 kB / 0.8593 GB, free: 19.2 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.0001807/0.5082, allocations: 225.8 kB / 0.8595 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.5083, allocations: 33.03 kB / 0.8595 GB, free: 19 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.5083, allocations: 29.69 kB / 0.8596 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5083, allocations: 3.688 kB / 0.8596 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.5083, allocations: 3.25 kB / 0.8596 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5083, allocations: 0.9844 kB / 0.8596 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006764/0.509, allocations: 0.7572 MB / 0.8603 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.509, allocations: 0.7656 kB / 0.8603 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.5092, allocations: 64.45 kB / 0.8604 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.5092, allocations: 0 / 0.8604 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.5092, allocations: 12.12 kB / 0.8604 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5092, allocations: 0 / 0.8604 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5092, allocations: 4.438 kB / 0.8604 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005817/0.5098, allocations: 0.7397 MB / 0.8611 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.5098, allocations: 21.08 kB / 0.8611 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.5098, allocations: 12.81 kB / 0.8611 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.5099, allocations: 15.47 kB / 0.8612 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/0.51, allocations: 37.81 kB / 0.8612 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.5101, allocations: 10.39 kB / 0.8612 GB, free: 18.26 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001087/0.5102, allocations: 177.9 kB / 0.8614 GB, free: 18.18 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5102, allocations: 0 / 0.8614 GB, free: 18.18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002325/0.5104, allocations: 89.31 kB / 0.8615 GB, free: 18.18 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 9.846e-05/0.5105, allocations: 126.5 kB / 0.8616 GB, free: 18.09 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.511, allocations: 0.5595 MB / 0.8621 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.511, allocations: 0.6875 kB / 0.8621 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.5111, allocations: 302.5 kB / 0.8624 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.5115, allocations: 90.19 kB / 0.8625 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.5127, allocations: 0.9585 MB / 0.8634 GB, free: 17.08 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.5128, allocations: 159.5 kB / 0.8636 GB, free: 17 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.5129, allocations: 28.94 kB / 0.8636 GB, free: 16.99 MB / 490.8 MB Notification: Performance of SimCode: time 4.91e-07/0.5129, allocations: 3.469 kB / 0.8636 GB, free: 16.99 MB / 490.8 MB Notification: Performance of Templates: time 0.006535/0.5194, allocations: 4.033 MB / 0.8676 GB, free: 16.63 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DH03_Ertapenem.Ertapenem_Muangkasem2025_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.005830488167703]