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.001286/0.001286, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001247/0.001247, allocations: 170.3 kB / 23.21 MB, free: 1.332 MB / 18.57 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.028/1.028, allocations: 177.1 MB / 203.5 MB, free: 5.773 MB / 186.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.6883/0.6883, allocations: 291.2 MB / 0.5382 GB, free: 51.76 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.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: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.6973 GB, free: 10.46 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.572e-05, allocations: 10.16 kB / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr): time 0.0008849/0.0009006, allocations: 0.6227 MB / 0.6979 GB, free: 9.832 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 3.765e-05/0.0009382, allocations: 11.98 kB / 0.698 GB, free: 9.82 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.0009632, allocations: 3.938 kB / 0.698 GB, free: 9.816 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.0009752, allocations: 3.938 kB / 0.698 GB, free: 9.812 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.426e-05/0.0009994, allocations: 0 / 0.698 GB, free: 9.812 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.422e-05/0.001044, allocations: 0 / 0.698 GB, free: 9.812 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.001092, allocations: 19.98 kB / 0.698 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.001135, allocations: 3.984 kB / 0.698 GB, free: 9.789 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.917e-05/0.001164, allocations: 15.92 kB / 0.698 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.001207, allocations: 7.984 kB / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.001226, allocations: 3.938 kB / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.928e-06/0.00123, allocations: 0 / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.001242, allocations: 4 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.001257, allocations: 3.938 kB / 0.698 GB, free: 9.754 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.373e-05/0.001301, allocations: 15.97 kB / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.001302, allocations: 0 / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.32e-07/0.001303, allocations: 0 / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.001307, allocations: 4 kB / 0.698 GB, free: 9.734 MB / 410.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.0002394/0.001546, allocations: 260.9 kB / 0.6983 GB, free: 9.449 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.001577, allocations: 8.031 kB / 0.6983 GB, free: 9.441 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.001601, allocations: 4.938 kB / 0.6983 GB, free: 9.438 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.212e-05/0.001653, allocations: 109.7 kB / 0.6984 GB, free: 9.305 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.001665, allocations: 4.375 kB / 0.6984 GB, free: 9.301 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.001672, allocations: 4.359 kB / 0.6984 GB, free: 9.297 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.908e-05/0.001741, allocations: 38.25 kB / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.001747, allocations: 192 / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.001756, allocations: 4.375 kB / 0.6985 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.00176, allocations: 4.375 kB / 0.6985 GB, free: 9.246 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.504e-05/0.001795, allocations: 15.88 kB / 0.6985 GB, free: 9.23 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.581e-05/0.001881, allocations: 109.3 kB / 0.6986 GB, free: 9.094 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.002019, allocations: 42.64 kB / 0.6986 GB, free: 9.043 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.002041, allocations: 12.86 kB / 0.6986 GB, free: 9.027 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.00205, allocations: 0 / 0.6986 GB, free: 9.027 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.095e-05/0.002061, allocations: 34.56 kB / 0.6987 GB, free: 8.984 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.002062, allocations: 0 / 0.6987 GB, free: 8.984 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.000107/0.002169, allocations: 61.7 kB / 0.6987 GB, free: 8.918 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.002186, allocations: 55.34 kB / 0.6988 GB, free: 8.852 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.576e-05/0.002222, allocations: 109.8 kB / 0.6989 GB, free: 8.734 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-06/0.002226, allocations: 29.7 kB / 0.6989 GB, free: 8.699 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.13e-05/0.002237, allocations: 80.14 kB / 0.699 GB, free: 8.617 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.002257, allocations: 15.84 kB / 0.699 GB, free: 8.602 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.002275, allocations: 21.7 kB / 0.699 GB, free: 8.574 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.406e-05/0.0023, allocations: 310.8 kB / 0.6993 GB, free: 8.262 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.002311, allocations: 8 kB / 0.6993 GB, free: 8.254 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.002321, allocations: 4 kB / 0.6993 GB, free: 8.25 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.002347, allocations: 20.84 kB / 0.6993 GB, free: 8.227 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.002349, allocations: 8.188 kB / 0.6994 GB, free: 8.219 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.865e-05/0.002388, allocations: 49.7 kB / 0.6994 GB, free: 8.164 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.002398, allocations: 10.02 kB / 0.6994 GB, free: 8.156 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.002402, allocations: 4 kB / 0.6994 GB, free: 8.152 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.002411, allocations: 4 kB / 0.6994 GB, free: 8.148 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.26e-05/0.002444, allocations: 4 kB / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.758e-06/0.002448, allocations: 0 / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.002459, allocations: 7.891 kB / 0.6994 GB, free: 8.137 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.002462, allocations: 4 kB / 0.6994 GB, free: 8.133 MB / 410.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 3.033e-05/0.002493, allocations: 106.5 kB / 0.6995 GB, free: 8.02 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-06/0.002496, allocations: 0 / 0.6995 GB, free: 8.02 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.002509, allocations: 16.02 kB / 0.6995 GB, free: 8.004 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.00251, allocations: 0 / 0.6995 GB, free: 8.004 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.002514, allocations: 3.984 kB / 0.6996 GB, free: 8 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.002516, allocations: 7.922 kB / 0.6996 GB, free: 7.992 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4e-05/0.002556, allocations: 105.3 kB / 0.6997 GB, free: 7.859 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.002557, allocations: 0 / 0.6997 GB, free: 7.859 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/0.002571, allocations: 7.938 kB / 0.6997 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-07/0.002572, allocations: 0 / 0.6997 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.002577, allocations: 0 / 0.6997 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.002578, allocations: 3.984 kB / 0.6997 GB, free: 7.848 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.002579, allocations: 4 kB / 0.6997 GB, free: 7.844 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.651e-05/0.002625, allocations: 85.02 kB / 0.6998 GB, free: 7.742 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-06/0.002629, allocations: 0 / 0.6998 GB, free: 7.742 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-06/0.002636, allocations: 0 / 0.6998 GB, free: 7.742 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.002643, allocations: 3.938 kB / 0.6998 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.002653, allocations: 4 kB / 0.6998 GB, free: 7.734 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.002654, allocations: 0 / 0.6998 GB, free: 7.734 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.355e-05/0.002668, allocations: 87.27 kB / 0.6998 GB, free: 7.648 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.002668, allocations: 0 / 0.6998 GB, free: 7.648 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001033/0.002771, allocations: 7.938 kB / 0.6999 GB, free: 7.641 MB / 410.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 4.948e-05/0.002821, allocations: 107.1 kB / 0.7 GB, free: 7.527 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.109e-05/0.002882, allocations: 23.98 kB / 0.7 GB, free: 7.504 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.002883, allocations: 0 / 0.7 GB, free: 7.504 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.002894, allocations: 12 kB / 0.7 GB, free: 7.492 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.555e-05/0.002989, allocations: 0 / 0.7 GB, free: 7.492 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001711/0.00316, allocations: 142.5 kB / 0.7001 GB, free: 7.32 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.252e-05/0.003183, allocations: 63.34 kB / 0.7002 GB, free: 7.238 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.003202, allocations: 8.5 kB / 0.7002 GB, free: 7.23 MB / 410.8 MB Notification: Performance of SimCode: time 4.51e-07/0.003202, allocations: 0 / 0.7002 GB, free: 7.23 MB / 410.8 MB Notification: Performance of Templates: time 0.001094/0.004296, allocations: 0.5243 MB / 0.7007 GB, free: 6.711 MB / 410.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 > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_hr.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.138631412759423]