Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_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.00138/0.00138, allocations: 108.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.00112/0.00112, allocations: 217.3 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.135/1.135, 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.8603/0.8603, allocations: 312.3 MB / 0.6108 GB, free: 97.03 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.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_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.002568/0.002568, allocations: 81.59 kB / 0.7699 GB, free: 19.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1544, allocations: 73.98 MB / 0.8421 GB, free: 9.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_reference): time 0.002831/0.1572, allocations: 2.293 MB / 0.8444 GB, free: 7.59 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005966/0.1632, allocations: 6.521 MB / 0.8507 GB, free: 1.066 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1633, allocations: 4.5 kB / 0.8507 GB, free: 1.062 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.1635, allocations: 31.66 kB / 0.8508 GB, free: 1.031 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.1637, allocations: 80.44 kB / 0.8509 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1639, allocations: 52.44 kB / 0.8509 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.1642, allocations: 263.3 kB / 0.8512 GB, free: 0.6445 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.1644, allocations: 37.19 kB / 0.8512 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1645, allocations: 95.66 kB / 0.8513 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1647, allocations: 100.1 kB / 0.8514 GB, free: 428 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.1647, allocations: 16.59 kB / 0.8514 GB, free: 412 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.821e-05/0.1648, allocations: 16 kB / 0.8514 GB, free: 396 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.1648, allocations: 40.47 kB / 0.8514 GB, free: 356 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.1649, allocations: 96.2 kB / 0.8515 GB, free: 260 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.1651, allocations: 199.1 kB / 0.8517 GB, free: 60 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1651, allocations: 0.625 kB / 0.8517 GB, free: 60 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1651, allocations: 0 / 0.8517 GB, free: 60 kB / 474.8 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1651, allocations: 0.5 kB / 0.8517 GB, free: 60 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.0007797/0.1659, allocations: 498.9 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.166, allocations: 8.031 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.166, allocations: 25.39 kB / 0.8522 GB, free: 15.49 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1662, allocations: 179.9 kB / 0.8524 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1662, allocations: 12.61 kB / 0.8524 GB, free: 15.28 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.1663, allocations: 20.52 kB / 0.8524 GB, free: 15.26 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.1666, allocations: 190.9 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.1666, allocations: 4 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1666, allocations: 0.5625 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1666, allocations: 4.5 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.1668, allocations: 147 kB / 0.8528 GB, free: 14.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.1675, allocations: 490.6 kB / 0.8532 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.1678, allocations: 173.3 kB / 0.8534 GB, free: 14.2 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1679, allocations: 107.7 kB / 0.8535 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.168, allocations: 0 / 0.8535 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.1682, allocations: 233.5 kB / 0.8537 GB, free: 13.84 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.1682, allocations: 0 / 0.8537 GB, free: 13.84 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001246/0.1695, allocations: 0.6894 MB / 0.8544 GB, free: 13.09 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.1696, allocations: 145.2 kB / 0.8545 GB, free: 12.91 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1697, allocations: 214.9 kB / 0.8547 GB, free: 12.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1697, allocations: 34.23 kB / 0.8548 GB, free: 12.66 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.1698, allocations: 128.5 kB / 0.8549 GB, free: 12.53 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.1699, allocations: 76.12 kB / 0.855 GB, free: 12.45 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.1699, allocations: 54.31 kB / 0.855 GB, free: 12.39 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.17, allocations: 338.8 kB / 0.8553 GB, free: 12.05 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1702, allocations: 141.6 kB / 0.8555 GB, free: 11.9 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3422/0.5124, allocations: 225.1 kB / 0.8557 GB, free: 30.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.5127, allocations: 279.6 kB / 0.856 GB, free: 30.06 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5127, allocations: 1.031 kB / 0.856 GB, free: 30.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004931/0.5132, allocations: 394.5 kB / 0.8563 GB, free: 29.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.5132, allocations: 64.28 kB / 0.8564 GB, free: 29.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5132, allocations: 1.531 kB / 0.8564 GB, free: 29.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.5133, allocations: 12.25 kB / 0.8564 GB, free: 29.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.5134, allocations: 46.25 kB / 0.8565 GB, free: 29.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.5134, allocations: 7.562 kB / 0.8565 GB, free: 29.84 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.5136, allocations: 21.14 kB / 0.8565 GB, free: 29.84 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.5136, allocations: 7.547 kB / 0.8565 GB, free: 29.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.0002556/0.5139, allocations: 181.6 kB / 0.8567 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.5139, allocations: 26.64 kB / 0.8567 GB, free: 29.69 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.5139, allocations: 25.45 kB / 0.8567 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.514, allocations: 3.375 kB / 0.8567 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.514, allocations: 0 / 0.8567 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.514, allocations: 3.281 kB / 0.8567 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006853/0.5147, allocations: 0.5425 MB / 0.8573 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5147, allocations: 0 / 0.8573 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.5148, allocations: 29.8 kB / 0.8573 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.5148, allocations: 3 kB / 0.8573 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.5148, allocations: 9.656 kB / 0.8573 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.5148, allocations: 5.219 kB / 0.8573 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.5148, allocations: 1.797 kB / 0.8573 GB, free: 29.38 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.5153, allocations: 498.8 kB / 0.8578 GB, free: 29.15 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.5154, allocations: 22.67 kB / 0.8578 GB, free: 29.15 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.5154, allocations: 8.406 kB / 0.8578 GB, free: 29.15 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.5155, allocations: 15.06 kB / 0.8578 GB, free: 29.15 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.5156, allocations: 26.34 kB / 0.8578 GB, free: 29.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.5156, allocations: 4.484 kB / 0.8579 GB, free: 29.15 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001253/0.5157, allocations: 163.2 kB / 0.858 GB, free: 29.08 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5157, allocations: 2.969 kB / 0.858 GB, free: 29.08 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002173/0.516, allocations: 54.84 kB / 0.8581 GB, free: 29.08 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.0001334/0.5161, allocations: 127.7 kB / 0.8582 GB, free: 28.98 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004045/0.5165, allocations: 377.6 kB / 0.8585 GB, free: 28.76 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5165, allocations: 0 / 0.8585 GB, free: 28.76 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.5166, allocations: 167.9 kB / 0.8587 GB, free: 28.66 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.517, allocations: 65.42 kB / 0.8588 GB, free: 28.66 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.5182, allocations: 0.697 MB / 0.8594 GB, free: 28.35 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.7e-05/0.5183, allocations: 129.6 kB / 0.8596 GB, free: 28.27 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.5184, allocations: 32.52 kB / 0.8596 GB, free: 28.26 MB / 490.8 MB Notification: Performance of SimCode: time 1.683e-06/0.5184, allocations: 0.5312 kB / 0.8596 GB, free: 28.26 MB / 490.8 MB Notification: Performance of Templates: time 0.006034/0.5244, allocations: 2.938 MB / 0.8625 GB, free: 28.05 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA12_Piperacillin.Piperacillin_Sulaiman2026_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.147319711744785]