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.001493/0.001493, allocations: 92.52 kB / 19.94 MB, free: 4.598 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.00143/0.00143, allocations: 169.9 kB / 23.21 MB, free: 1.328 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 0.9836/0.9836, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.7048/0.7048, allocations: 291.1 MB / 0.5382 GB, free: 51.8 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_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: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.464e-05, allocations: 6.281 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap): time 0.001056/0.00108, allocations: 0.6219 MB / 0.6979 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.206e-05/0.001122, allocations: 7.922 kB / 0.6979 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.001147, allocations: 0 / 0.6979 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.00116, allocations: 4 kB / 0.6979 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.694e-05/0.001187, allocations: 4 kB / 0.6979 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.278e-05/0.00124, allocations: 3.984 kB / 0.6979 GB, free: 9.754 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.36e-05/0.001294, allocations: 15.92 kB / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.001339, allocations: 4 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.001374, allocations: 8 kB / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.001422, allocations: 7.922 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.001443, allocations: 4 kB / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.548e-06/0.001448, allocations: 0 / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.001461, allocations: 7.922 kB / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.001478, allocations: 4 kB / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.799e-05/0.001526, allocations: 15.97 kB / 0.698 GB, free: 9.688 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.001528, allocations: 4 kB / 0.698 GB, free: 9.684 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.132e-06/0.001529, allocations: 0 / 0.698 GB, free: 9.684 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.001534, allocations: 0 / 0.698 GB, free: 9.684 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.0002569/0.001791, allocations: 258.3 kB / 0.6983 GB, free: 9.398 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.001826, allocations: 8.031 kB / 0.6983 GB, free: 9.391 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.001852, allocations: 0.9375 kB / 0.6983 GB, free: 9.391 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.397e-05/0.001906, allocations: 113.7 kB / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.001915, allocations: 384 / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.001923, allocations: 4.375 kB / 0.6984 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.183e-05/0.001995, allocations: 38.27 kB / 0.6984 GB, free: 9.207 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.002001, allocations: 4.188 kB / 0.6984 GB, free: 9.203 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.002009, allocations: 384 / 0.6984 GB, free: 9.203 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.002013, allocations: 4.312 kB / 0.6984 GB, free: 9.199 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.002049, allocations: 23.86 kB / 0.6984 GB, free: 9.176 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.796e-05/0.002137, allocations: 109.3 kB / 0.6986 GB, free: 9.039 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.002283, allocations: 38.64 kB / 0.6986 GB, free: 8.992 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.565e-05/0.002309, allocations: 20.98 kB / 0.6986 GB, free: 8.969 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.002317, allocations: 0 / 0.6986 GB, free: 8.969 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.038e-05/0.002327, allocations: 30.56 kB / 0.6986 GB, free: 8.93 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.002328, allocations: 4 kB / 0.6986 GB, free: 8.926 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001199/0.002448, allocations: 61.62 kB / 0.6987 GB, free: 8.859 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.002466, allocations: 51.41 kB / 0.6987 GB, free: 8.797 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.932e-05/0.002505, allocations: 109.8 kB / 0.6989 GB, free: 8.68 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-06/0.002509, allocations: 25.7 kB / 0.6989 GB, free: 8.648 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.023e-05/0.002519, allocations: 80.14 kB / 0.699 GB, free: 8.566 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.00254, allocations: 11.84 kB / 0.699 GB, free: 8.555 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.002566, allocations: 17.72 kB / 0.699 GB, free: 8.531 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.634e-05/0.002593, allocations: 318.8 kB / 0.6993 GB, free: 8.211 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.375e-05/0.002606, allocations: 8 kB / 0.6993 GB, free: 8.203 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.002616, allocations: 4 kB / 0.6993 GB, free: 8.199 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.87e-05/0.002645, allocations: 25.08 kB / 0.6993 GB, free: 8.172 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.002646, allocations: 0 / 0.6993 GB, free: 8.172 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.434e-05/0.002691, allocations: 57.67 kB / 0.6994 GB, free: 8.109 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.002702, allocations: 6.656 kB / 0.6994 GB, free: 8.105 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.002706, allocations: 0 / 0.6994 GB, free: 8.105 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.002716, allocations: 0 / 0.6994 GB, free: 8.105 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.238e-05/0.002749, allocations: 8 kB / 0.6994 GB, free: 8.098 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.002753, allocations: 0 / 0.6994 GB, free: 8.098 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.002764, allocations: 7.891 kB / 0.6994 GB, free: 8.09 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.002768, allocations: 3.984 kB / 0.6994 GB, free: 8.086 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.422e-05/0.002802, allocations: 114.5 kB / 0.6995 GB, free: 7.965 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.437e-06/0.002805, allocations: 0 / 0.6995 GB, free: 7.965 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.383e-05/0.002819, allocations: 7.688 kB / 0.6995 GB, free: 7.957 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.002821, allocations: 4 kB / 0.6995 GB, free: 7.953 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.002824, allocations: 0 / 0.6995 GB, free: 7.953 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.002826, allocations: 3.938 kB / 0.6995 GB, free: 7.949 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.953e-05/0.002866, allocations: 105.3 kB / 0.6996 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.002866, allocations: 7.875 kB / 0.6996 GB, free: 7.809 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.002881, allocations: 8 kB / 0.6996 GB, free: 7.801 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-07/0.002882, allocations: 0 / 0.6996 GB, free: 7.801 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.002887, allocations: 0 / 0.6996 GB, free: 7.801 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.002888, allocations: 4.25 kB / 0.6996 GB, free: 7.797 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.002889, allocations: 0 / 0.6996 GB, free: 7.797 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.318e-05/0.002942, allocations: 85.02 kB / 0.6997 GB, free: 7.695 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.002947, allocations: 4 kB / 0.6997 GB, free: 7.691 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.002955, allocations: 0 / 0.6997 GB, free: 7.691 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.002962, allocations: 3.938 kB / 0.6997 GB, free: 7.688 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.002974, allocations: 3.984 kB / 0.6997 GB, free: 7.684 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.002975, allocations: 4 kB / 0.6997 GB, free: 7.68 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.286e-05/0.002988, allocations: 83.28 kB / 0.6998 GB, free: 7.598 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.002988, allocations: 0 / 0.6998 GB, free: 7.598 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001075/0.003096, allocations: 7.938 kB / 0.6998 GB, free: 7.59 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.961e-05/0.003145, allocations: 107.2 kB / 0.6999 GB, free: 7.477 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.00321, allocations: 19.98 kB / 0.7 GB, free: 7.457 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.003211, allocations: 0 / 0.7 GB, free: 7.457 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.288e-06/0.00322, allocations: 8 kB / 0.7 GB, free: 7.449 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.988e-05/0.00332, allocations: 7.984 kB / 0.7 GB, free: 7.441 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.003506, allocations: 142.5 kB / 0.7001 GB, free: 7.27 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.706e-05/0.003533, allocations: 59.34 kB / 0.7002 GB, free: 7.191 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.003553, allocations: 16.5 kB / 0.7002 GB, free: 7.176 MB / 410.8 MB Notification: Performance of SimCode: time 4.41e-07/0.003554, allocations: 0 / 0.7002 GB, free: 7.176 MB / 410.8 MB Notification: Performance of Templates: time 0.001133/0.004687, allocations: 0.5204 MB / 0.7007 GB, free: 6.66 MB / 410.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 > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.212994343601167]