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.001046/0.001046, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001053/0.001053, allocations: 215.5 kB / 23 MB, free: 2.938 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.001/1.001, allocations: 230.6 MB / 256.8 MB, free: 9.574 MB / 202.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.7971/0.7971, allocations: 312.3 MB / 0.6108 GB, free: 97.6 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.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.001445/0.001445, allocations: 73.38 kB / 0.7699 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1388, allocations: 73.98 MB / 0.8421 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference): time 0.002995/0.1418, allocations: 2.29 MB / 0.8443 GB, free: 8.047 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005223/0.147, allocations: 6.521 MB / 0.8507 GB, free: 1.523 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1471, allocations: 3.938 kB / 0.8507 GB, free: 1.52 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.1473, allocations: 24.28 kB / 0.8507 GB, free: 1.496 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.1475, allocations: 84.67 kB / 0.8508 GB, free: 1.414 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1477, allocations: 48.38 kB / 0.8509 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.148, allocations: 258.7 kB / 0.8511 GB, free: 1.113 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000448/0.1484, allocations: 41.28 kB / 0.8512 GB, free: 1.074 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1485, allocations: 95.58 kB / 0.8512 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1487, allocations: 96.17 kB / 0.8513 GB, free: 0.8867 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.1487, allocations: 20.5 kB / 0.8514 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.563e-05/0.1488, allocations: 16.62 kB / 0.8514 GB, free: 0.8516 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.1488, allocations: 35.84 kB / 0.8514 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.1489, allocations: 96.03 kB / 0.8515 GB, free: 0.7227 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.1491, allocations: 195.9 kB / 0.8517 GB, free: 0.5312 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1491, allocations: 7.938 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1491, allocations: 0.5312 kB / 0.8517 GB, free: 0.5234 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.1491, allocations: 0.6562 kB / 0.8517 GB, free: 0.5234 MB / 474.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.0007207/0.1498, allocations: 0.4905 MB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1499, allocations: 12.67 kB / 0.8522 GB, free: 15.97 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.1499, allocations: 24.8 kB / 0.8522 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1501, allocations: 179.7 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1502, allocations: 12.59 kB / 0.8524 GB, free: 15.73 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.1502, allocations: 20.39 kB / 0.8524 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.1505, allocations: 187 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1505, allocations: 4.594 kB / 0.8526 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1505, allocations: 8.484 kB / 0.8526 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1505, allocations: 4 kB / 0.8526 GB, free: 15.5 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.1507, allocations: 147.5 kB / 0.8527 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.1513, allocations: 486.5 kB / 0.8532 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.1516, allocations: 169.6 kB / 0.8534 GB, free: 14.67 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.1517, allocations: 95.08 kB / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.1517, allocations: 4.688 kB / 0.8535 GB, free: 14.56 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.152, allocations: 229.6 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.585e-06/0.152, allocations: 4.688 kB / 0.8537 GB, free: 14.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001021/0.153, allocations: 0.7001 MB / 0.8544 GB, free: 13.55 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.1531, allocations: 136.5 kB / 0.8545 GB, free: 13.38 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1532, allocations: 215.5 kB / 0.8547 GB, free: 13.16 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1532, allocations: 34.27 kB / 0.8547 GB, free: 13.12 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.1533, allocations: 132.5 kB / 0.8549 GB, free: 12.99 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.1533, allocations: 72.05 kB / 0.8549 GB, free: 12.92 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.1534, allocations: 62.33 kB / 0.855 GB, free: 12.86 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.1535, allocations: 342.8 kB / 0.8553 GB, free: 12.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1536, allocations: 137.7 kB / 0.8555 GB, free: 12.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.1538, allocations: 225.9 kB / 0.8557 GB, free: 12.09 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2706/0.4244, allocations: 275.4 kB / 0.8559 GB, free: 30.24 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4244, allocations: 7.156 kB / 0.8559 GB, free: 30.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004398/0.4248, allocations: 383.5 kB / 0.8563 GB, free: 30.08 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.4249, allocations: 69.95 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4249, allocations: 3.438 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.4249, allocations: 3.969 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.425, allocations: 54.61 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.425, allocations: 5.281 kB / 0.8564 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.4252, allocations: 19.55 kB / 0.8565 GB, free: 30.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.4252, allocations: 6.938 kB / 0.8565 GB, free: 30.02 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.0001699/0.4253, allocations: 176.7 kB / 0.8566 GB, free: 29.87 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4254, allocations: 23.19 kB / 0.8567 GB, free: 29.87 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.4254, allocations: 26.39 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4254, allocations: 5.594 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4254, allocations: 0 / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4254, allocations: 0.8906 kB / 0.8567 GB, free: 29.86 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005998/0.426, allocations: 0.5411 MB / 0.8572 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.426, allocations: 0 / 0.8572 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.4261, allocations: 34.48 kB / 0.8572 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4262, allocations: 0.6562 kB / 0.8572 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.4262, allocations: 9.938 kB / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4262, allocations: 1.312 kB / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4262, allocations: 1.312 kB / 0.8573 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.4266, allocations: 0.4926 MB / 0.8577 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.4267, allocations: 23.81 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.4267, allocations: 6.062 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.4268, allocations: 14.94 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.4268, allocations: 23.52 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4269, allocations: 10.59 kB / 0.8578 GB, free: 29.34 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.648e-05/0.4269, allocations: 157.9 kB / 0.858 GB, free: 29.27 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4269, allocations: 1.969 kB / 0.858 GB, free: 29.27 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001863/0.4271, allocations: 60 kB / 0.858 GB, free: 29.26 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 8.68e-05/0.4272, allocations: 118.9 kB / 0.8581 GB, free: 29.17 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.4275, allocations: 377.8 kB / 0.8585 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4275, allocations: 0 / 0.8585 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.4277, allocations: 175.6 kB / 0.8587 GB, free: 28.85 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.428, allocations: 71.44 kB / 0.8587 GB, free: 28.84 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.4288, allocations: 0.6965 MB / 0.8594 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.012e-05/0.4289, allocations: 125.6 kB / 0.8595 GB, free: 28.46 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.429, allocations: 21.25 kB / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of SimCode: time 8.92e-07/0.429, allocations: 3.938 kB / 0.8596 GB, free: 28.45 MB / 490.8 MB Notification: Performance of Templates: time 0.004161/0.4331, allocations: 2.948 MB / 0.8624 GB, free: 28.23 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 > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline_Jameson1990_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.2830022582784295]