Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.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.002533/0.002533, allocations: 80.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.003108/0.003108, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.521/1.521, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.351/1.351, allocations: 292.9 MB / 0.5392 GB, free: 49.7 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.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6999 GB, free: 8.602 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.237e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.598 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol): time 0.004077/0.004109, allocations: 3.01 MB / 0.7028 GB, free: 5.566 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.008626/0.01274, allocations: 6.647 MB / 0.7093 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.01321, allocations: 0 / 0.7093 GB, free: 14.91 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.01355, allocations: 39.58 kB / 0.7094 GB, free: 14.87 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006582/0.01421, allocations: 134.8 kB / 0.7095 GB, free: 14.74 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.01463, allocations: 83.84 kB / 0.7096 GB, free: 14.66 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007644/0.0154, allocations: 437.8 kB / 0.71 GB, free: 14.23 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.01563, allocations: 66.06 kB / 0.7101 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004671/0.01609, allocations: 223.5 kB / 0.7103 GB, free: 13.95 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.01648, allocations: 123.6 kB / 0.7104 GB, free: 13.82 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 8.683e-05/0.01657, allocations: 32 kB / 0.7104 GB, free: 13.79 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.433e-05/0.01665, allocations: 36 kB / 0.7105 GB, free: 13.76 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.01674, allocations: 63.7 kB / 0.7105 GB, free: 13.7 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.01698, allocations: 119.7 kB / 0.7106 GB, free: 13.58 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.01755, allocations: 366.9 kB / 0.711 GB, free: 13.22 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.01755, allocations: 0 / 0.711 GB, free: 13.22 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.264e-06/0.01755, allocations: 0 / 0.711 GB, free: 13.22 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.01757, allocations: 4 kB / 0.711 GB, free: 13.21 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00143/0.019, allocations: 0.6076 MB / 0.7116 GB, free: 12.56 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.01905, allocations: 8.031 kB / 0.7116 GB, free: 12.55 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.01917, allocations: 36.7 kB / 0.7116 GB, free: 12.52 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.01961, allocations: 220.8 kB / 0.7118 GB, free: 12.28 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.01964, allocations: 16.88 kB / 0.7119 GB, free: 12.26 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.0197, allocations: 24.33 kB / 0.7119 GB, free: 12.24 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.02039, allocations: 306.2 kB / 0.7122 GB, free: 11.91 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.02042, allocations: 19.86 kB / 0.7122 GB, free: 11.89 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.02045, allocations: 4 kB / 0.7122 GB, free: 11.89 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.02046, allocations: 8 kB / 0.7122 GB, free: 11.88 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.02107, allocations: 244.2 kB / 0.7124 GB, free: 11.63 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.02249, allocations: 0.6543 MB / 0.7131 GB, free: 10.94 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007595/0.02325, allocations: 266.8 kB / 0.7133 GB, free: 10.66 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.02357, allocations: 164.4 kB / 0.7135 GB, free: 10.48 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.02359, allocations: 4 kB / 0.7135 GB, free: 10.48 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006275/0.02422, allocations: 367.4 kB / 0.7138 GB, free: 10.07 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.834e-06/0.02422, allocations: 0 / 0.7138 GB, free: 10.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.00268/0.0269, allocations: 1.143 MB / 0.715 GB, free: 8.828 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/0.0271, allocations: 221.6 kB / 0.7152 GB, free: 8.562 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.02746, allocations: 249.9 kB / 0.7154 GB, free: 8.312 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.02751, allocations: 33.7 kB / 0.7154 GB, free: 8.273 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.02767, allocations: 164.8 kB / 0.7156 GB, free: 8.105 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.02781, allocations: 119.1 kB / 0.7157 GB, free: 7.988 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.02796, allocations: 70.19 kB / 0.7158 GB, free: 7.914 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.02819, allocations: 350.7 kB / 0.7161 GB, free: 7.562 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.02861, allocations: 215.9 kB / 0.7163 GB, free: 7.332 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.02912, allocations: 326.8 kB / 0.7166 GB, free: 6.945 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007708/0.02989, allocations: 454.2 kB / 0.7171 GB, free: 6.434 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.02989, allocations: 0 / 0.7171 GB, free: 6.434 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001125/0.03102, allocations: 0.5885 MB / 0.7176 GB, free: 5.801 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.328e-05/0.03111, allocations: 89.09 kB / 0.7177 GB, free: 5.695 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.03112, allocations: 4 kB / 0.7177 GB, free: 5.691 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.03114, allocations: 7.938 kB / 0.7177 GB, free: 5.684 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.03151, allocations: 84.23 kB / 0.7178 GB, free: 5.602 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.03152, allocations: 7.984 kB / 0.7178 GB, free: 5.594 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.03179, allocations: 23.98 kB / 0.7178 GB, free: 5.57 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.03183, allocations: 12 kB / 0.7179 GB, free: 5.559 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,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,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0003672/0.03219, allocations: 248.2 kB / 0.7181 GB, free: 5.301 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.03227, allocations: 31.81 kB / 0.7181 GB, free: 5.27 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/0.03235, allocations: 34.95 kB / 0.7182 GB, free: 5.234 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.03236, allocations: 4 kB / 0.7182 GB, free: 5.23 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.03237, allocations: 3.938 kB / 0.7182 GB, free: 5.227 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.03237, allocations: 0 / 0.7182 GB, free: 5.227 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.03387, allocations: 0.8173 MB / 0.719 GB, free: 4.352 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.03388, allocations: 4 kB / 0.719 GB, free: 4.348 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.03421, allocations: 55.95 kB / 0.719 GB, free: 4.293 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.03422, allocations: 4 kB / 0.719 GB, free: 4.289 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.03426, allocations: 15.94 kB / 0.719 GB, free: 4.273 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.03426, allocations: 0 / 0.719 GB, free: 4.273 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.03426, allocations: 3.938 kB / 0.719 GB, free: 4.27 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.03564, allocations: 0.7718 MB / 0.7198 GB, free: 3.445 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.03578, allocations: 55.77 kB / 0.7198 GB, free: 3.391 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.03586, allocations: 8 kB / 0.7199 GB, free: 3.383 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.03608, allocations: 19.98 kB / 0.7199 GB, free: 3.363 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.0362, allocations: 31.95 kB / 0.7199 GB, free: 3.332 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.03623, allocations: 19.92 kB / 0.7199 GB, free: 3.312 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002987/0.03653, allocations: 181.2 kB / 0.7201 GB, free: 3.137 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.03653, allocations: 0 / 0.7201 GB, free: 3.137 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0007159/0.03724, allocations: 88 kB / 0.7202 GB, free: 3.051 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,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) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.2388/0.2761, allocations: 122.1 kB / 0.7203 GB, free: 37.35 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009868/0.277, allocations: 0.5888 MB / 0.7209 GB, free: 37 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.277, allocations: 0 / 0.7209 GB, free: 37 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.2774, allocations: 314.7 kB / 0.7212 GB, free: 36.82 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.2781, allocations: 90.98 kB / 0.7213 GB, free: 36.82 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.2797, allocations: 0.8552 MB / 0.7221 GB, free: 36.39 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.2798, allocations: 169.2 kB / 0.7223 GB, free: 36.31 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.000161/0.28, allocations: 34.42 kB / 0.7223 GB, free: 36.3 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.417e-05/0.2801, allocations: 31.5 kB / 0.7223 GB, free: 36.29 MB / 426.8 MB Notification: Performance of SimCode: time 9.01e-07/0.2801, allocations: 0 / 0.7223 GB, free: 36.29 MB / 426.8 MB Notification: Performance of Templates: time 0.01098/0.2911, allocations: 4.832 MB / 0.727 GB, free: 35.84 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.973610206972808]