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_dap.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.001011/0.001011, 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.001676/0.001676, allocations: 165.9 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.053/1.053, allocations: 177.1 MB / 203.5 MB, free: 5.77 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.6744/0.6744, allocations: 291.2 MB / 0.5382 GB, free: 51.79 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_dap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.214e-05, allocations: 5.234 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_dap): time 0.0009834/0.001006, allocations: 0.6163 MB / 0.6979 GB, free: 9.832 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.133e-05/0.001047, allocations: 7.922 kB / 0.6979 GB, free: 9.824 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.001069, allocations: 7.938 kB / 0.6979 GB, free: 9.816 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.001083, allocations: 3.938 kB / 0.698 GB, free: 9.812 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.655e-05/0.001109, allocations: 4 kB / 0.698 GB, free: 9.809 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.847e-05/0.001158, allocations: 4 kB / 0.698 GB, free: 9.805 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.812e-05/0.001206, allocations: 7.984 kB / 0.698 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.001249, allocations: 11.98 kB / 0.698 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.012e-05/0.001279, allocations: 11.92 kB / 0.698 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.7e-05/0.001326, allocations: 3.984 kB / 0.698 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.001345, allocations: 4 kB / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-06/0.001349, allocations: 0 / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.001363, allocations: 4 kB / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.00138, allocations: 11.94 kB / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.79e-05/0.001428, allocations: 7.969 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00143, allocations: 4 kB / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.82e-07/0.001431, allocations: 0 / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.001434, allocations: 0 / 0.698 GB, free: 9.738 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.0002432/0.001677, allocations: 258.3 kB / 0.6983 GB, free: 9.453 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.001715, allocations: 11.97 kB / 0.6983 GB, free: 9.441 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.00174, allocations: 0.9375 kB / 0.6983 GB, free: 9.441 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.93e-05/0.001789, allocations: 109.8 kB / 0.6984 GB, free: 9.309 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.001798, allocations: 4.375 kB / 0.6984 GB, free: 9.305 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.001807, allocations: 8.375 kB / 0.6984 GB, free: 9.297 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.275e-05/0.00188, allocations: 34.25 kB / 0.6984 GB, free: 9.258 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.001885, allocations: 192 / 0.6984 GB, free: 9.258 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.001894, allocations: 4.375 kB / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.001898, allocations: 384 / 0.6984 GB, free: 9.254 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.459e-05/0.001933, allocations: 15.92 kB / 0.6985 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.886e-05/0.002022, allocations: 105.3 kB / 0.6986 GB, free: 9.105 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.002165, allocations: 50.56 kB / 0.6986 GB, free: 9.047 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.002189, allocations: 12.86 kB / 0.6986 GB, free: 9.031 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.002198, allocations: 0 / 0.6986 GB, free: 9.031 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.064e-05/0.002208, allocations: 38.69 kB / 0.6987 GB, free: 8.984 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.002209, allocations: 0 / 0.6987 GB, free: 8.984 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.000112/0.002321, allocations: 69.5 kB / 0.6987 GB, free: 8.91 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.002339, allocations: 51.41 kB / 0.6988 GB, free: 8.848 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.649e-05/0.002376, allocations: 106 kB / 0.6989 GB, free: 8.734 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-06/0.00238, allocations: 25.7 kB / 0.6989 GB, free: 8.703 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.063e-05/0.002391, allocations: 80.14 kB / 0.699 GB, free: 8.621 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.002414, allocations: 19.83 kB / 0.699 GB, free: 8.602 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.002431, allocations: 13.72 kB / 0.699 GB, free: 8.582 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.977e-05/0.002461, allocations: 318.8 kB / 0.6993 GB, free: 8.262 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.002473, allocations: 4 kB / 0.6993 GB, free: 8.258 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/0.002483, allocations: 16.05 kB / 0.6993 GB, free: 8.242 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/0.002512, allocations: 20.86 kB / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.002513, allocations: 0 / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.976e-05/0.002553, allocations: 53.91 kB / 0.6994 GB, free: 8.16 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.002563, allocations: 4 kB / 0.6994 GB, free: 8.156 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.002567, allocations: 0 / 0.6994 GB, free: 8.156 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.002578, allocations: 4.031 kB / 0.6994 GB, free: 8.152 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.51e-05/0.002613, allocations: 8 kB / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.002617, allocations: 0 / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.002629, allocations: 7.891 kB / 0.6994 GB, free: 8.137 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.002633, 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.741e-05/0.00267, allocations: 114.5 kB / 0.6995 GB, free: 8.012 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-06/0.002673, allocations: 0 / 0.6995 GB, free: 8.012 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.338e-05/0.002687, allocations: 11.67 kB / 0.6995 GB, free: 8 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.002688, allocations: 4 kB / 0.6995 GB, free: 7.996 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.002692, allocations: 0 / 0.6995 GB, free: 7.996 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.002695, allocations: 3.938 kB / 0.6995 GB, free: 7.992 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.98e-05/0.002734, allocations: 101.3 kB / 0.6996 GB, free: 7.863 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.002735, allocations: 0 / 0.6996 GB, free: 7.863 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.002748, allocations: 11.98 kB / 0.6997 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.002749, allocations: 0 / 0.6997 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.002754, allocations: 4 kB / 0.6997 GB, free: 7.848 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.5e-07/0.002754, allocations: 0 / 0.6997 GB, free: 7.848 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.002755, allocations: 3.938 kB / 0.6997 GB, free: 7.844 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.744e-05/0.002802, allocations: 77.02 kB / 0.6997 GB, free: 7.75 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-06/0.002808, allocations: 4 kB / 0.6997 GB, free: 7.746 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-06/0.002815, allocations: 3.938 kB / 0.6997 GB, free: 7.742 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.002822, allocations: 4 kB / 0.6997 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.002833, allocations: 0 / 0.6997 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-06/0.002835, allocations: 4 kB / 0.6998 GB, free: 7.734 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.339e-05/0.002848, 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.002848, allocations: 0 / 0.6998 GB, free: 7.648 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001048/0.002953, allocations: 15.94 kB / 0.6999 GB, free: 7.633 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.774e-05/0.003001, allocations: 103.2 kB / 0.6999 GB, free: 7.523 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.381e-05/0.003064, allocations: 23.92 kB / 0.7 GB, free: 7.5 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.003066, allocations: 0 / 0.7 GB, free: 7.5 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-06/0.003075, allocations: 4 kB / 0.7 GB, free: 7.496 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.966e-05/0.003174, allocations: 4 kB / 0.7 GB, free: 7.492 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.003351, allocations: 144.8 kB / 0.7001 GB, free: 7.32 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.471e-05/0.003376, 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.937e-05/0.003395, allocations: 12.5 kB / 0.7002 GB, free: 7.227 MB / 410.8 MB Notification: Performance of SimCode: time 4.21e-07/0.003395, allocations: 0 / 0.7002 GB, free: 7.227 MB / 410.8 MB Notification: Performance of Templates: time 0.001125/0.00452, allocations: 0.5186 MB / 0.7007 GB, free: 6.715 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.035996405407786]