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.0009971/0.0009971, allocations: 92.52 kB / 19.94 MB, free: 4.598 MB / 18.57 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.001348/0.001348, allocations: 169.9 kB / 23.21 MB, free: 1.328 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 0.9329/0.9329, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.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.6766/0.6766, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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.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.152e-06/1.152e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.016e-05, allocations: 6.281 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol): time 0.002262/0.002282, allocations: 3.011 MB / 0.7003 GB, free: 7.305 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003787/0.006069, allocations: 6.65 MB / 0.7068 GB, free: 0.6445 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.006224, allocations: 0 / 0.7068 GB, free: 0.6445 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.006343, allocations: 39.58 kB / 0.7068 GB, free: 0.6055 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.006545, allocations: 130.9 kB / 0.707 GB, free: 488 kB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.006748, allocations: 83.84 kB / 0.707 GB, free: 404 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.007001, allocations: 433.9 kB / 0.7075 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.007145, allocations: 65.97 kB / 0.7075 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.007323, allocations: 223.5 kB / 0.7077 GB, free: 15.69 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.007512, allocations: 123.6 kB / 0.7078 GB, free: 15.57 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.007547, allocations: 32 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.421e-05/0.007581, allocations: 36 kB / 0.7079 GB, free: 15.5 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.007622, allocations: 67.7 kB / 0.708 GB, free: 15.43 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.007712, allocations: 123.6 kB / 0.7081 GB, free: 15.31 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.007987, allocations: 359 kB / 0.7084 GB, free: 14.96 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.007991, allocations: 0 / 0.7084 GB, free: 14.96 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.482e-06/0.007992, allocations: 0 / 0.7084 GB, free: 14.96 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.007998, allocations: 4 kB / 0.7084 GB, free: 14.96 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.0006999/0.008698, allocations: 0.6115 MB / 0.709 GB, free: 14.3 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.008732, allocations: 8.031 kB / 0.709 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.00879, allocations: 36.7 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.009009, allocations: 224.7 kB / 0.7093 GB, free: 14.01 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.009027, allocations: 12.88 kB / 0.7093 GB, free: 14 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.009064, allocations: 32.33 kB / 0.7093 GB, free: 13.97 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.00939, allocations: 306.2 kB / 0.7096 GB, free: 13.64 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.009403, allocations: 7.938 kB / 0.7096 GB, free: 13.63 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.009421, allocations: 8 kB / 0.7096 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.009427, allocations: 8 kB / 0.7097 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.009704, allocations: 244.2 kB / 0.7099 GB, free: 13.37 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006965/0.0104, allocations: 0.6582 MB / 0.7105 GB, free: 12.67 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.01079, allocations: 266 kB / 0.7108 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.01095, allocations: 164.4 kB / 0.7109 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.01096, allocations: 4 kB / 0.7109 GB, free: 12.21 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003021/0.01126, allocations: 367.4 kB / 0.7113 GB, free: 11.8 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.01126, allocations: 0 / 0.7113 GB, free: 11.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.001714/0.01298, allocations: 1.131 MB / 0.7124 GB, free: 10.57 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.01308, allocations: 225.6 kB / 0.7126 GB, free: 10.3 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.01359, allocations: 253.9 kB / 0.7129 GB, free: 10.05 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.01362, allocations: 37.7 kB / 0.7129 GB, free: 10.01 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.01372, allocations: 160.8 kB / 0.713 GB, free: 9.844 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.01378, allocations: 115.1 kB / 0.7132 GB, free: 9.73 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.01385, allocations: 74.19 kB / 0.7132 GB, free: 9.652 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.01393, allocations: 346.7 kB / 0.7136 GB, free: 9.305 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.01413, allocations: 215.9 kB / 0.7138 GB, free: 9.074 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.01435, allocations: 330.8 kB / 0.7141 GB, free: 8.684 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.01471, allocations: 458.2 kB / 0.7145 GB, free: 8.168 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01471, allocations: 0 / 0.7145 GB, free: 8.168 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000502/0.01521, allocations: 0.5807 MB / 0.7151 GB, free: 7.543 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.01526, allocations: 93.09 kB / 0.7152 GB, free: 7.434 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01526, allocations: 4 kB / 0.7152 GB, free: 7.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01528, allocations: 4 kB / 0.7152 GB, free: 7.426 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.01545, allocations: 88.17 kB / 0.7153 GB, free: 7.34 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.01546, allocations: 7.984 kB / 0.7153 GB, free: 7.332 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.01557, allocations: 19.98 kB / 0.7153 GB, free: 7.312 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.01559, allocations: 16 kB / 0.7153 GB, free: 7.297 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.0002069/0.0158, allocations: 240.5 kB / 0.7155 GB, free: 7.043 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.01583, allocations: 35.81 kB / 0.7156 GB, free: 7.008 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.01587, allocations: 34.95 kB / 0.7156 GB, free: 6.973 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01587, allocations: 4 kB / 0.7156 GB, free: 6.969 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01587, allocations: 0 / 0.7156 GB, free: 6.969 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01588, allocations: 0 / 0.7156 GB, free: 6.969 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/0.0166, allocations: 0.8173 MB / 0.7164 GB, free: 6.094 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.0166, allocations: 0 / 0.7164 GB, free: 6.094 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.01676, allocations: 59.89 kB / 0.7165 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01676, allocations: 4 kB / 0.7165 GB, free: 6.031 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.01678, allocations: 12 kB / 0.7165 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01678, allocations: 4 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.01679, allocations: 3.938 kB / 0.7165 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000634/0.01742, allocations: 0.7679 MB / 0.7172 GB, free: 5.191 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.0175, allocations: 59.7 kB / 0.7173 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.01753, allocations: 12 kB / 0.7173 GB, free: 5.121 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.01763, allocations: 19.98 kB / 0.7173 GB, free: 5.102 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.01771, allocations: 31.95 kB / 0.7173 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.01772, allocations: 19.92 kB / 0.7174 GB, free: 5.051 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001138/0.01784, allocations: 181.2 kB / 0.7175 GB, free: 4.875 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01784, allocations: 0 / 0.7175 GB, free: 4.875 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002187/0.01806, allocations: 84 kB / 0.7176 GB, free: 4.793 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.000108/0.01817, allocations: 134.7 kB / 0.7177 GB, free: 4.656 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000476/0.01864, allocations: 0.5884 MB / 0.7183 GB, free: 4 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01864, allocations: 0 / 0.7183 GB, free: 4 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.01885, allocations: 310.1 kB / 0.7186 GB, free: 3.66 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.0192, allocations: 91.94 kB / 0.7187 GB, free: 3.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.02044, allocations: 0.8907 MB / 0.7196 GB, free: 2.637 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.02054, allocations: 168.2 kB / 0.7197 GB, free: 2.449 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.0206, allocations: 32.5 kB / 0.7198 GB, free: 2.418 MB / 426.8 MB Notification: Performance of SimCode: time 5.11e-07/0.02061, allocations: 0 / 0.7198 GB, free: 2.418 MB / 426.8 MB Notification: Performance of Templates: time 0.1486/0.1692, allocations: 4.368 MB / 0.724 GB, free: 36.24 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 > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.726245659403503]