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_sap.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.002378/0.002378, 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.00299/0.00299, 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.709/1.709, allocations: 230.6 MB / 256 MB, free: 9.621 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.448/1.448, allocations: 316.7 MB / 0.6144 GB, free: 93.02 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_sap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap") [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.01115/0.01115, allocations: 77.69 kB / 0.7749 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.154, allocations: 73.99 MB / 0.8472 GB, free: 4.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap): time 0.001822/0.1558, allocations: 0.6208 MB / 0.8478 GB, free: 4.293 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.28e-05/0.1559, allocations: 4.469 kB / 0.8478 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.1559, allocations: 0.5312 kB / 0.8478 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.061e-05/0.1559, allocations: 0 / 0.8478 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.1559, allocations: 8.5 kB / 0.8478 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.749e-05/0.156, allocations: 8.609 kB / 0.8478 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.796e-05/0.156, allocations: 7.984 kB / 0.8478 GB, free: 4.266 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.1561, allocations: 4.688 kB / 0.8478 GB, free: 4.262 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.1561, allocations: 8 kB / 0.8479 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.1562, allocations: 8.422 kB / 0.8479 GB, free: 4.246 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1562, allocations: 5.562 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-06/0.1562, allocations: 0 / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.1562, allocations: 3.938 kB / 0.8479 GB, free: 4.238 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.1562, allocations: 15.97 kB / 0.8479 GB, free: 4.223 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.186e-05/0.1563, allocations: 8.828 kB / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1563, allocations: 0 / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1563, allocations: 0 / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1563, allocations: 6.5 kB / 0.8479 GB, free: 4.211 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.0004048/0.1567, allocations: 250.4 kB / 0.8481 GB, free: 3.934 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1567, allocations: 12.03 kB / 0.8482 GB, free: 3.922 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.1567, allocations: 0.9375 kB / 0.8482 GB, free: 3.922 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1569, allocations: 118.4 kB / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.453e-06/0.1569, allocations: 384 / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.1569, allocations: 6.094 kB / 0.8483 GB, free: 3.777 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.157, allocations: 42.19 kB / 0.8483 GB, free: 3.73 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.157, allocations: 192 / 0.8483 GB, free: 3.73 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.157, allocations: 3.938 kB / 0.8483 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.157, allocations: 5.219 kB / 0.8483 GB, free: 3.723 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.721e-05/0.1571, allocations: 15.98 kB / 0.8483 GB, free: 3.707 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1572, allocations: 101.3 kB / 0.8484 GB, free: 3.578 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.1574, allocations: 50.56 kB / 0.8485 GB, free: 3.52 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.1575, allocations: 17.58 kB / 0.8485 GB, free: 3.5 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.1575, allocations: 1.094 kB / 0.8485 GB, free: 3.5 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.1575, allocations: 34.69 kB / 0.8485 GB, free: 3.457 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.1575, allocations: 0 / 0.8485 GB, free: 3.457 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001596/0.1577, allocations: 62.17 kB / 0.8486 GB, free: 3.391 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.1577, allocations: 55.89 kB / 0.8486 GB, free: 3.324 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.1578, allocations: 105.9 kB / 0.8487 GB, free: 3.211 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1578, allocations: 26.2 kB / 0.8488 GB, free: 3.18 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.1579, allocations: 80.73 kB / 0.8489 GB, free: 3.098 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.1579, allocations: 16.58 kB / 0.8489 GB, free: 3.082 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.1579, allocations: 13.72 kB / 0.8489 GB, free: 3.062 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1581, allocations: 319.3 kB / 0.8492 GB, free: 2.742 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.1581, allocations: 4 kB / 0.8492 GB, free: 2.738 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.1581, allocations: 8.578 kB / 0.8492 GB, free: 2.73 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.1582, allocations: 21.52 kB / 0.8492 GB, free: 2.707 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1582, allocations: 0 / 0.8492 GB, free: 2.707 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.74e-05/0.1583, allocations: 54.34 kB / 0.8493 GB, free: 2.648 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.1583, allocations: 4 kB / 0.8493 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1583, allocations: 0.625 kB / 0.8493 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1583, allocations: 4.562 kB / 0.8493 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.115e-05/0.1584, allocations: 8 kB / 0.8493 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1584, allocations: 0.5625 kB / 0.8493 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.1584, allocations: 3.953 kB / 0.8493 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.1584, allocations: 0.5 kB / 0.8493 GB, free: 2.629 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 9.063e-05/0.1585, allocations: 114.6 kB / 0.8494 GB, free: 2.508 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.1585, allocations: 0.625 kB / 0.8494 GB, free: 2.508 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.1585, allocations: 7.672 kB / 0.8494 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1585, allocations: 5.562 kB / 0.8494 GB, free: 2.496 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1585, allocations: 4 kB / 0.8494 GB, free: 2.492 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.1585, allocations: 0 / 0.8494 GB, free: 2.492 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.1586, allocations: 105.3 kB / 0.8495 GB, free: 2.359 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1586, allocations: 4.625 kB / 0.8495 GB, free: 2.355 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.1587, allocations: 11.98 kB / 0.8495 GB, free: 2.344 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1587, allocations: 1.906 kB / 0.8495 GB, free: 2.344 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1587, allocations: 4 kB / 0.8495 GB, free: 2.34 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1587, allocations: 3.938 kB / 0.8495 GB, free: 2.336 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.1587, allocations: 7.922 kB / 0.8495 GB, free: 2.328 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.1588, allocations: 77.34 kB / 0.8496 GB, free: 2.234 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.1588, allocations: 9.156 kB / 0.8496 GB, free: 2.227 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.1588, allocations: 48 / 0.8496 GB, free: 2.227 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.1589, allocations: 3.984 kB / 0.8496 GB, free: 2.223 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.1589, allocations: 4.5 kB / 0.8496 GB, free: 2.219 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1589, allocations: 4.25 kB / 0.8496 GB, free: 2.215 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.567e-05/0.1589, allocations: 88.23 kB / 0.8497 GB, free: 2.129 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1589, allocations: 0 / 0.8497 GB, free: 2.129 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001784/0.1591, allocations: 8.656 kB / 0.8497 GB, free: 2.121 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.0001061/0.1592, allocations: 101.3 kB / 0.8498 GB, free: 2.016 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.625e-05/0.1593, allocations: 23.92 kB / 0.8499 GB, free: 1.992 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.1593, allocations: 4 kB / 0.8499 GB, free: 1.988 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.1593, allocations: 4 kB / 0.8499 GB, free: 1.984 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.1595, allocations: 9.266 kB / 0.8499 GB, free: 1.98 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.1597, allocations: 114.7 kB / 0.85 GB, free: 1.844 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.853e-05/0.1598, allocations: 67.33 kB / 0.85 GB, free: 1.758 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.439e-05/0.1598, allocations: 0 / 0.85 GB, free: 1.758 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.1598, allocations: 12.72 kB / 0.8501 GB, free: 1.746 MB / 474.8 MB Notification: Performance of SimCode: time 3.81e-07/0.1598, allocations: 0 / 0.8501 GB, free: 1.746 MB / 474.8 MB Notification: Performance of Templates: time 0.002673/0.1625, allocations: 409.2 kB / 0.8504 GB, free: 1.41 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.321721346117556]