Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_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.001334/0.001334, allocations: 108.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.001416/0.001416, allocations: 215.9 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.151/1.151, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.8636/0.8636, allocations: 312.3 MB / 0.6108 GB, free: 97.52 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.J01DB04_Cefazolin.Cefazolin_Ryan2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_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.001494/0.001494, allocations: 77.34 kB / 0.7699 GB, free: 20.27 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1535, allocations: 73.98 MB / 0.8421 GB, free: 10.41 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_reference): time 0.002865/0.1564, allocations: 2.308 MB / 0.8444 GB, free: 8.105 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005493/0.1619, allocations: 6.525 MB / 0.8508 GB, free: 1.578 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.162, allocations: 4 kB / 0.8508 GB, free: 1.574 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.1621, allocations: 24.25 kB / 0.8508 GB, free: 1.551 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1623, allocations: 84.38 kB / 0.8509 GB, free: 1.469 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1625, allocations: 48.55 kB / 0.8509 GB, free: 1.422 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.1628, allocations: 259.2 kB / 0.8512 GB, free: 1.168 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1629, allocations: 36.58 kB / 0.8512 GB, free: 1.133 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1631, allocations: 104.2 kB / 0.8513 GB, free: 1.031 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1632, allocations: 92.14 kB / 0.8514 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.1633, allocations: 16 kB / 0.8514 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.784e-05/0.1633, allocations: 16.59 kB / 0.8514 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.1633, allocations: 44.45 kB / 0.8514 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/0.1634, allocations: 87.55 kB / 0.8515 GB, free: 0.7812 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1636, allocations: 199.8 kB / 0.8517 GB, free: 0.5859 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1636, allocations: 0.625 kB / 0.8517 GB, free: 0.5859 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1636, allocations: 0 / 0.8517 GB, free: 0.5859 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1636, allocations: 0.5 kB / 0.8517 GB, free: 0.5859 MB / 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.0006829/0.1643, allocations: 0.4895 MB / 0.8522 GB, free: 56 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1644, allocations: 12.03 kB / 0.8522 GB, free: 44 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.1644, allocations: 29.42 kB / 0.8522 GB, free: 16 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.1646, allocations: 183.1 kB / 0.8524 GB, free: 15.81 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1647, allocations: 9.328 kB / 0.8524 GB, free: 15.8 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.1647, allocations: 23.89 kB / 0.8524 GB, free: 15.78 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.1649, allocations: 187 kB / 0.8526 GB, free: 15.58 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1649, allocations: 8.516 kB / 0.8526 GB, free: 15.57 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.165, allocations: 12.44 kB / 0.8526 GB, free: 15.56 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.165, allocations: 0 / 0.8526 GB, free: 15.56 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.1652, allocations: 147.5 kB / 0.8528 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.1657, allocations: 482.6 kB / 0.8532 GB, free: 14.91 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.1661, allocations: 177.2 kB / 0.8534 GB, free: 14.72 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1662, allocations: 95.14 kB / 0.8535 GB, free: 14.62 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.1662, allocations: 4.625 kB / 0.8535 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002948/0.1665, allocations: 229.2 kB / 0.8537 GB, free: 14.36 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.1665, allocations: 0.5312 kB / 0.8537 GB, free: 14.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001125/0.1676, allocations: 0.7005 MB / 0.8544 GB, free: 13.6 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.1677, allocations: 137.1 kB / 0.8545 GB, free: 13.43 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1678, allocations: 219.5 kB / 0.8548 GB, free: 13.21 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1678, allocations: 29.7 kB / 0.8548 GB, free: 13.18 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.1679, allocations: 133 kB / 0.8549 GB, free: 13.04 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.168, allocations: 72.05 kB / 0.855 GB, free: 12.97 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.168, allocations: 57.66 kB / 0.855 GB, free: 12.91 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.1681, allocations: 335.5 kB / 0.8554 GB, free: 12.57 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1683, allocations: 149.6 kB / 0.8555 GB, free: 12.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.1684, allocations: 218 kB / 0.8557 GB, free: 12.15 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3108/0.4793, allocations: 275.4 kB / 0.856 GB, free: 30.35 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4793, allocations: 0.9062 kB / 0.856 GB, free: 30.35 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004737/0.4798, allocations: 392.7 kB / 0.8563 GB, free: 30.19 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.4798, allocations: 66.22 kB / 0.8564 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4798, allocations: 1.344 kB / 0.8564 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.4798, allocations: 4.641 kB / 0.8564 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.48, allocations: 52.25 kB / 0.8565 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.48, allocations: 4.312 kB / 0.8565 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.4801, allocations: 21.39 kB / 0.8565 GB, free: 30.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.4801, allocations: 12.47 kB / 0.8565 GB, free: 30.13 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.0001723/0.4803, allocations: 172.2 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.4803, allocations: 23.34 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.4803, allocations: 24.31 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4803, allocations: 6.094 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4804, allocations: 2.141 kB / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4804, allocations: 0 / 0.8567 GB, free: 29.98 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.4809, allocations: 0.5379 MB / 0.8572 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4809, allocations: 3.938 kB / 0.8572 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.953e-05/0.481, allocations: 36.33 kB / 0.8573 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.481, allocations: 0.6562 kB / 0.8573 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.481, allocations: 5.344 kB / 0.8573 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.481, allocations: 10.44 kB / 0.8573 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.481, allocations: 1.391 kB / 0.8573 GB, free: 29.68 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.4814, allocations: 0.4921 MB / 0.8578 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.4814, allocations: 23.83 kB / 0.8578 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.4815, allocations: 7.188 kB / 0.8578 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.4815, allocations: 18.39 kB / 0.8578 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.4816, allocations: 20.58 kB / 0.8578 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4816, allocations: 7.75 kB / 0.8578 GB, free: 29.45 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.714e-05/0.4817, allocations: 158.8 kB / 0.858 GB, free: 29.38 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4817, allocations: 0 / 0.858 GB, free: 29.38 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001929/0.4819, allocations: 54.03 kB / 0.8581 GB, free: 29.38 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 8.146e-05/0.482, allocations: 118 kB / 0.8582 GB, free: 29.29 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000327/0.4823, allocations: 381 kB / 0.8585 GB, free: 29.07 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4823, allocations: 0.6562 kB / 0.8585 GB, free: 29.07 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.4824, allocations: 171.9 kB / 0.8587 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.4827, allocations: 72.12 kB / 0.8588 GB, free: 28.96 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008445/0.4836, allocations: 0.6982 MB / 0.8594 GB, free: 28.66 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.498e-05/0.4836, allocations: 126.8 kB / 0.8596 GB, free: 28.58 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/0.4837, allocations: 23.66 kB / 0.8596 GB, free: 28.57 MB / 490.8 MB Notification: Performance of SimCode: time 8.41e-07/0.4837, allocations: 0.625 kB / 0.8596 GB, free: 28.57 MB / 490.8 MB Notification: Performance of Templates: time 0.00388/0.4876, allocations: 2.951 MB / 0.8625 GB, free: 28.35 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin_Ryan2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.000348722562194]