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_drug.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.001886/0.001886, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.001998/0.001998, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.564/1.564, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.436/1.436, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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_drug,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.452e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug): time 0.00158/0.001605, allocations: 0.6222 MB / 0.7005 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 5.454e-05/0.00166, allocations: 7.938 kB / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.001706, allocations: 0 / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.001722, allocations: 4 kB / 0.7005 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.674e-05/0.001749, allocations: 7.875 kB / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.981e-05/0.001799, allocations: 7.984 kB / 0.7005 GB, free: 7.895 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.548e-05/0.001854, allocations: 15.98 kB / 0.7005 GB, free: 7.879 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.001906, allocations: 0 / 0.7005 GB, free: 7.879 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.001941, allocations: 7.938 kB / 0.7005 GB, free: 7.871 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.001996, allocations: 15.97 kB / 0.7005 GB, free: 7.855 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.002021, allocations: 0 / 0.7005 GB, free: 7.855 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-06/0.002025, allocations: 0 / 0.7005 GB, free: 7.855 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.002038, allocations: 3.984 kB / 0.7005 GB, free: 7.852 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.002058, allocations: 4 kB / 0.7005 GB, free: 7.848 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.146e-05/0.00211, allocations: 19.86 kB / 0.7006 GB, free: 7.828 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002111, allocations: 0 / 0.7006 GB, free: 7.828 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002112, allocations: 4 kB / 0.7006 GB, free: 7.824 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.002116, allocations: 0 / 0.7006 GB, free: 7.824 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.0003215/0.002438, allocations: 254.3 kB / 0.7008 GB, free: 7.543 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.002476, allocations: 8.031 kB / 0.7008 GB, free: 7.535 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.002505, allocations: 4.938 kB / 0.7008 GB, free: 7.531 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.716e-05/0.002572, allocations: 113.7 kB / 0.7009 GB, free: 7.395 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.002585, allocations: 384 / 0.7009 GB, free: 7.395 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.002594, allocations: 4.375 kB / 0.7009 GB, free: 7.391 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.892e-05/0.002683, allocations: 38.2 kB / 0.701 GB, free: 7.348 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.002691, allocations: 192 / 0.701 GB, free: 7.348 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.002699, allocations: 4.375 kB / 0.701 GB, free: 7.344 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.002702, allocations: 384 / 0.701 GB, free: 7.344 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.86e-05/0.002751, allocations: 15.92 kB / 0.701 GB, free: 7.328 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.002866, allocations: 105.3 kB / 0.7011 GB, free: 7.195 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.003049, allocations: 46.58 kB / 0.7011 GB, free: 7.141 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.003094, allocations: 20.98 kB / 0.7011 GB, free: 7.117 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.00311, allocations: 0 / 0.7011 GB, free: 7.117 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.003131, allocations: 34.56 kB / 0.7012 GB, free: 7.074 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.003132, allocations: 4 kB / 0.7012 GB, free: 7.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001793/0.003311, allocations: 49.88 kB / 0.7012 GB, free: 7.016 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.003338, allocations: 55.41 kB / 0.7013 GB, free: 6.949 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.854e-05/0.003397, allocations: 109.8 kB / 0.7014 GB, free: 6.832 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.003405, allocations: 25.7 kB / 0.7014 GB, free: 6.801 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.003425, allocations: 84.14 kB / 0.7015 GB, free: 6.715 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.003455, allocations: 19.83 kB / 0.7015 GB, free: 6.695 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.003502, allocations: 13.72 kB / 0.7015 GB, free: 6.676 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.003549, allocations: 322.8 kB / 0.7018 GB, free: 6.352 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.003578, allocations: 4 kB / 0.7018 GB, free: 6.348 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.003601, allocations: 11.98 kB / 0.7018 GB, free: 6.336 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.832e-05/0.00366, allocations: 16.86 kB / 0.7019 GB, free: 6.316 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.003662, allocations: 0 / 0.7019 GB, free: 6.316 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.003767, allocations: 53.69 kB / 0.7019 GB, free: 6.258 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.003782, allocations: 4 kB / 0.7019 GB, free: 6.254 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.003788, allocations: 0 / 0.7019 GB, free: 6.254 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.003804, allocations: 0 / 0.7019 GB, free: 6.254 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.003876, allocations: 11.94 kB / 0.7019 GB, free: 6.242 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.003883, allocations: 0 / 0.7019 GB, free: 6.242 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.003927, allocations: 19.81 kB / 0.702 GB, free: 6.223 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.003934, allocations: 0 / 0.702 GB, free: 6.223 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 5.366e-05/0.003987, allocations: 109.8 kB / 0.7021 GB, free: 6.105 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.003999, allocations: 3.938 kB / 0.7021 GB, free: 6.102 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.004027, allocations: 11.69 kB / 0.7021 GB, free: 6.09 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.004029, allocations: 4 kB / 0.7021 GB, free: 6.086 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.004036, allocations: 0 / 0.7021 GB, free: 6.086 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.00404, allocations: 3.938 kB / 0.7021 GB, free: 6.082 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.171e-05/0.004121, allocations: 105.3 kB / 0.7022 GB, free: 5.949 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.004123, allocations: 0 / 0.7022 GB, free: 5.949 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.004178, allocations: 8 kB / 0.7022 GB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.004182, allocations: 0 / 0.7022 GB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.00419, allocations: 0 / 0.7022 GB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.004192, allocations: 0 / 0.7022 GB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.004193, allocations: 0 / 0.7022 GB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.004315, allocations: 88.95 kB / 0.7023 GB, free: 5.836 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-06/0.004324, allocations: 4 kB / 0.7023 GB, free: 5.832 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.004338, allocations: 0 / 0.7023 GB, free: 5.832 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.229e-05/0.004371, allocations: 256 / 0.7023 GB, free: 5.832 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.004389, allocations: 3.984 kB / 0.7023 GB, free: 5.828 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.004394, allocations: 8 kB / 0.7023 GB, free: 5.82 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.973e-05/0.004424, allocations: 83.28 kB / 0.7024 GB, free: 5.738 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.004424, allocations: 0 / 0.7024 GB, free: 5.738 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003102/0.004734, allocations: 11.88 kB / 0.7024 GB, free: 5.727 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 9.882e-05/0.004833, allocations: 103.2 kB / 0.7025 GB, free: 5.617 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.004946, allocations: 20 kB / 0.7025 GB, free: 5.598 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.004948, allocations: 0 / 0.7025 GB, free: 5.598 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/0.004981, allocations: 11.94 kB / 0.7025 GB, free: 5.586 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.00512, allocations: 10.8 kB / 0.7025 GB, free: 5.578 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.005351, allocations: 113.2 kB / 0.7026 GB, free: 5.441 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.667e-05/0.005378, allocations: 59.34 kB / 0.7027 GB, free: 5.363 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.374e-05/0.005392, allocations: 4 kB / 0.7027 GB, free: 5.359 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.005415, allocations: 8.5 kB / 0.7027 GB, free: 5.352 MB / 410.8 MB Notification: Performance of SimCode: time 4.11e-07/0.005415, allocations: 4 kB / 0.7027 GB, free: 5.348 MB / 410.8 MB Notification: Performance of Templates: time 0.00266/0.008075, allocations: 405.3 kB / 0.7031 GB, free: 5.004 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.364061993081123]