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.0007942/0.0007942, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001118/0.001912, allocations: 455.9 kB / 10.35 MB, free: 348 kB / 10.45 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.0007818/0.0007818, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001865, allocations: 475.7 kB / 11.7 MB, free: 2.465 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 0.9931/0.9931, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1112/1.104, allocations: 53.67 MB / 243.3 MB, free: 15.57 MB / 250.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.8948/0.8948, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03877/0.9336, allocations: 21.05 MB / 0.5432 GB, free: 31.73 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=500,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=500,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.643e-06/1.643e-06, allocations: 0 / 0.5446 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.323e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap): time 0.001855/0.001878, allocations: 0.6931 MB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.604e-05/0.001914, allocations: 7.922 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.028e-05/0.001935, allocations: 0 / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.621e-06/0.00194, allocations: 0 / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.434e-05/0.001954, allocations: 11.88 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.736e-05/0.001982, allocations: 4 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.002043, allocations: 7.984 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.00209, allocations: 4 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.002149, allocations: 23.91 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.002206, allocations: 7.984 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.002227, allocations: 0 / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.663e-06/0.002233, allocations: 4 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.002245, allocations: 3.938 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.002267, allocations: 4 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.148e-05/0.002329, allocations: 4 kB / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/0.002342, allocations: 0 / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002342, allocations: 0 / 0.5453 GB, free: 29.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.002358, allocations: 0 / 0.5453 GB, free: 29.6 MB / 410.7 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.0003553/0.002713, allocations: 243 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.002754, allocations: 19.84 kB / 0.5456 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.002779, allocations: 0.9375 kB / 0.5456 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.002862, allocations: 116.8 kB / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.002877, allocations: 8.297 kB / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-06/0.002886, allocations: 4.375 kB / 0.5457 GB, free: 29.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.284e-05/0.002969, allocations: 42.19 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.002981, allocations: 192 / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.002988, allocations: 384 / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.002994, allocations: 384 / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.003022, allocations: 7.938 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.003126, allocations: 69.03 kB / 0.5458 GB, free: 29.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.00332, allocations: 46.55 kB / 0.5459 GB, free: 28.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.003344, allocations: 8.859 kB / 0.5459 GB, free: 28.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.003352, allocations: 0 / 0.5459 GB, free: 28.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.003374, allocations: 30.56 kB / 0.5459 GB, free: 28.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.003375, allocations: 4 kB / 0.5459 GB, free: 28.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001106/0.003486, allocations: 41.78 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.003511, allocations: 51.41 kB / 0.546 GB, free: 28.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/0.00356, allocations: 106.7 kB / 0.5461 GB, free: 28.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.003566, allocations: 33.7 kB / 0.5461 GB, free: 28.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.179e-05/0.003578, allocations: 84.14 kB / 0.5462 GB, free: 28.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.00361, allocations: 15.83 kB / 0.5462 GB, free: 28.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.003645, allocations: 21.64 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.003688, allocations: 318.8 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.003698, allocations: 0 / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.035e-05/0.003708, allocations: 4 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.995e-05/0.003738, allocations: 16.84 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.00374, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.181e-05/0.003802, allocations: 45.69 kB / 0.5466 GB, free: 28.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.003814, allocations: 4 kB / 0.5466 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.00382, allocations: 4 kB / 0.5466 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.003831, allocations: 336 / 0.5466 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.003895, allocations: 11.94 kB / 0.5466 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.003898, allocations: 0 / 0.5466 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.003913, allocations: 0 / 0.5466 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.003917, allocations: 0 / 0.5466 GB, free: 28.12 MB / 410.7 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 4.337e-05/0.003961, allocations: 117.8 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.00397, allocations: 3.984 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.004, allocations: 18.98 kB / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004002, allocations: 0 / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.004004, allocations: 4 kB / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.004008, allocations: 3.938 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.145e-05/0.004079, allocations: 69.84 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.00408, allocations: 0 / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.004114, allocations: 7.984 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.004122, allocations: 4 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.004124, allocations: 0 / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.004129, allocations: 4 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.00413, allocations: 0 / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.004131, allocations: 0 / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.79e-05/0.004199, allocations: 69 kB / 0.5469 GB, free: 27.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.004208, allocations: 8 kB / 0.5469 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.00422, allocations: 0 / 0.5469 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.004233, allocations: 3.984 kB / 0.5469 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.004236, allocations: 0 / 0.5469 GB, free: 27.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.628e-05/0.004252, allocations: 16.84 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.004252, allocations: 0 / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.004413, allocations: 4 kB / 0.547 GB, free: 27.74 MB / 410.7 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 7.954e-05/0.004493, allocations: 83.17 kB / 0.547 GB, free: 27.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.022e-05/0.004573, allocations: 20.84 kB / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.004584, allocations: 0 / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.433e-05/0.004608, allocations: 20.8 kB / 0.5471 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.287e-05/0.004691, allocations: 15.88 kB / 0.5471 GB, free: 27.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.004914, allocations: 132.4 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.778e-05/0.004942, allocations: 55.36 kB / 0.5473 GB, free: 27.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.787e-05/0.00496, allocations: 3.984 kB / 0.5473 GB, free: 27.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.004992, allocations: 51.38 kB / 0.5473 GB, free: 27.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.004992, allocations: 0 / 0.5473 GB, free: 27.3 MB / 410.7 MB Notification: Performance of Templates: time 0.002697/0.00769, allocations: 460.7 kB / 0.5478 GB, free: 26.9 MB / 410.7 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_dap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3375531071797013]