Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.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.002461/0.002461, allocations: 109.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.002974/0.002974, allocations: 214.4 kB / 22.25 MB, free: 3.582 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.769/1.769, allocations: 230.6 MB / 256 MB, free: 9.586 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.414/1.414, allocations: 316.8 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_Jameson1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference") [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.003747/0.003747, allocations: 81.55 kB / 0.775 GB, free: 14.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1433, allocations: 73.99 MB / 0.8472 GB, free: 4.832 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference): time 0.003972/0.1472, allocations: 2.284 MB / 0.8495 GB, free: 2.551 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.313/0.4602, allocations: 6.528 MB / 0.8558 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.4604, allocations: 0.6562 kB / 0.8558 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.4606, allocations: 26.59 kB / 0.8559 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.4609, allocations: 83.72 kB / 0.8559 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.4612, allocations: 56.44 kB / 0.856 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.4616, allocations: 254.1 kB / 0.8562 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.4617, allocations: 37.05 kB / 0.8563 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.4619, allocations: 97.53 kB / 0.8564 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.4622, allocations: 96.11 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.4622, allocations: 19.88 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.173e-05/0.4623, allocations: 16.81 kB / 0.8565 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.4623, allocations: 39.83 kB / 0.8565 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.4624, allocations: 94 kB / 0.8566 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.4627, allocations: 198.4 kB / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.4627, allocations: 1.656 kB / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4627, allocations: 0 / 0.8568 GB, free: 21.79 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.4627, allocations: 0 / 0.8568 GB, free: 21.79 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.0009641/0.4637, allocations: 0.4907 MB / 0.8573 GB, free: 21.39 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4637, allocations: 5.969 kB / 0.8573 GB, free: 21.39 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.4638, allocations: 24.42 kB / 0.8573 GB, free: 21.38 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.4641, allocations: 182.9 kB / 0.8575 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4641, allocations: 12.84 kB / 0.8575 GB, free: 21.22 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.4641, allocations: 21.89 kB / 0.8575 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.4646, allocations: 190.4 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4646, allocations: 2.016 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.4646, allocations: 7.75 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4646, allocations: 1.875 kB / 0.8577 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.4651, allocations: 147.8 kB / 0.8579 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009507/0.4661, allocations: 482.3 kB / 0.8583 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.4667, allocations: 172.1 kB / 0.8585 GB, free: 20.75 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.4669, allocations: 96.62 kB / 0.8586 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.4669, allocations: 5.484 kB / 0.8586 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.4673, allocations: 224.9 kB / 0.8588 GB, free: 20.56 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.345e-06/0.4673, allocations: 3.594 kB / 0.8588 GB, free: 20.56 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001759/0.4691, allocations: 0.7023 MB / 0.8595 GB, free: 20.2 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.4691, allocations: 140.1 kB / 0.8596 GB, free: 20.04 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.4694, allocations: 215.3 kB / 0.8598 GB, free: 19.94 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.4694, allocations: 32.2 kB / 0.8599 GB, free: 19.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.4695, allocations: 141.5 kB / 0.86 GB, free: 19.81 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/0.4696, allocations: 67.98 kB / 0.8601 GB, free: 19.77 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.4697, allocations: 53.75 kB / 0.8601 GB, free: 19.75 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/0.4697, allocations: 340.1 kB / 0.8604 GB, free: 19.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.47, allocations: 140.2 kB / 0.8606 GB, free: 19.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.4704, allocations: 225.5 kB / 0.8608 GB, free: 19.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.4709, allocations: 273.3 kB / 0.861 GB, free: 19.03 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.4709, allocations: 6.328 kB / 0.8611 GB, free: 19.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008528/0.4718, allocations: 391.6 kB / 0.8614 GB, free: 18.85 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.4719, allocations: 66.86 kB / 0.8615 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.4719, allocations: 3.938 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.4719, allocations: 3.5 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.4722, allocations: 55.52 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.4722, allocations: 3.875 kB / 0.8616 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.4725, allocations: 16.44 kB / 0.8616 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.4725, allocations: 10.12 kB / 0.8616 GB, free: 18.78 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.0002913/0.4728, allocations: 183.5 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.4729, allocations: 22.48 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.74e-05/0.4729, allocations: 30.92 kB / 0.8618 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.473, allocations: 3.969 kB / 0.8618 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.473, allocations: 2.312 kB / 0.8618 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.473, allocations: 0 / 0.8618 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.474, allocations: 0.5346 MB / 0.8623 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.474, allocations: 2.797 kB / 0.8623 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.4743, allocations: 36.98 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4743, allocations: 1.375 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.4743, allocations: 10.06 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4743, allocations: 5.438 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4743, allocations: 2.188 kB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009306/0.4752, allocations: 499.8 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.4753, allocations: 23.73 kB / 0.8629 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.4753, allocations: 13.81 kB / 0.8629 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.4756, allocations: 11.27 kB / 0.8629 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4757, allocations: 21.56 kB / 0.8629 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.4757, allocations: 11.95 kB / 0.8629 GB, free: 18.03 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001641/0.4759, allocations: 155.4 kB / 0.8631 GB, free: 17.95 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4759, allocations: 0.9375 kB / 0.8631 GB, free: 17.95 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000502/0.4764, allocations: 52.38 kB / 0.8631 GB, free: 17.95 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.0001501/0.4765, allocations: 122.8 kB / 0.8633 GB, free: 17.86 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.4772, allocations: 382.6 kB / 0.8636 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4772, allocations: 0.6875 kB / 0.8636 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.4775, allocations: 170.7 kB / 0.8638 GB, free: 17.53 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006834/0.4782, allocations: 66.97 kB / 0.8639 GB, free: 17.52 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.4798, allocations: 0.6901 MB / 0.8645 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.4799, allocations: 122.3 kB / 0.8646 GB, free: 17.13 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.4801, allocations: 24.61 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.4802, allocations: 23.19 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of SimCode: time 3.8e-07/0.4802, allocations: 1.156 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of Templates: time 0.01069/0.4908, allocations: 3.653 MB / 0.8683 GB, free: 16.79 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.012746509863064]