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.0009764/0.0009764, allocations: 92.52 kB / 19.94 MB, free: 4.598 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.0009227/0.0009227, allocations: 169.9 kB / 23.21 MB, free: 1.328 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 0.9224/0.9224, allocations: 177.1 MB / 203.5 MB, free: 5.395 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.7027/0.7027, allocations: 291.2 MB / 0.5382 GB, free: 51.6 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.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 1.352e-06/1.352e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.521e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model): time 0.002178/0.002194, allocations: 2.689 MB / 0.7 GB, free: 7.625 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003964/0.006158, allocations: 6.615 MB / 0.7065 GB, free: 1 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.006254, allocations: 4 kB / 0.7065 GB, free: 0.9961 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.006366, allocations: 39.56 kB / 0.7065 GB, free: 0.957 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.006551, allocations: 127 kB / 0.7066 GB, free: 0.832 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.006737, allocations: 71.84 kB / 0.7067 GB, free: 0.7617 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.006959, allocations: 389.8 kB / 0.7071 GB, free: 388 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.007094, allocations: 63.28 kB / 0.7071 GB, free: 332 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.007229, allocations: 207.5 kB / 0.7073 GB, free: 124 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.0074, allocations: 115.6 kB / 0.7074 GB, free: 8 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003139/0.007714, allocations: 24.05 kB / 0.7074 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.27e-05/0.007747, allocations: 31.94 kB / 0.7075 GB, free: 15.95 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.007783, allocations: 55.7 kB / 0.7075 GB, free: 15.9 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 8.906e-05/0.007872, allocations: 115.7 kB / 0.7076 GB, free: 15.79 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.00811, allocations: 295.1 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.008112, allocations: 0 / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008112, allocations: 0 / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.008117, allocations: 4 kB / 0.7079 GB, free: 15.49 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.0007078/0.008825, allocations: 0.5924 MB / 0.7085 GB, free: 14.85 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.008859, allocations: 12.03 kB / 0.7085 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.008915, allocations: 32.75 kB / 0.7085 GB, free: 14.8 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.009121, allocations: 220.7 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.009137, allocations: 12.75 kB / 0.7088 GB, free: 14.55 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.009174, allocations: 24.38 kB / 0.7088 GB, free: 14.53 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.009481, allocations: 296.5 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.009495, allocations: 3.953 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.009515, allocations: 8 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.009521, allocations: 4 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.009791, allocations: 236.4 kB / 0.7093 GB, free: 13.96 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.01052, allocations: 0.6718 MB / 0.71 GB, free: 13.25 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.01086, allocations: 240.6 kB / 0.7102 GB, free: 12.99 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.011, allocations: 152.4 kB / 0.7103 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.01101, allocations: 0 / 0.7103 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.0113, allocations: 370.2 kB / 0.7107 GB, free: 12.41 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.052e-06/0.0113, allocations: 0 / 0.7107 GB, free: 12.41 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001167/0.01247, allocations: 1.076 MB / 0.7117 GB, free: 11.25 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.01254, allocations: 221.6 kB / 0.712 GB, free: 10.98 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.01272, allocations: 245.9 kB / 0.7122 GB, free: 10.74 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.01274, allocations: 37.69 kB / 0.7122 GB, free: 10.7 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.01282, allocations: 160.7 kB / 0.7124 GB, free: 10.53 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.01288, allocations: 119.1 kB / 0.7125 GB, free: 10.41 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.01295, allocations: 70.19 kB / 0.7126 GB, free: 10.34 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.01304, allocations: 342.8 kB / 0.7129 GB, free: 9.992 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.01323, allocations: 211.9 kB / 0.7131 GB, free: 9.766 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.01344, allocations: 313.9 kB / 0.7134 GB, free: 9.398 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.01378, allocations: 435 kB / 0.7138 GB, free: 8.906 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01378, allocations: 8 kB / 0.7138 GB, free: 8.898 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008482/0.01463, allocations: 0.5418 MB / 0.7143 GB, free: 8.312 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.01467, allocations: 91.92 kB / 0.7144 GB, free: 8.207 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01468, allocations: 4.344 kB / 0.7144 GB, free: 8.203 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.01469, allocations: 8 kB / 0.7144 GB, free: 8.195 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.01485, allocations: 83.83 kB / 0.7145 GB, free: 8.113 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.01486, allocations: 7.984 kB / 0.7145 GB, free: 8.105 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.01497, allocations: 23.92 kB / 0.7146 GB, free: 8.082 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.01499, allocations: 16 kB / 0.7146 GB, free: 8.066 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.0001559/0.01514, allocations: 219.1 kB / 0.7148 GB, free: 7.832 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.01517, allocations: 35.81 kB / 0.7148 GB, free: 7.797 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.01521, allocations: 30.95 kB / 0.7148 GB, free: 7.766 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01521, allocations: 4 kB / 0.7148 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.01521, allocations: 0 / 0.7148 GB, free: 7.762 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.01522, allocations: 7.922 kB / 0.7149 GB, free: 7.754 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/0.01587, allocations: 0.7679 MB / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01587, allocations: 0 / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.01601, allocations: 51.91 kB / 0.7157 GB, free: 6.875 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01601, allocations: 4 kB / 0.7157 GB, free: 6.871 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.01603, allocations: 11.98 kB / 0.7157 GB, free: 6.859 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01603, allocations: 4 kB / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01603, allocations: 3.938 kB / 0.7157 GB, free: 6.852 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.01662, allocations: 0.7268 MB / 0.7164 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.01665, allocations: 27.8 kB / 0.7164 GB, free: 6.039 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.01668, allocations: 12.06 kB / 0.7164 GB, free: 6.027 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.01678, allocations: 15.98 kB / 0.7164 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.01685, allocations: 39.89 kB / 0.7165 GB, free: 5.973 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.01686, allocations: 11.98 kB / 0.7165 GB, free: 5.961 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001023/0.01697, allocations: 177.2 kB / 0.7167 GB, free: 5.789 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01697, allocations: 4 kB / 0.7167 GB, free: 5.785 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002112/0.01718, allocations: 84 kB / 0.7167 GB, free: 5.703 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 8.915e-05/0.01727, allocations: 122.9 kB / 0.7169 GB, free: 5.578 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004381/0.0177, allocations: 0.5684 MB / 0.7174 GB, free: 4.945 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.0177, allocations: 0 / 0.7174 GB, free: 4.945 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.0179, allocations: 302 kB / 0.7177 GB, free: 4.613 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.01822, allocations: 93.05 kB / 0.7178 GB, free: 4.523 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008972/0.01911, allocations: 0.8125 MB / 0.7186 GB, free: 3.668 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.518e-05/0.01921, allocations: 156.3 kB / 0.7187 GB, free: 3.492 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.01927, allocations: 32.5 kB / 0.7188 GB, free: 3.461 MB / 426.8 MB Notification: Performance of SimCode: time 7.62e-07/0.01927, allocations: 0 / 0.7188 GB, free: 3.461 MB / 426.8 MB Notification: Performance of Templates: time 0.1656/0.1848, allocations: 4.018 MB / 0.7227 GB, free: 37.09 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 > 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: 5.482837180607021]