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_drow.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.002345/0.002345, allocations: 109.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.00259/0.00259, allocations: 218.4 kB / 22.25 MB, free: 3.559 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.747/1.747, allocations: 230.6 MB / 256 MB, free: 9.602 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.468/1.468, allocations: 316.7 MB / 0.6144 GB, free: 93.56 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_drow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drow") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drow") [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.003725/0.003725, allocations: 73.27 kB / 0.7749 GB, free: 15.06 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1706, allocations: 74 MB / 0.8472 GB, free: 5.207 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drow): time 0.00262/0.1733, allocations: 0.615 MB / 0.8478 GB, free: 4.605 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.754e-05/0.1733, allocations: 12.53 kB / 0.8478 GB, free: 4.594 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.1734, allocations: 0 / 0.8478 GB, free: 4.594 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.1734, allocations: 4.625 kB / 0.8478 GB, free: 4.59 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.1734, allocations: 3.938 kB / 0.8478 GB, free: 4.586 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.621e-05/0.1735, allocations: 4.484 kB / 0.8478 GB, free: 4.582 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 8.207e-05/0.1736, allocations: 16.67 kB / 0.8478 GB, free: 4.566 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.1736, allocations: 0 / 0.8478 GB, free: 4.566 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.1737, allocations: 8.547 kB / 0.8479 GB, free: 4.559 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.979e-05/0.1737, allocations: 16.64 kB / 0.8479 GB, free: 4.543 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1737, allocations: 0 / 0.8479 GB, free: 4.543 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.823e-06/0.1737, allocations: 0.625 kB / 0.8479 GB, free: 4.543 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.1738, allocations: 7.938 kB / 0.8479 GB, free: 4.535 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.1738, allocations: 4.609 kB / 0.8479 GB, free: 4.531 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.518e-05/0.1739, allocations: 11.94 kB / 0.8479 GB, free: 4.52 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1739, allocations: 0.5 kB / 0.8479 GB, free: 4.52 MB / 474.8 MB Notification: Performance of FrontEnd: time 5.39e-06/0.1739, allocations: 4.578 kB / 0.8479 GB, free: 4.516 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1739, allocations: 0 / 0.8479 GB, free: 4.516 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.0005028/0.1744, allocations: 251 kB / 0.8481 GB, free: 4.238 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1744, allocations: 8.656 kB / 0.8481 GB, free: 4.23 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.1745, allocations: 9.562 kB / 0.8482 GB, free: 4.223 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1746, allocations: 118.4 kB / 0.8483 GB, free: 4.082 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1746, allocations: 9.094 kB / 0.8483 GB, free: 4.074 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1746, allocations: 384 / 0.8483 GB, free: 4.074 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1748, allocations: 38.75 kB / 0.8483 GB, free: 4.031 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1748, allocations: 4.812 kB / 0.8483 GB, free: 4.027 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1748, allocations: 7.875 kB / 0.8483 GB, free: 4.02 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1748, allocations: 0.5625 kB / 0.8483 GB, free: 4.02 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.489e-05/0.1748, allocations: 8.719 kB / 0.8483 GB, free: 4.012 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.1751, allocations: 109.3 kB / 0.8484 GB, free: 3.875 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.1753, allocations: 55.09 kB / 0.8485 GB, free: 3.812 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.1754, allocations: 13.48 kB / 0.8485 GB, free: 3.797 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.1754, allocations: 0 / 0.8485 GB, free: 3.797 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1754, allocations: 35.19 kB / 0.8485 GB, free: 3.754 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1754, allocations: 0.7188 kB / 0.8485 GB, free: 3.754 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002002/0.1756, allocations: 53.77 kB / 0.8486 GB, free: 3.695 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.1757, allocations: 59.94 kB / 0.8486 GB, free: 3.625 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.1758, allocations: 101.8 kB / 0.8487 GB, free: 3.516 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1758, allocations: 26.2 kB / 0.8488 GB, free: 3.484 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.1759, allocations: 84.64 kB / 0.8489 GB, free: 3.398 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.1759, allocations: 12.53 kB / 0.8489 GB, free: 3.387 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.176, allocations: 21.7 kB / 0.8489 GB, free: 3.359 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.1762, allocations: 311.3 kB / 0.8492 GB, free: 3.047 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.1762, allocations: 8.688 kB / 0.8492 GB, free: 3.039 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.1762, allocations: 4 kB / 0.8492 GB, free: 3.035 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.724e-05/0.1763, allocations: 25.44 kB / 0.8492 GB, free: 3.008 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1763, allocations: 0 / 0.8492 GB, free: 3.008 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001197/0.1764, allocations: 46.47 kB / 0.8493 GB, free: 2.957 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1764, allocations: 11.94 kB / 0.8493 GB, free: 2.945 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1764, allocations: 1.281 kB / 0.8493 GB, free: 2.945 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1765, allocations: 3.938 kB / 0.8493 GB, free: 2.941 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.805e-05/0.1765, allocations: 8.328 kB / 0.8493 GB, free: 2.934 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1765, allocations: 1.281 kB / 0.8493 GB, free: 2.934 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.1766, allocations: 3.953 kB / 0.8493 GB, free: 2.93 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1766, allocations: 4 kB / 0.8493 GB, free: 2.926 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.0001182/0.1767, allocations: 108 kB / 0.8494 GB, free: 2.812 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.1767, allocations: 4 kB / 0.8494 GB, free: 2.809 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.1767, allocations: 11.67 kB / 0.8494 GB, free: 2.797 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1767, allocations: 5.938 kB / 0.8494 GB, free: 2.793 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1767, allocations: 3.984 kB / 0.8494 GB, free: 2.789 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1767, allocations: 0 / 0.8494 GB, free: 2.789 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.1769, allocations: 109.3 kB / 0.8495 GB, free: 2.652 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1769, allocations: 0 / 0.8495 GB, free: 2.652 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/0.1769, allocations: 6.5 kB / 0.8495 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.177, allocations: 0 / 0.8495 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.177, allocations: 4.188 kB / 0.8495 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.177, allocations: 11.98 kB / 0.8495 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.177, allocations: 3.938 kB / 0.8496 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1771, allocations: 84.95 kB / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.1771, allocations: 0 / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1772, allocations: 2.531 kB / 0.8496 GB, free: 2.527 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.1772, allocations: 4 kB / 0.8496 GB, free: 2.523 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.1772, allocations: 3.938 kB / 0.8496 GB, free: 2.52 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1772, allocations: 0 / 0.8496 GB, free: 2.52 MB / 474.8 MB Notification: Performance of sorting global known variables: time 7.236e-05/0.1773, allocations: 87.27 kB / 0.8497 GB, free: 2.434 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1773, allocations: 0 / 0.8497 GB, free: 2.434 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003004/0.1776, allocations: 4 kB / 0.8497 GB, free: 2.43 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.0001619/0.1777, allocations: 100.2 kB / 0.8498 GB, free: 2.32 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.1779, allocations: 24.58 kB / 0.8498 GB, free: 2.297 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1779, allocations: 0 / 0.8498 GB, free: 2.297 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.1779, allocations: 12.62 kB / 0.8499 GB, free: 2.285 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.1781, allocations: 3.516 kB / 0.8499 GB, free: 2.285 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.1785, allocations: 114.2 kB / 0.85 GB, free: 2.148 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.962e-05/0.1786, allocations: 64.22 kB / 0.85 GB, free: 2.066 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.869e-05/0.1786, allocations: 0 / 0.85 GB, free: 2.066 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.1786, allocations: 7.438 kB / 0.85 GB, free: 2.059 MB / 474.8 MB Notification: Performance of SimCode: time 4.9e-07/0.1786, allocations: 0.6562 kB / 0.85 GB, free: 2.059 MB / 474.8 MB Notification: Performance of Templates: time 0.003619/0.1822, allocations: 420.5 kB / 0.8504 GB, free: 1.715 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drow.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drow.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drow.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drow.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drow.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.435197965940461]