Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.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.001933/0.001933, 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.002059/0.002059, 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.585/1.585, 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.305/1.305, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.Examples.Midazolam.Midazolam_VanRongen_oral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral") translateModel(Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6999 GB, free: 8.492 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.014e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.488 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral): time 0.003993/0.004023, allocations: 3.803 MB / 0.7037 GB, free: 4.66 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.005327, allocations: 0.8499 MB / 0.7045 GB, free: 3.809 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.005489, allocations: 4 kB / 0.7045 GB, free: 3.805 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.00567, allocations: 75.27 kB / 0.7046 GB, free: 3.73 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.006006, allocations: 202.3 kB / 0.7047 GB, free: 3.531 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.006276, allocations: 131.7 kB / 0.7049 GB, free: 3.402 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004616/0.006738, allocations: 0.6564 MB / 0.7055 GB, free: 2.742 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.006944, allocations: 104 kB / 0.7056 GB, free: 2.633 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.007236, allocations: 347.2 kB / 0.7059 GB, free: 2.293 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.007535, allocations: 195.4 kB / 0.7061 GB, free: 2.102 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.0076, allocations: 47.94 kB / 0.7062 GB, free: 2.055 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.074e-05/0.007671, allocations: 48 kB / 0.7062 GB, free: 2.008 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.007731, allocations: 103.6 kB / 0.7063 GB, free: 1.906 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.007893, allocations: 195.5 kB / 0.7065 GB, free: 1.715 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.008311, allocations: 0.5336 MB / 0.707 GB, free: 1.18 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.008314, allocations: 4 kB / 0.707 GB, free: 1.176 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.393e-06/0.008315, allocations: 0 / 0.707 GB, free: 1.176 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.008322, allocations: 0 / 0.707 GB, free: 1.176 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001165/0.009487, allocations: 0.8068 MB / 0.7078 GB, free: 316 kB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.009525, allocations: 19.97 kB / 0.7078 GB, free: 296 kB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.583e-05/0.00962, allocations: 52.61 kB / 0.7079 GB, free: 244 kB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.009972, allocations: 281.5 kB / 0.7082 GB, free: 15.94 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.01002, allocations: 25.38 kB / 0.7082 GB, free: 15.91 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.084e-05/0.0101, allocations: 44.33 kB / 0.7082 GB, free: 15.87 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009359/0.01103, allocations: 0.4888 MB / 0.7087 GB, free: 15.35 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.01106, allocations: 3.938 kB / 0.7087 GB, free: 15.35 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.0111, allocations: 12 kB / 0.7087 GB, free: 15.34 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.01111, allocations: 8 kB / 0.7087 GB, free: 15.33 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008295/0.01194, allocations: 429.5 kB / 0.7091 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.01396, allocations: 1.054 MB / 0.7102 GB, free: 13.79 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/0.01484, allocations: 418.1 kB / 0.7106 GB, free: 13.34 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/0.01527, allocations: 264.6 kB / 0.7108 GB, free: 13.06 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.01529, allocations: 4 kB / 0.7108 GB, free: 13.05 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000853/0.01614, allocations: 0.6136 MB / 0.7114 GB, free: 12.36 MB / 426.8 MB Notification: Performance of pre-optimization done (n=57): time 2.334e-06/0.01614, allocations: 0 / 0.7114 GB, free: 12.36 MB / 426.8 MB Notification: Performance of matching and sorting (n=61): time 0.003576/0.01972, allocations: 1.897 MB / 0.7133 GB, free: 10.31 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002735/0.01999, allocations: 380.3 kB / 0.7136 GB, free: 9.852 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.02038, allocations: 304.5 kB / 0.7139 GB, free: 9.543 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/0.02045, allocations: 53.64 kB / 0.714 GB, free: 9.484 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.02062, allocations: 204.9 kB / 0.7142 GB, free: 9.281 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.02082, allocations: 206.3 kB / 0.7144 GB, free: 9.078 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.02101, allocations: 110.7 kB / 0.7145 GB, free: 8.965 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.02122, allocations: 358.8 kB / 0.7148 GB, free: 8.605 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.02178, allocations: 349.2 kB / 0.7151 GB, free: 8.23 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/0.02249, allocations: 0.5024 MB / 0.7156 GB, free: 7.625 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.02359, allocations: 0.7348 MB / 0.7164 GB, free: 6.777 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.02359, allocations: 0 / 0.7164 GB, free: 6.777 MB / 426.8 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00151/0.0251, allocations: 0.9185 MB / 0.7173 GB, free: 5.785 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.02523, allocations: 140.5 kB / 0.7174 GB, free: 5.617 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.02524, allocations: 4 kB / 0.7174 GB, free: 5.613 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.02527, allocations: 12.58 kB / 0.7174 GB, free: 5.602 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.02596, allocations: 139.8 kB / 0.7175 GB, free: 5.465 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.02598, allocations: 19.91 kB / 0.7176 GB, free: 5.445 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.02632, allocations: 23.98 kB / 0.7176 GB, free: 5.422 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.02638, allocations: 32 kB / 0.7176 GB, free: 5.391 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 20 * Number of states: 0 () * Number of discrete variables: 37 (peripheral2.Cmin,$PRE.peripheral2.Cmin,peripheral2.Cmax,$PRE.peripheral2.Cmax,peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral2.rising,$PRE.peripheral2.rising,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 5 * 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.0004541/0.02683, allocations: 332.9 kB / 0.7179 GB, free: 5.035 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/0.02692, allocations: 59.7 kB / 0.718 GB, free: 4.977 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.02704, allocations: 48.52 kB / 0.718 GB, free: 4.926 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.02705, allocations: 4 kB / 0.718 GB, free: 4.922 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.02706, allocations: 4 kB / 0.718 GB, free: 4.918 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.02706, allocations: 0 / 0.718 GB, free: 4.918 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.02943, allocations: 1.258 MB / 0.7193 GB, free: 3.574 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.02944, allocations: 3.938 kB / 0.7193 GB, free: 3.57 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.02994, allocations: 95.88 kB / 0.7194 GB, free: 3.477 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.02994, allocations: 4 kB / 0.7194 GB, free: 3.473 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.02999, allocations: 19.98 kB / 0.7194 GB, free: 3.453 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.03, allocations: 4 kB / 0.7194 GB, free: 3.449 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.03, allocations: 3.938 kB / 0.7194 GB, free: 3.445 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2104/0.2404, allocations: 1.225 MB / 0.7206 GB, free: 35.96 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.2406, allocations: 84.27 kB / 0.7207 GB, free: 35.96 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.67e-05/0.2407, allocations: 25.03 kB / 0.7207 GB, free: 35.96 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.241, allocations: 23.7 kB / 0.7207 GB, free: 35.96 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.2411, allocations: 52.56 kB / 0.7208 GB, free: 35.96 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.2412, allocations: 24.09 kB / 0.7208 GB, free: 35.96 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002132/0.2414, allocations: 216.7 kB / 0.721 GB, free: 35.88 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2414, allocations: 0 / 0.721 GB, free: 35.88 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000492/0.2419, allocations: 149.4 kB / 0.7211 GB, free: 35.88 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC,peripheral.C,peripheral.AUC,peripheral2.C,peripheral2.AUC) * Number of discrete variables: 23 ($whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising,peripheral2.Cmax,peripheral2.Cmin,peripheral2.rising) * Number of discrete states: 21 (periodicDose.pulse.count,peripheral2.Cmin,$whenCondition8,peripheral2.Cmax,$whenCondition7,peripheral2.rising,peripheral.Cmin,$whenCondition6,peripheral.Cmax,$whenCondition5,peripheral.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition4,periodicDose.route.absorptionLumen.Cmax,$whenCondition3,periodicDose.route.absorptionLumen.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 4 * 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.0001433/0.242, allocations: 139 kB / 0.7213 GB, free: 35.8 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.2431, allocations: 0.9792 MB / 0.7222 GB, free: 35.2 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2431, allocations: 0 / 0.7222 GB, free: 35.2 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.2436, allocations: 0.5651 MB / 0.7228 GB, free: 34.8 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.2443, allocations: 140.6 kB / 0.7229 GB, free: 34.77 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.2462, allocations: 1.311 MB / 0.7242 GB, free: 33.96 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.2464, allocations: 229.4 kB / 0.7244 GB, free: 33.87 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.2466, allocations: 52.91 kB / 0.7245 GB, free: 33.86 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.2467, allocations: 43.69 kB / 0.7245 GB, free: 33.84 MB / 426.8 MB Notification: Performance of SimCode: time 6.01e-07/0.2467, allocations: 0 / 0.7245 GB, free: 33.84 MB / 426.8 MB Notification: Performance of Templates: time 0.01661/0.2633, allocations: 7.176 MB / 0.7315 GB, free: 33.05 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Midazolam.Midazolam_VanRongen_oral.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.786440194118768]