Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.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.002308/0.002308, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.00202/0.00202, allocations: 226.4 kB / 22.25 MB, free: 3.57 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.743/1.743, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.4/1.4, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin") [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.003847/0.003847, allocations: 74.23 kB / 0.775 GB, free: 14.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1854, allocations: 73.99 MB / 0.8473 GB, free: 4.859 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin): time 0.005541/0.191, allocations: 2.709 MB / 0.8499 GB, free: 2.148 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4397/0.6307, allocations: 6.605 MB / 0.8564 GB, free: 22 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.631, allocations: 3.375 kB / 0.8564 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.6312, allocations: 35.77 kB / 0.8564 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.6316, allocations: 118.9 kB / 0.8565 GB, free: 22 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.6319, allocations: 73.89 kB / 0.8566 GB, free: 22 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.6323, allocations: 378.4 kB / 0.8569 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.6325, allocations: 52.78 kB / 0.857 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.6327, allocations: 148.5 kB / 0.8571 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.633, allocations: 138.8 kB / 0.8573 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.633, allocations: 26.03 kB / 0.8573 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.795e-05/0.6331, allocations: 23.28 kB / 0.8573 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.6332, allocations: 55.34 kB / 0.8574 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.6333, allocations: 135.5 kB / 0.8575 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.6337, allocations: 289.6 kB / 0.8578 GB, free: 21.78 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6337, allocations: 1.031 kB / 0.8578 GB, free: 21.78 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.203e-06/0.6337, allocations: 0.8125 kB / 0.8578 GB, free: 21.78 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.6337, allocations: 0 / 0.8578 GB, free: 21.78 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.001083/0.6348, allocations: 0.5992 MB / 0.8584 GB, free: 21.31 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.6348, allocations: 9 kB / 0.8584 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.6349, allocations: 36.44 kB / 0.8584 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.6352, allocations: 214.8 kB / 0.8586 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.6352, allocations: 19.28 kB / 0.8586 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.6353, allocations: 25.5 kB / 0.8587 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.6358, allocations: 287.1 kB / 0.8589 GB, free: 21.02 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.6358, allocations: 4.547 kB / 0.8589 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.6358, allocations: 10.94 kB / 0.8589 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.6358, allocations: 5.844 kB / 0.8589 GB, free: 21.01 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.6363, allocations: 232.8 kB / 0.8592 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.6374, allocations: 0.6754 MB / 0.8598 GB, free: 20.59 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.638, allocations: 233.3 kB / 0.8601 GB, free: 20.5 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.6383, allocations: 154 kB / 0.8602 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.6383, allocations: 7.156 kB / 0.8602 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005297/0.6388, allocations: 357.8 kB / 0.8605 GB, free: 20.19 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.6389, allocations: 0.7188 kB / 0.8605 GB, free: 20.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001905/0.6408, allocations: 1.085 MB / 0.8616 GB, free: 19.65 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.6408, allocations: 220.5 kB / 0.8618 GB, free: 19.4 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.6411, allocations: 243.2 kB / 0.8621 GB, free: 19.29 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.6411, allocations: 40.86 kB / 0.8621 GB, free: 19.26 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.6412, allocations: 159 kB / 0.8622 GB, free: 19.15 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.6413, allocations: 118.1 kB / 0.8624 GB, free: 19.08 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.6414, allocations: 72.28 kB / 0.8624 GB, free: 19.06 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6415, allocations: 339.8 kB / 0.8627 GB, free: 18.75 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.6418, allocations: 209.6 kB / 0.8629 GB, free: 18.65 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.6422, allocations: 320.3 kB / 0.8633 GB, free: 18.41 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006541/0.6428, allocations: 433.4 kB / 0.8637 GB, free: 18.15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6428, allocations: 0 / 0.8637 GB, free: 18.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008777/0.6437, allocations: 0.547 MB / 0.8642 GB, free: 17.89 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.117e-05/0.6438, allocations: 93.23 kB / 0.8643 GB, free: 17.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6438, allocations: 2.5 kB / 0.8643 GB, free: 17.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.6438, allocations: 5.406 kB / 0.8643 GB, free: 17.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.6441, allocations: 82.14 kB / 0.8644 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.6441, allocations: 7.953 kB / 0.8644 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.6444, allocations: 26.19 kB / 0.8644 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.6444, allocations: 16.22 kB / 0.8644 GB, free: 17.79 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.0002322/0.6446, allocations: 224.8 kB / 0.8646 GB, free: 17.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.6447, allocations: 31.86 kB / 0.8647 GB, free: 17.58 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.382e-05/0.6448, allocations: 35.53 kB / 0.8647 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.6448, allocations: 3.766 kB / 0.8647 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6448, allocations: 1.25 kB / 0.8647 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.6448, allocations: 5.766 kB / 0.8647 GB, free: 17.57 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.646, allocations: 0.7714 MB / 0.8655 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.646, allocations: 0.5 kB / 0.8655 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.6463, allocations: 53.8 kB / 0.8655 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.6463, allocations: 1.188 kB / 0.8655 GB, free: 17.2 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.6463, allocations: 16.09 kB / 0.8655 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6463, allocations: 1.797 kB / 0.8655 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6463, allocations: 0 / 0.8655 GB, free: 17.19 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.6475, allocations: 0.7253 MB / 0.8662 GB, free: 16.84 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.6476, allocations: 29.3 kB / 0.8663 GB, free: 16.83 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.6476, allocations: 16.12 kB / 0.8663 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.6478, allocations: 18.14 kB / 0.8663 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.648, allocations: 27.17 kB / 0.8663 GB, free: 16.82 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.648, allocations: 12.45 kB / 0.8663 GB, free: 16.82 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002491/0.6482, allocations: 177.1 kB / 0.8665 GB, free: 16.75 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6482, allocations: 1.125 kB / 0.8665 GB, free: 16.75 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000471/0.6487, allocations: 88.06 kB / 0.8666 GB, free: 16.75 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 0.0001974/0.6489, allocations: 128.6 kB / 0.8667 GB, free: 16.65 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0009088/0.6498, allocations: 0.569 MB / 0.8673 GB, free: 16.29 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6498, allocations: 0 / 0.8673 GB, free: 16.29 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.6502, allocations: 298.6 kB / 0.8676 GB, free: 16.1 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.6508, allocations: 94.16 kB / 0.8676 GB, free: 16.09 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.6525, allocations: 0.9362 MB / 0.8686 GB, free: 15.61 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.6526, allocations: 158.8 kB / 0.8687 GB, free: 15.53 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000142/0.6528, allocations: 34.66 kB / 0.8687 GB, free: 15.53 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.6529, allocations: 25.72 kB / 0.8688 GB, free: 15.52 MB / 490.8 MB Notification: Performance of SimCode: time 6.41e-07/0.6529, allocations: 0 / 0.8688 GB, free: 15.52 MB / 490.8 MB Notification: Performance of Templates: time 0.01085/0.6637, allocations: 4.995 MB / 0.8736 GB, free: 15.02 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.718513353029266]