Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model.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.00249/0.00249, allocations: 84.44 kB / 19.17 MB, free: 0.7344 MB / 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.003031/0.003031, allocations: 169.9 kB / 22.45 MB, free: 2.102 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.643/1.643, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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 1.384/1.384, allocations: 292.9 MB / 0.5392 GB, free: 49.83 MB / 410.7 MB " [Timeout remaining time 178] 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.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model,tolerance=1e-09,outputFormat="empty",numberOfIntervals=111600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model,tolerance=1e-09,outputFormat="empty",numberOfIntervals=111600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.6999 GB, free: 8.602 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.447e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.598 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model): time 0.003623/0.003657, allocations: 2.706 MB / 0.7025 GB, free: 5.875 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006599/0.01026, allocations: 6.604 MB / 0.709 GB, free: 15.26 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.01048, allocations: 0 / 0.709 GB, free: 15.26 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.01067, allocations: 43.56 kB / 0.709 GB, free: 15.22 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.01106, allocations: 126.9 kB / 0.7091 GB, free: 15.09 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.01139, allocations: 75.83 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005252/0.01192, allocations: 385.9 kB / 0.7096 GB, free: 14.64 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.01213, allocations: 64.75 kB / 0.7096 GB, free: 14.58 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.01246, allocations: 203.6 kB / 0.7098 GB, free: 14.38 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.01277, allocations: 119.6 kB / 0.71 GB, free: 14.27 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.01283, allocations: 24 kB / 0.71 GB, free: 14.24 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.954e-05/0.01289, allocations: 27.94 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.01296, allocations: 63.7 kB / 0.7101 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.01313, allocations: 107.8 kB / 0.7102 GB, free: 14.05 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.01359, allocations: 299.1 kB / 0.7105 GB, free: 13.75 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.0136, allocations: 0 / 0.7105 GB, free: 13.75 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.984e-06/0.0136, allocations: 0 / 0.7105 GB, free: 13.75 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.01361, allocations: 0 / 0.7105 GB, free: 13.75 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.001332/0.01494, allocations: 0.5963 MB / 0.711 GB, free: 13.11 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.01498, allocations: 8.031 kB / 0.711 GB, free: 13.1 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.01508, allocations: 36.69 kB / 0.7111 GB, free: 13.06 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.01543, allocations: 208.7 kB / 0.7113 GB, free: 12.83 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.01546, allocations: 20.73 kB / 0.7113 GB, free: 12.81 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.01552, allocations: 24.38 kB / 0.7113 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.01608, allocations: 296.4 kB / 0.7116 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.01611, allocations: 7.953 kB / 0.7116 GB, free: 12.47 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.01614, allocations: 4 kB / 0.7116 GB, free: 12.47 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.01615, allocations: 8 kB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.01667, allocations: 240.4 kB / 0.7118 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.01801, allocations: 0.6718 MB / 0.7125 GB, free: 11.5 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.01863, allocations: 246.3 kB / 0.7127 GB, free: 11.24 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.01892, allocations: 152.4 kB / 0.7129 GB, free: 11.07 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.01894, allocations: 4 kB / 0.7129 GB, free: 11.07 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/0.0195, allocations: 353.5 kB / 0.7132 GB, free: 10.68 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/0.01951, allocations: 0 / 0.7132 GB, free: 10.68 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002294/0.0218, allocations: 1.084 MB / 0.7143 GB, free: 9.5 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/0.02198, allocations: 221.6 kB / 0.7145 GB, free: 9.234 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.02231, allocations: 237.9 kB / 0.7147 GB, free: 8.996 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.02235, allocations: 33.7 kB / 0.7148 GB, free: 8.957 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.02249, allocations: 160.8 kB / 0.7149 GB, free: 8.793 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.02261, allocations: 115.1 kB / 0.715 GB, free: 8.68 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.02274, allocations: 70.19 kB / 0.7151 GB, free: 8.602 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.02294, allocations: 346.8 kB / 0.7154 GB, free: 8.254 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.02332, allocations: 207.9 kB / 0.7156 GB, free: 8.031 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.02376, allocations: 315.1 kB / 0.7159 GB, free: 7.66 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007142/0.02448, allocations: 439.1 kB / 0.7163 GB, free: 7.164 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02448, allocations: 0 / 0.7163 GB, free: 7.164 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000975/0.02546, allocations: 0.5458 MB / 0.7169 GB, free: 6.574 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-05/0.02555, allocations: 99.91 kB / 0.717 GB, free: 6.461 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.02555, allocations: 0 / 0.717 GB, free: 6.461 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.02558, allocations: 8 kB / 0.717 GB, free: 6.453 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.0259, allocations: 79.83 kB / 0.717 GB, free: 6.375 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.02592, allocations: 4 kB / 0.717 GB, free: 6.371 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.02615, allocations: 24.17 kB / 0.7171 GB, free: 6.348 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.02619, allocations: 23.98 kB / 0.7171 GB, free: 6.324 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.0002958/0.02648, allocations: 223 kB / 0.7173 GB, free: 6.086 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.02654, allocations: 31.81 kB / 0.7173 GB, free: 6.055 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.152e-05/0.02662, allocations: 34.95 kB / 0.7174 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02663, allocations: 0 / 0.7174 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.02663, allocations: 4 kB / 0.7174 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02664, allocations: 0 / 0.7174 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.02796, allocations: 0.7677 MB / 0.7181 GB, free: 5.188 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.02797, allocations: 7.969 kB / 0.7181 GB, free: 5.18 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.02826, allocations: 51.97 kB / 0.7182 GB, free: 5.129 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.02827, allocations: 8 kB / 0.7182 GB, free: 5.121 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.0283, allocations: 8 kB / 0.7182 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.0283, allocations: 3.984 kB / 0.7182 GB, free: 5.109 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.02831, allocations: 3.938 kB / 0.7182 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.02957, allocations: 0.7269 MB / 0.7189 GB, free: 4.32 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.02963, allocations: 27.8 kB / 0.7189 GB, free: 4.293 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.02968, allocations: 8.062 kB / 0.7189 GB, free: 4.285 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.0299, allocations: 15.98 kB / 0.719 GB, free: 4.27 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.03001, allocations: 35.89 kB / 0.719 GB, free: 4.234 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.03004, allocations: 8 kB / 0.719 GB, free: 4.227 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002157/0.03025, allocations: 181.2 kB / 0.7192 GB, free: 4.051 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.03025, allocations: 0 / 0.7192 GB, free: 4.051 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003819/0.03063, allocations: 88 kB / 0.7193 GB, free: 3.965 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.0001903/0.03082, allocations: 126.9 kB / 0.7194 GB, free: 3.836 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009382/0.03176, allocations: 0.5648 MB / 0.7199 GB, free: 3.203 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.03176, allocations: 0 / 0.7199 GB, free: 3.203 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2004/0.2321, allocations: 294 kB / 0.7202 GB, free: 37.18 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007039/0.2328, allocations: 89.44 kB / 0.7203 GB, free: 37.18 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.2342, allocations: 0.7923 MB / 0.7211 GB, free: 36.78 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.2344, allocations: 159.2 kB / 0.7212 GB, free: 36.7 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.2345, allocations: 36.84 kB / 0.7213 GB, free: 36.69 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.2346, allocations: 27.66 kB / 0.7213 GB, free: 36.68 MB / 426.8 MB Notification: Performance of SimCode: time 9.72e-07/0.2346, allocations: 2.625 kB / 0.7213 GB, free: 36.68 MB / 426.8 MB Notification: Performance of Templates: time 0.01058/0.2452, allocations: 4.56 MB / 0.7257 GB, free: 36.27 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.944462326122448]