Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.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.001845/0.001845, allocations: 101.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.002026/0.002026, allocations: 222.4 kB / 22.25 MB, free: 3.691 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.728/1.728, allocations: 230.6 MB / 256 MB, free: 9.605 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.415/1.415, allocations: 316.7 MB / 0.6144 GB, free: 93.51 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.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr") [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.00396/0.00396, allocations: 73.56 kB / 0.775 GB, free: 15.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1455, allocations: 73.98 MB / 0.8472 GB, free: 5.188 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr): time 0.001781/0.1473, allocations: 0.6224 MB / 0.8478 GB, free: 4.578 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.976e-05/0.1474, allocations: 11.92 kB / 0.8478 GB, free: 4.566 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.1474, allocations: 0.75 kB / 0.8478 GB, free: 4.566 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.1474, allocations: 0 / 0.8478 GB, free: 4.566 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.531e-05/0.1475, allocations: 4.438 kB / 0.8478 GB, free: 4.562 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.539e-05/0.1475, allocations: 0.5 kB / 0.8478 GB, free: 4.562 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.279e-05/0.1476, allocations: 20.48 kB / 0.8479 GB, free: 4.543 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.1476, allocations: 0 / 0.8479 GB, free: 4.543 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.1476, allocations: 12.52 kB / 0.8479 GB, free: 4.531 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.1477, allocations: 8.531 kB / 0.8479 GB, free: 4.523 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1477, allocations: 3.984 kB / 0.8479 GB, free: 4.52 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-06/0.1477, allocations: 0.625 kB / 0.8479 GB, free: 4.52 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.1477, allocations: 7.984 kB / 0.8479 GB, free: 4.512 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.1477, allocations: 8.562 kB / 0.8479 GB, free: 4.504 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.575e-05/0.1478, allocations: 12.64 kB / 0.8479 GB, free: 4.492 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1478, allocations: 0 / 0.8479 GB, free: 4.492 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1478, allocations: 0.5 kB / 0.8479 GB, free: 4.492 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1478, allocations: 0 / 0.8479 GB, free: 4.492 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006143/0.1484, allocations: 255 kB / 0.8482 GB, free: 4.211 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1485, allocations: 8.656 kB / 0.8482 GB, free: 4.203 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.1485, allocations: 5.531 kB / 0.8482 GB, free: 4.199 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1486, allocations: 118.3 kB / 0.8483 GB, free: 4.059 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.1486, allocations: 5 kB / 0.8483 GB, free: 4.055 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.1486, allocations: 4.359 kB / 0.8483 GB, free: 4.051 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.1487, allocations: 38.97 kB / 0.8483 GB, free: 4.008 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1487, allocations: 192 / 0.8483 GB, free: 4.008 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.1487, allocations: 8.562 kB / 0.8483 GB, free: 4 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1487, allocations: 0.5938 kB / 0.8483 GB, free: 4 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/0.1488, allocations: 11.98 kB / 0.8484 GB, free: 3.988 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.1489, allocations: 105.9 kB / 0.8485 GB, free: 3.855 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1491, allocations: 47.08 kB / 0.8485 GB, free: 3.801 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.1492, allocations: 17.61 kB / 0.8485 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.1492, allocations: 0 / 0.8485 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1492, allocations: 36.41 kB / 0.8486 GB, free: 3.738 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1492, allocations: 0 / 0.8486 GB, free: 3.738 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001618/0.1494, allocations: 61.56 kB / 0.8486 GB, free: 3.672 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.1494, allocations: 55.34 kB / 0.8487 GB, free: 3.605 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.1495, allocations: 102.5 kB / 0.8488 GB, free: 3.496 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1495, allocations: 25.7 kB / 0.8488 GB, free: 3.465 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.1496, allocations: 85.19 kB / 0.8489 GB, free: 3.379 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1496, allocations: 15.91 kB / 0.8489 GB, free: 3.363 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.1496, allocations: 13.72 kB / 0.8489 GB, free: 3.344 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1498, allocations: 315.8 kB / 0.8492 GB, free: 3.027 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.1498, allocations: 7.984 kB / 0.8492 GB, free: 3.02 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.1498, allocations: 4 kB / 0.8492 GB, free: 3.016 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.879e-05/0.1499, allocations: 25.86 kB / 0.8492 GB, free: 2.988 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1499, allocations: 0 / 0.8492 GB, free: 2.988 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.916e-05/0.15, allocations: 50.78 kB / 0.8493 GB, free: 2.934 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.15, allocations: 4 kB / 0.8493 GB, free: 2.93 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.15, allocations: 4 kB / 0.8493 GB, free: 2.926 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.15, allocations: 6 kB / 0.8493 GB, free: 2.922 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.644e-05/0.15, allocations: 4 kB / 0.8493 GB, free: 2.918 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.15, allocations: 0 / 0.8493 GB, free: 2.918 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.1501, allocations: 3.953 kB / 0.8493 GB, free: 2.914 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1501, allocations: 4 kB / 0.8493 GB, free: 2.91 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.247e-05/0.1501, allocations: 114.5 kB / 0.8494 GB, free: 2.789 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.1502, allocations: 4.328 kB / 0.8494 GB, free: 2.785 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.1502, allocations: 6 kB / 0.8494 GB, free: 2.781 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1502, allocations: 3.938 kB / 0.8494 GB, free: 2.777 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1502, allocations: 3.984 kB / 0.8494 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1502, allocations: 256 / 0.8494 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.1503, allocations: 117.2 kB / 0.8495 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1503, allocations: 4 kB / 0.8496 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.1503, allocations: 10.62 kB / 0.8496 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1503, allocations: 0 / 0.8496 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.1504, allocations: 0 / 0.8496 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1504, allocations: 0 / 0.8496 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1504, allocations: 11.88 kB / 0.8496 GB, free: 2.605 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.1505, allocations: 77.08 kB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-06/0.1505, allocations: 0 / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.1505, allocations: 0.7812 kB / 0.8496 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.428e-05/0.1505, allocations: 7.938 kB / 0.8497 GB, free: 2.504 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.1505, allocations: 11.92 kB / 0.8497 GB, free: 2.492 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1505, allocations: 0.5938 kB / 0.8497 GB, free: 2.492 MB / 474.8 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.1506, allocations: 79.78 kB / 0.8497 GB, free: 2.414 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1506, allocations: 0.5625 kB / 0.8497 GB, free: 2.414 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001676/0.1507, allocations: 8 kB / 0.8497 GB, free: 2.406 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001055/0.1508, allocations: 102.6 kB / 0.8498 GB, free: 2.297 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.167e-05/0.1509, allocations: 23.92 kB / 0.8499 GB, free: 2.273 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1509, allocations: 0.7188 kB / 0.8499 GB, free: 2.273 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.887e-05/0.151, allocations: 8 kB / 0.8499 GB, free: 2.266 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.1511, allocations: 5.422 kB / 0.8499 GB, free: 2.266 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.1513, allocations: 121.6 kB / 0.85 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.786e-05/0.1514, allocations: 60 kB / 0.8501 GB, free: 2.043 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.37e-05/0.1514, allocations: 4 kB / 0.8501 GB, free: 2.039 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.1514, allocations: 8.188 kB / 0.8501 GB, free: 2.031 MB / 474.8 MB Notification: Performance of SimCode: time 3.81e-07/0.1514, allocations: 0.5 kB / 0.8501 GB, free: 2.031 MB / 474.8 MB Notification: Performance of Templates: time 0.00262/0.1541, allocations: 413.6 kB / 0.8505 GB, free: 1.695 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.174820435931906]