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_se_drug.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.001837/0.001837, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.001938/0.001938, allocations: 218.4 kB / 22.25 MB, free: 3.57 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.676/1.676, allocations: 230.6 MB / 256 MB, free: 9.637 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.435/1.435, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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_se_drug,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug") [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.004539/0.004539, allocations: 73.39 kB / 0.7749 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1714, allocations: 74 MB / 0.8472 GB, free: 4.926 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug): time 0.00203/0.1735, allocations: 0.6188 MB / 0.8478 GB, free: 4.32 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.851e-05/0.1735, allocations: 8.562 kB / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.1736, allocations: 0 / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.1736, allocations: 4.5 kB / 0.8478 GB, free: 4.309 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.829e-05/0.1736, allocations: 4.5 kB / 0.8478 GB, free: 4.305 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.689e-05/0.1737, allocations: 3.984 kB / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.247e-05/0.1737, allocations: 16.7 kB / 0.8478 GB, free: 4.285 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.1738, allocations: 4.578 kB / 0.8479 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.1738, allocations: 7.938 kB / 0.8479 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.1739, allocations: 4.641 kB / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1739, allocations: 4 kB / 0.8479 GB, free: 4.266 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.458e-06/0.1739, allocations: 0.625 kB / 0.8479 GB, free: 4.266 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.1739, allocations: 8.625 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.1739, allocations: 7.984 kB / 0.8479 GB, free: 4.25 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.17e-05/0.174, allocations: 4.531 kB / 0.8479 GB, free: 4.246 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.174, allocations: 3.984 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.773e-06/0.174, allocations: 0.5 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.174, allocations: 4.5 kB / 0.8479 GB, free: 4.238 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.0006727/0.1747, allocations: 251.2 kB / 0.8481 GB, free: 3.961 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1747, allocations: 12.03 kB / 0.8481 GB, free: 3.949 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.1747, allocations: 2.188 kB / 0.8482 GB, free: 3.949 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1749, allocations: 122.4 kB / 0.8483 GB, free: 3.805 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1749, allocations: 4.375 kB / 0.8483 GB, free: 3.801 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.1749, allocations: 4.875 kB / 0.8483 GB, free: 3.797 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.545e-05/0.175, allocations: 34.25 kB / 0.8483 GB, free: 3.758 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.175, allocations: 1.938 kB / 0.8483 GB, free: 3.758 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.175, allocations: 11.88 kB / 0.8483 GB, free: 3.746 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.175, allocations: 3.938 kB / 0.8483 GB, free: 3.742 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.299e-05/0.175, allocations: 8 kB / 0.8483 GB, free: 3.734 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.1752, allocations: 110.6 kB / 0.8484 GB, free: 3.598 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.1754, allocations: 50.58 kB / 0.8485 GB, free: 3.539 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.1755, allocations: 12.86 kB / 0.8485 GB, free: 3.523 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1755, allocations: 1.094 kB / 0.8485 GB, free: 3.523 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1755, allocations: 34.56 kB / 0.8485 GB, free: 3.48 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1755, allocations: 0 / 0.8485 GB, free: 3.48 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001829/0.1757, allocations: 59.52 kB / 0.8486 GB, free: 3.418 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1757, allocations: 55.34 kB / 0.8486 GB, free: 3.352 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1758, allocations: 105.8 kB / 0.8487 GB, free: 3.238 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1759, allocations: 25.7 kB / 0.8488 GB, free: 3.207 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.1759, allocations: 84.86 kB / 0.8488 GB, free: 3.121 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.1759, allocations: 7.906 kB / 0.8489 GB, free: 3.113 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.176, allocations: 24.2 kB / 0.8489 GB, free: 3.086 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1762, allocations: 314.8 kB / 0.8492 GB, free: 2.77 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.1762, allocations: 4 kB / 0.8492 GB, free: 2.766 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.1762, allocations: 11.98 kB / 0.8492 GB, free: 2.754 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.902e-05/0.1762, allocations: 21.12 kB / 0.8492 GB, free: 2.73 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1763, allocations: 0 / 0.8492 GB, free: 2.73 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.735e-05/0.1763, allocations: 53.62 kB / 0.8493 GB, free: 2.672 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1764, allocations: 5.875 kB / 0.8493 GB, free: 2.668 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1764, allocations: 0 / 0.8493 GB, free: 2.668 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1764, allocations: 3.938 kB / 0.8493 GB, free: 2.664 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.1764, allocations: 8 kB / 0.8493 GB, free: 2.656 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1764, allocations: 0 / 0.8493 GB, free: 2.656 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.201e-05/0.1765, allocations: 5.234 kB / 0.8493 GB, free: 2.652 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.1765, allocations: 0 / 0.8493 GB, free: 2.652 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 0.0001091/0.1766, allocations: 114.9 kB / 0.8494 GB, free: 2.531 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-06/0.1766, allocations: 0.5938 kB / 0.8494 GB, free: 2.531 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.1766, allocations: 8.281 kB / 0.8494 GB, free: 2.523 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.1766, allocations: 11.92 kB / 0.8494 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1766, allocations: 0.5938 kB / 0.8494 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1766, allocations: 0 / 0.8494 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.1767, allocations: 109.8 kB / 0.8495 GB, free: 2.375 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1767, allocations: 0.625 kB / 0.8495 GB, free: 2.375 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.1768, allocations: 8.25 kB / 0.8495 GB, free: 2.367 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1768, allocations: 0.625 kB / 0.8495 GB, free: 2.367 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1768, allocations: 8.609 kB / 0.8495 GB, free: 2.359 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1768, allocations: 0 / 0.8495 GB, free: 2.359 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1768, allocations: 4.75 kB / 0.8495 GB, free: 2.355 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.1769, allocations: 81.02 kB / 0.8496 GB, free: 2.258 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.1769, allocations: 8.656 kB / 0.8496 GB, free: 2.25 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.1769, allocations: 0 / 0.8496 GB, free: 2.25 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.901e-05/0.1769, allocations: 0.7188 kB / 0.8496 GB, free: 2.25 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.177, allocations: 3.938 kB / 0.8496 GB, free: 2.246 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.177, allocations: 4.625 kB / 0.8496 GB, free: 2.242 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.848e-05/0.177, allocations: 87.27 kB / 0.8497 GB, free: 2.156 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.177, allocations: 0.5938 kB / 0.8497 GB, free: 2.156 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001814/0.1772, allocations: 4 kB / 0.8497 GB, free: 2.152 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.0001273/0.1773, allocations: 100.4 kB / 0.8498 GB, free: 2.043 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1774, allocations: 24.48 kB / 0.8498 GB, free: 2.02 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1774, allocations: 0 / 0.8498 GB, free: 2.02 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.834e-05/0.1775, allocations: 4.625 kB / 0.8499 GB, free: 2.016 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.1776, allocations: 12.08 kB / 0.8499 GB, free: 2.008 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.1779, allocations: 109.5 kB / 0.85 GB, free: 1.875 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.544e-05/0.178, allocations: 63.91 kB / 0.85 GB, free: 1.793 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.554e-05/0.178, allocations: 0.5 kB / 0.85 GB, free: 1.793 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.178, allocations: 12.03 kB / 0.85 GB, free: 1.781 MB / 474.8 MB Notification: Performance of SimCode: time 3.91e-07/0.178, allocations: 0 / 0.85 GB, free: 1.781 MB / 474.8 MB Notification: Performance of Templates: time 0.002754/0.1808, allocations: 416 kB / 0.8504 GB, free: 1.445 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.27170362113975]