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.001957/0.001957, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002105/0.002105, allocations: 173.9 kB / 22.46 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.622/1.622, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.477/1.477, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6999 GB, free: 8.496 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.515e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.492 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A07A_IntestinalAntiinfectives.A07AA09_Vancomycin.Vancomycin): time 0.00389/0.003925, allocations: 2.715 MB / 0.7026 GB, free: 5.758 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007247/0.01117, allocations: 6.615 MB / 0.709 GB, free: 15.13 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.01135, allocations: 4 kB / 0.709 GB, free: 15.13 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.01153, allocations: 35.62 kB / 0.7091 GB, free: 15.09 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.01194, allocations: 126.9 kB / 0.7092 GB, free: 14.97 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.01226, allocations: 67.84 kB / 0.7092 GB, free: 14.9 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.01305, allocations: 393.9 kB / 0.7096 GB, free: 14.52 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.0133, allocations: 60.81 kB / 0.7097 GB, free: 14.46 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004566/0.01376, allocations: 207.5 kB / 0.7099 GB, free: 14.26 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.01422, allocations: 123.6 kB / 0.71 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.0143, allocations: 24 kB / 0.71 GB, free: 14.11 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.845e-05/0.01439, allocations: 27.94 kB / 0.71 GB, free: 14.09 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.0145, allocations: 55.7 kB / 0.7101 GB, free: 14.03 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.01475, allocations: 119.7 kB / 0.7102 GB, free: 13.91 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.01542, allocations: 291.1 kB / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.01543, allocations: 0 / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.294e-06/0.01543, allocations: 0 / 0.7105 GB, free: 13.63 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.01544, allocations: 0 / 0.7105 GB, free: 13.63 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.001885/0.01732, allocations: 0.5925 MB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/0.01739, allocations: 8.031 kB / 0.7111 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.01754, allocations: 36.73 kB / 0.7111 GB, free: 12.94 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.01811, allocations: 212.7 kB / 0.7113 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.01816, allocations: 20.73 kB / 0.7113 GB, free: 12.69 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.75e-05/0.01825, allocations: 20.38 kB / 0.7114 GB, free: 12.67 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.01913, allocations: 296.7 kB / 0.7116 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.01916, allocations: 3.953 kB / 0.7116 GB, free: 12.36 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.52e-05/0.01921, allocations: 12 kB / 0.7117 GB, free: 12.34 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.01922, allocations: 4 kB / 0.7117 GB, free: 12.34 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008982/0.02012, allocations: 228.5 kB / 0.7119 GB, free: 12.1 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.02229, allocations: 0.6756 MB / 0.7125 GB, free: 11.39 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.02334, allocations: 246.6 kB / 0.7128 GB, free: 11.12 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/0.02385, allocations: 152.4 kB / 0.7129 GB, free: 10.96 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.02388, allocations: 4 kB / 0.7129 GB, free: 10.95 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009099/0.02479, allocations: 356.2 kB / 0.7133 GB, free: 10.56 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.465e-06/0.02479, allocations: 0 / 0.7133 GB, free: 10.56 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.003779/0.02857, allocations: 1.082 MB / 0.7143 GB, free: 9.387 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002658/0.02883, allocations: 225.5 kB / 0.7145 GB, free: 9.117 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/0.02933, allocations: 237.9 kB / 0.7148 GB, free: 8.879 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 6.806e-05/0.0294, allocations: 41.7 kB / 0.7148 GB, free: 8.832 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.02964, allocations: 168.8 kB / 0.715 GB, free: 8.66 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.02981, allocations: 107.1 kB / 0.7151 GB, free: 8.555 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.03003, allocations: 74.19 kB / 0.7151 GB, free: 8.473 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000281/0.03031, allocations: 342.8 kB / 0.7155 GB, free: 8.129 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.03093, allocations: 211.9 kB / 0.7157 GB, free: 7.902 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/0.03168, allocations: 307.2 kB / 0.716 GB, free: 7.543 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.03291, allocations: 435 kB / 0.7164 GB, free: 7.051 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.03291, allocations: 0 / 0.7164 GB, free: 7.051 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001664/0.03457, allocations: 0.5536 MB / 0.7169 GB, free: 6.453 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.03471, allocations: 93.09 kB / 0.717 GB, free: 6.344 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.03472, allocations: 0 / 0.717 GB, free: 6.344 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.03475, allocations: 8 kB / 0.717 GB, free: 6.336 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.03537, allocations: 76.23 kB / 0.7171 GB, free: 6.262 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.03539, allocations: 7.938 kB / 0.7171 GB, free: 6.254 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.03584, allocations: 27.92 kB / 0.7171 GB, free: 6.227 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.0359, allocations: 19.98 kB / 0.7171 GB, free: 6.207 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.0004691/0.03637, allocations: 223 kB / 0.7173 GB, free: 5.965 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.03646, allocations: 27.81 kB / 0.7174 GB, free: 5.938 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.03657, allocations: 34.95 kB / 0.7174 GB, free: 5.902 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.03658, allocations: 8 kB / 0.7174 GB, free: 5.895 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.03659, allocations: 0 / 0.7174 GB, free: 5.895 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.0366, allocations: 0 / 0.7174 GB, free: 5.895 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.03883, allocations: 0.7638 MB / 0.7182 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.03884, allocations: 3.984 kB / 0.7182 GB, free: 5.066 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/0.03942, allocations: 55.91 kB / 0.7182 GB, free: 5.012 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.03942, allocations: 4 kB / 0.7182 GB, free: 5.008 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.03947, allocations: 8 kB / 0.7182 GB, free: 5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.03948, allocations: 11.98 kB / 0.7182 GB, free: 4.988 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.03949, allocations: 3.938 kB / 0.7182 GB, free: 4.984 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.04158, allocations: 0.7153 MB / 0.7189 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.516e-05/0.04168, allocations: 35.8 kB / 0.719 GB, free: 4.176 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.04177, allocations: 8 kB / 0.719 GB, free: 4.168 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.04215, allocations: 19.98 kB / 0.719 GB, free: 4.148 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.0423, allocations: 27.89 kB / 0.719 GB, free: 4.121 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.04235, allocations: 16 kB / 0.719 GB, free: 4.105 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0003571/0.04271, allocations: 181.2 kB / 0.7192 GB, free: 3.93 MB / 426.8 MB Notification: Performance of sort global known variables: time 2e-07/0.04271, allocations: 0 / 0.7192 GB, free: 3.93 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0007005/0.04341, allocations: 84 kB / 0.7193 GB, free: 3.848 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.0002587/0.04367, allocations: 120 kB / 0.7194 GB, free: 3.727 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.04524, allocations: 0.5651 MB / 0.72 GB, free: 3.094 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.04524, allocations: 0 / 0.72 GB, free: 3.094 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2278/0.2731, allocations: 303.3 kB / 0.7203 GB, free: 37.03 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/0.2738, allocations: 88.53 kB / 0.7203 GB, free: 37.03 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2752, allocations: 0.7879 MB / 0.7211 GB, free: 36.63 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.2754, allocations: 162.2 kB / 0.7213 GB, free: 36.55 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.2755, allocations: 36.83 kB / 0.7213 GB, free: 36.54 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.2756, allocations: 28.88 kB / 0.7213 GB, free: 36.53 MB / 426.8 MB Notification: Performance of SimCode: time 1.423e-06/0.2756, allocations: 0 / 0.7213 GB, free: 36.53 MB / 426.8 MB Notification: Performance of Templates: time 0.01212/0.2877, allocations: 4.56 MB / 0.7258 GB, free: 36.12 MB / 426.8 MB " [Timeout remaining time 660] 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.167517986847088]