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.001021/0.001021, allocations: 112.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.001046/0.001046, allocations: 221.3 kB / 23.01 MB, free: 2.965 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 0.9435/0.9435, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7376/0.7376, allocations: 312.3 MB / 0.6108 GB, free: 97.61 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: 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.001585/0.001585, allocations: 71.39 kB / 0.7699 GB, free: 20.2 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1168, allocations: 73.99 MB / 0.8421 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin_Goyal2022_final_pk_model): time 0.002945/0.1198, allocations: 2.698 MB / 0.8448 GB, free: 7.652 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005373/0.1252, allocations: 6.606 MB / 0.8512 GB, free: 1.047 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.1253, allocations: 4.594 kB / 0.8512 GB, free: 1.043 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.1254, allocations: 39.56 kB / 0.8513 GB, free: 1.004 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.1256, allocations: 120.4 kB / 0.8514 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1258, allocations: 68.98 kB / 0.8515 GB, free: 0.8203 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.1261, allocations: 382.2 kB / 0.8518 GB, free: 456 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1262, allocations: 49.5 kB / 0.8519 GB, free: 408 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1263, allocations: 143.9 kB / 0.852 GB, free: 264 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1265, allocations: 143.9 kB / 0.8521 GB, free: 120 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.1265, allocations: 24 kB / 0.8522 GB, free: 96 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.386e-05/0.1266, allocations: 24.5 kB / 0.8522 GB, free: 72 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.1266, allocations: 60.41 kB / 0.8522 GB, free: 12 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1267, allocations: 131.4 kB / 0.8524 GB, free: 15.88 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.127, allocations: 295.3 kB / 0.8527 GB, free: 15.59 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.127, allocations: 0.5 kB / 0.8527 GB, free: 15.59 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.853e-06/0.127, allocations: 0 / 0.8527 GB, free: 15.59 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.127, allocations: 0.625 kB / 0.8527 GB, free: 15.59 MB / 490.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.0006815/0.1277, allocations: 0.5981 MB / 0.8532 GB, free: 14.95 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.1277, allocations: 8.531 kB / 0.8532 GB, free: 14.94 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.1277, allocations: 32.75 kB / 0.8533 GB, free: 14.91 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.128, allocations: 213.7 kB / 0.8535 GB, free: 14.67 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.128, allocations: 13.25 kB / 0.8535 GB, free: 14.66 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.128, allocations: 27.94 kB / 0.8535 GB, free: 14.63 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.1283, allocations: 288.6 kB / 0.8538 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1283, allocations: 8.562 kB / 0.8538 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1283, allocations: 12.47 kB / 0.8538 GB, free: 14.31 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1283, allocations: 4 kB / 0.8538 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.1286, allocations: 233.5 kB / 0.854 GB, free: 14.07 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000742/0.1293, allocations: 0.6773 MB / 0.8547 GB, free: 13.35 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.1297, allocations: 232.6 kB / 0.8549 GB, free: 13.1 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.1298, allocations: 149.1 kB / 0.8551 GB, free: 12.94 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.1298, allocations: 4.5 kB / 0.8551 GB, free: 12.93 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004333/0.1303, allocations: 366.7 kB / 0.8554 GB, free: 12.53 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.242e-06/0.1303, allocations: 0 / 0.8554 GB, free: 12.53 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2656/0.3959, allocations: 1.073 MB / 0.8565 GB, free: 21.36 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3959, allocations: 223.8 kB / 0.8567 GB, free: 21.11 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3961, allocations: 246.3 kB / 0.8569 GB, free: 21.01 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3961, allocations: 36.92 kB / 0.857 GB, free: 20.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.3962, allocations: 154.2 kB / 0.8571 GB, free: 20.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.3962, allocations: 118.7 kB / 0.8572 GB, free: 20.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.3963, allocations: 71.31 kB / 0.8573 GB, free: 20.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.3964, allocations: 341.3 kB / 0.8576 GB, free: 20.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.3965, allocations: 214.5 kB / 0.8578 GB, free: 20.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.3967, allocations: 311.9 kB / 0.8581 GB, free: 20.16 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.397, allocations: 437 kB / 0.8585 GB, free: 19.9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.397, allocations: 1.594 kB / 0.8585 GB, free: 19.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004563/0.3975, allocations: 0.5538 MB / 0.8591 GB, free: 19.66 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.3975, allocations: 91.25 kB / 0.8592 GB, free: 19.56 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3975, allocations: 3.312 kB / 0.8592 GB, free: 19.56 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.3976, allocations: 4.656 kB / 0.8592 GB, free: 19.56 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3977, allocations: 80.23 kB / 0.8592 GB, free: 19.56 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3977, allocations: 10.5 kB / 0.8593 GB, free: 19.56 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.3979, allocations: 22.95 kB / 0.8593 GB, free: 19.56 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.3979, allocations: 19.62 kB / 0.8593 GB, free: 19.56 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: 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.0001623/0.398, allocations: 223 kB / 0.8595 GB, free: 19.38 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.3981, allocations: 33.27 kB / 0.8595 GB, free: 19.36 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.3981, allocations: 37.75 kB / 0.8596 GB, free: 19.35 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3981, allocations: 2.438 kB / 0.8596 GB, free: 19.35 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3981, allocations: 3.5 kB / 0.8596 GB, free: 19.35 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.3981, allocations: 4.625 kB / 0.8596 GB, free: 19.35 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.3988, allocations: 0.7603 MB / 0.8603 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3988, allocations: 1.562 kB / 0.8603 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.3989, allocations: 54.98 kB / 0.8604 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3989, allocations: 3.125 kB / 0.8604 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.3989, allocations: 15.36 kB / 0.8604 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3989, allocations: 2.375 kB / 0.8604 GB, free: 18.99 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3989, allocations: 3.938 kB / 0.8604 GB, free: 18.98 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.3995, allocations: 0.7264 MB / 0.8611 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.3995, allocations: 25.09 kB / 0.8611 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.3995, allocations: 13.2 kB / 0.8611 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.851e-05/0.3996, allocations: 20.92 kB / 0.8612 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.3997, allocations: 32.44 kB / 0.8612 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3997, allocations: 10 kB / 0.8612 GB, free: 18.62 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3998, allocations: 181.2 kB / 0.8614 GB, free: 18.54 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3998, allocations: 0 / 0.8614 GB, free: 18.54 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000216/0.4001, allocations: 81.69 kB / 0.8615 GB, free: 18.54 MB / 490.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.4002, allocations: 131 kB / 0.8616 GB, free: 18.45 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.4006, allocations: 0.5622 MB / 0.8621 GB, free: 18.11 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4006, allocations: 0.5 kB / 0.8621 GB, free: 18.11 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.4008, allocations: 301 kB / 0.8624 GB, free: 17.92 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.4011, allocations: 91.19 kB / 0.8625 GB, free: 17.92 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.4022, allocations: 0.961 MB / 0.8634 GB, free: 17.44 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.4024, allocations: 158.4 kB / 0.8636 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.4024, allocations: 32.84 kB / 0.8636 GB, free: 17.35 MB / 490.8 MB Notification: Performance of SimCode: time 5.01e-07/0.4024, allocations: 3.906 kB / 0.8636 GB, free: 17.35 MB / 490.8 MB Notification: Performance of Templates: time 0.005735/0.4081, allocations: 4.019 MB / 0.8676 GB, free: 16.99 MB / 490.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.968006216920912]