Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.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.002592/0.002592, 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.006117/0.006117, allocations: 218.4 kB / 22.25 MB, free: 3.578 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.759/1.759, allocations: 230.6 MB / 256 MB, free: 9.574 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.426/1.426, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline") [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.003818/0.003818, allocations: 77.31 kB / 0.775 GB, free: 14.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1879, allocations: 73.99 MB / 0.8472 GB, free: 4.852 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline): time 0.004183/0.1921, allocations: 2.301 MB / 0.8495 GB, free: 2.551 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2669/0.459, allocations: 6.516 MB / 0.8558 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.4591, allocations: 5.75 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.4593, allocations: 29.14 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.4595, allocations: 81.5 kB / 0.856 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.4597, allocations: 52.88 kB / 0.856 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.4599, allocations: 257.4 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.46, allocations: 33.7 kB / 0.8563 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.4602, allocations: 98.95 kB / 0.8564 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.4604, allocations: 101.4 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.4604, allocations: 18.44 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.778e-05/0.4604, allocations: 17.16 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.4605, allocations: 34.02 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.4605, allocations: 100.8 kB / 0.8566 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.4607, allocations: 195.5 kB / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4607, allocations: 1.625 kB / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.183e-06/0.4607, allocations: 0 / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.4607, allocations: 1.469 kB / 0.8568 GB, free: 21.82 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007284/0.4615, allocations: 493.8 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.4615, allocations: 12.19 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.4616, allocations: 22.23 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.4618, allocations: 189.4 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4618, allocations: 13.2 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.4618, allocations: 20.95 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.4621, allocations: 188.9 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.4622, allocations: 2.656 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.4622, allocations: 7.594 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4622, allocations: 4.062 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.4625, allocations: 147.4 kB / 0.8579 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.4632, allocations: 484.7 kB / 0.8583 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.4636, allocations: 175.5 kB / 0.8585 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.4638, allocations: 91.02 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.4638, allocations: 4.969 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.4641, allocations: 225.7 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.4641, allocations: 1.531 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00129/0.4654, allocations: 0.7016 MB / 0.8595 GB, free: 20.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.4654, allocations: 132.8 kB / 0.8596 GB, free: 20.08 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.4656, allocations: 223.1 kB / 0.8598 GB, free: 19.97 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4656, allocations: 31.3 kB / 0.8599 GB, free: 19.94 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.4656, allocations: 136.4 kB / 0.86 GB, free: 19.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.4657, allocations: 70.11 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.4657, allocations: 59.09 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.4658, allocations: 334.6 kB / 0.8604 GB, free: 19.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.466, allocations: 142.5 kB / 0.8606 GB, free: 19.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.4662, allocations: 225.2 kB / 0.8608 GB, free: 19.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.4666, allocations: 280.2 kB / 0.8611 GB, free: 19.06 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4666, allocations: 0.5625 kB / 0.8611 GB, free: 19.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005354/0.4671, allocations: 388.5 kB / 0.8614 GB, free: 18.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.4671, allocations: 60.81 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.4672, allocations: 6.75 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4672, allocations: 3.438 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.4674, allocations: 55.38 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4674, allocations: 5.547 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.4676, allocations: 18.59 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.4676, allocations: 12.08 kB / 0.8616 GB, free: 18.81 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.00016/0.4677, allocations: 179.5 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.4678, allocations: 22.95 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.4678, allocations: 27.47 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.4678, allocations: 4.625 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4678, allocations: 1.031 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4678, allocations: 5.078 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.4685, allocations: 0.5369 MB / 0.8623 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4685, allocations: 0 / 0.8623 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.4687, allocations: 41.59 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4687, allocations: 3.375 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.4687, allocations: 2.219 kB / 0.8624 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4687, allocations: 5.125 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4687, allocations: 1.469 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/0.4694, allocations: 0.4962 MB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.4694, allocations: 18.91 kB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.4695, allocations: 13.33 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.4696, allocations: 15.3 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.4697, allocations: 22.92 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.4697, allocations: 7.656 kB / 0.863 GB, free: 18.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001243/0.4699, allocations: 161.2 kB / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.4699, allocations: 1.094 kB / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003002/0.4702, allocations: 56.78 kB / 0.8632 GB, free: 17.98 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001004/0.4703, allocations: 113.2 kB / 0.8633 GB, free: 17.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005124/0.4708, allocations: 389 kB / 0.8636 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4708, allocations: 0 / 0.8636 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.471, allocations: 168.7 kB / 0.8638 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.4715, allocations: 73.3 kB / 0.8639 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4727, allocations: 0.6784 MB / 0.8645 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.4728, allocations: 123.5 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.4729, allocations: 25.66 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.473, allocations: 20.28 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of SimCode: time 5.21e-07/0.473, allocations: 1.562 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of Templates: time 0.007805/0.4808, allocations: 3.652 MB / 0.8683 GB, free: 16.82 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.035853995010257]