Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_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.001559/0.001559, allocations: 92.5 kB / 19.94 MB, free: 4.605 MB / 18.57 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.001586/0.001586, allocations: 165.8 kB / 23.21 MB, free: 1.34 MB / 18.57 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.022/1.022, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.7274/0.7274, allocations: 291.2 MB / 0.5382 GB, free: 51.84 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.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.053e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.43 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference): time 0.002436/0.002466, allocations: 2.696 MB / 0.7 GB, free: 7.715 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004408/0.006874, allocations: 6.607 MB / 0.7065 GB, free: 1.098 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.007048, allocations: 8 kB / 0.7065 GB, free: 1.09 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.007195, allocations: 35.62 kB / 0.7065 GB, free: 1.055 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.007443, allocations: 127 kB / 0.7066 GB, free: 0.9297 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.007683, allocations: 71.83 kB / 0.7067 GB, free: 0.8594 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.007936, allocations: 393.9 kB / 0.7071 GB, free: 484 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.008096, allocations: 60.83 kB / 0.7071 GB, free: 428 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.00826, allocations: 207.4 kB / 0.7073 GB, free: 220 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.008459, allocations: 123.6 kB / 0.7074 GB, free: 96 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.008492, allocations: 24 kB / 0.7075 GB, free: 72 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.702e-05/0.008519, allocations: 24 kB / 0.7075 GB, free: 48 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.00857, allocations: 55.81 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.00867, allocations: 119.6 kB / 0.7077 GB, free: 15.88 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.008948, allocations: 287.1 kB / 0.7079 GB, free: 15.59 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.008952, allocations: 0 / 0.7079 GB, free: 15.59 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.314e-06/0.008955, allocations: 0 / 0.7079 GB, free: 15.59 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.902e-06/0.008962, allocations: 0 / 0.7079 GB, free: 15.59 MB / 426.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.0008199/0.009782, allocations: 0.6002 MB / 0.7085 GB, free: 14.94 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.009826, allocations: 8.031 kB / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.009888, allocations: 32.75 kB / 0.7086 GB, free: 14.9 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.01013, allocations: 216.7 kB / 0.7088 GB, free: 14.66 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.01015, allocations: 12.75 kB / 0.7088 GB, free: 14.65 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.01019, allocations: 28.38 kB / 0.7088 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.01054, allocations: 296.4 kB / 0.7091 GB, free: 14.32 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.01056, allocations: 7.953 kB / 0.7091 GB, free: 14.31 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.01058, allocations: 8 kB / 0.7091 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.01059, allocations: 4 kB / 0.7091 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.01088, allocations: 236.5 kB / 0.7093 GB, free: 14.05 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.01174, allocations: 0.6757 MB / 0.71 GB, free: 13.34 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.01214, allocations: 238 kB / 0.7102 GB, free: 13.08 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.01229, allocations: 148.5 kB / 0.7104 GB, free: 12.92 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.0123, allocations: 4 kB / 0.7104 GB, free: 12.91 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.01264, allocations: 361.3 kB / 0.7107 GB, free: 12.52 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.01265, allocations: 3.938 kB / 0.7107 GB, free: 12.51 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001355/0.014, allocations: 1.076 MB / 0.7118 GB, free: 11.34 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/0.01409, allocations: 225.5 kB / 0.712 GB, free: 11.07 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.01428, allocations: 241.9 kB / 0.7122 GB, free: 10.83 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.0143, allocations: 33.7 kB / 0.7122 GB, free: 10.79 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.01438, allocations: 164.8 kB / 0.7124 GB, free: 10.62 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.01445, allocations: 119 kB / 0.7125 GB, free: 10.51 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.01453, allocations: 70.19 kB / 0.7126 GB, free: 10.43 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.01462, allocations: 346.7 kB / 0.7129 GB, free: 10.08 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.01482, allocations: 211.9 kB / 0.7131 GB, free: 9.855 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.01504, allocations: 307.2 kB / 0.7134 GB, free: 9.492 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.0154, allocations: 439 kB / 0.7138 GB, free: 8.996 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.0154, allocations: 0 / 0.7138 GB, free: 8.996 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000501/0.0159, allocations: 0.5497 MB / 0.7144 GB, free: 8.402 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.57e-05/0.01596, allocations: 89.11 kB / 0.7144 GB, free: 8.297 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01596, allocations: 4 kB / 0.7145 GB, free: 8.293 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.01598, allocations: 4 kB / 0.7145 GB, free: 8.289 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.01616, allocations: 80.22 kB / 0.7145 GB, free: 8.211 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.01617, allocations: 11.94 kB / 0.7145 GB, free: 8.199 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.01628, allocations: 19.98 kB / 0.7146 GB, free: 8.18 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.0163, allocations: 16 kB / 0.7146 GB, free: 8.164 MB / 426.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.0001941/0.0165, allocations: 227 kB / 0.7148 GB, free: 7.922 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.01653, allocations: 31.81 kB / 0.7148 GB, free: 7.891 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.109e-05/0.01657, allocations: 30.95 kB / 0.7149 GB, free: 7.859 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.01657, allocations: 8 kB / 0.7149 GB, free: 7.852 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.01658, allocations: 0 / 0.7149 GB, free: 7.852 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01658, allocations: 3.984 kB / 0.7149 GB, free: 7.848 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007229/0.01731, allocations: 0.76 MB / 0.7156 GB, free: 7.027 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.01731, allocations: 4 kB / 0.7156 GB, free: 7.023 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.01746, allocations: 55.91 kB / 0.7157 GB, free: 6.969 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01746, allocations: 0 / 0.7157 GB, free: 6.969 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.01748, allocations: 11.98 kB / 0.7157 GB, free: 6.957 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01748, allocations: 3.938 kB / 0.7157 GB, free: 6.953 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.01748, allocations: 7.938 kB / 0.7157 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.01811, allocations: 0.7192 MB / 0.7164 GB, free: 6.168 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.01814, allocations: 27.8 kB / 0.7164 GB, free: 6.141 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.01818, allocations: 8.062 kB / 0.7164 GB, free: 6.133 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.01828, allocations: 23.97 kB / 0.7164 GB, free: 6.109 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.01836, allocations: 31.89 kB / 0.7165 GB, free: 6.078 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.01837, allocations: 11.98 kB / 0.7165 GB, free: 6.066 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001128/0.01849, allocations: 189.2 kB / 0.7167 GB, free: 5.883 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01849, allocations: 0 / 0.7167 GB, free: 5.883 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002265/0.01871, allocations: 87.94 kB / 0.7168 GB, free: 5.797 MB / 426.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.0001214/0.01883, allocations: 123 kB / 0.7169 GB, free: 5.672 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004834/0.01932, allocations: 0.569 MB / 0.7174 GB, free: 5.039 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01932, allocations: 4.062 kB / 0.7174 GB, free: 5.035 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.01954, allocations: 302.1 kB / 0.7177 GB, free: 4.703 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.0199, allocations: 93.33 kB / 0.7178 GB, free: 4.613 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.02092, allocations: 0.8149 MB / 0.7186 GB, free: 3.758 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.874e-05/0.02102, allocations: 156.3 kB / 0.7188 GB, free: 3.582 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.02108, allocations: 32.48 kB / 0.7188 GB, free: 3.551 MB / 426.8 MB Notification: Performance of SimCode: time 9.91e-07/0.02108, allocations: 0 / 0.7188 GB, free: 3.551 MB / 426.8 MB Notification: Performance of Templates: time 0.2095/0.2306, allocations: 4.023 MB / 0.7227 GB, free: 36.81 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01C_BetaLactamAntibacterialsPenicillins.J01CA11_Mecillinam.Mecillinam_Koumaki2023_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6494490979239345]