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.000813/0.000813, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001887, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008716/0.0008716, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.001949, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09353/1.115, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.7972/0.7972, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0335/0.8307, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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.252e-06/1.252e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.301e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap): time 0.00138/0.001403, allocations: 0.6947 MB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.84e-05/0.001432, allocations: 7.938 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.001455, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.009e-06/0.00146, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.071e-05/0.001471, allocations: 7.938 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.45e-05/0.001495, allocations: 3.984 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.356e-05/0.001549, allocations: 8 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.00159, allocations: 11.92 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.623e-05/0.001636, allocations: 19.91 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.001686, allocations: 4 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.001705, allocations: 0 / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.701e-06/0.00171, allocations: 4 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.001721, allocations: 7.938 kB / 0.5453 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.001741, allocations: 4 kB / 0.5453 GB, free: 29.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.836e-05/0.00179, allocations: 7.984 kB / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.43e-05/0.001804, allocations: 0 / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.001805, allocations: 0 / 0.5453 GB, free: 29.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.00182, allocations: 0 / 0.5453 GB, free: 29.81 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.0002687/0.002089, allocations: 239 kB / 0.5455 GB, free: 29.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.002117, allocations: 19.84 kB / 0.5455 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.015e-05/0.002137, allocations: 0.9375 kB / 0.5455 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.085e-05/0.002198, allocations: 113.7 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-06/0.002207, allocations: 8.312 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-06/0.002213, allocations: 4.375 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.836e-05/0.002272, allocations: 34.25 kB / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.002278, allocations: 192 / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.002285, allocations: 4.375 kB / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.00229, allocations: 4.312 kB / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/0.002311, allocations: 7.938 kB / 0.5457 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.379e-05/0.002385, allocations: 61.05 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.002512, allocations: 38.61 kB / 0.5458 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.002529, allocations: 12.94 kB / 0.5458 GB, free: 29.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.002535, allocations: 4 kB / 0.5458 GB, free: 29.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.00255, allocations: 34.56 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.002551, allocations: 4 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 8.557e-05/0.002636, allocations: 45.62 kB / 0.5459 GB, free: 29.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.002661, allocations: 51.41 kB / 0.5459 GB, free: 29.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.408e-05/0.002696, allocations: 106.7 kB / 0.546 GB, free: 28.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-06/0.0027, allocations: 25.7 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.008e-05/0.00271, allocations: 84.14 kB / 0.5461 GB, free: 28.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.002736, allocations: 19.83 kB / 0.5461 GB, free: 28.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.00276, allocations: 13.72 kB / 0.5462 GB, free: 28.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.176e-05/0.002792, allocations: 326.8 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-06/0.002799, allocations: 0 / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.002806, allocations: 4 kB / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.002827, allocations: 21.06 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.002828, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.127e-05/0.00286, allocations: 45.67 kB / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.00287, allocations: 4 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.002875, allocations: 3 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.002884, allocations: 3.984 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.278e-05/0.002916, allocations: 8 kB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.002919, allocations: 0 / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-06/0.002929, allocations: 4 kB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.002932, allocations: 4 kB / 0.5466 GB, free: 28.32 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 2.966e-05/0.002962, allocations: 113.8 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-06/0.002966, allocations: 0 / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.435e-05/0.00298, allocations: 11.69 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.002981, allocations: 7.875 kB / 0.5467 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.002983, allocations: 3.984 kB / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.002985, allocations: 0 / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.969e-05/0.003025, allocations: 69.84 kB / 0.5468 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.003025, allocations: 0 / 0.5468 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.00304, allocations: 8 kB / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-06/0.003045, allocations: 4 kB / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-07/0.003046, allocations: 0 / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-06/0.003048, allocations: 0 / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.003049, allocations: 3.984 kB / 0.5468 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.00305, allocations: 0 / 0.5468 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.899e-05/0.003089, allocations: 73.05 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.003098, allocations: 4 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-06/0.003106, allocations: 0 / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-06/0.003116, allocations: 0 / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.003118, allocations: 7.25 kB / 0.5469 GB, free: 27.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.217e-06/0.003127, allocations: 16.84 kB / 0.5469 GB, free: 27.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003127, allocations: 0 / 0.5469 GB, free: 27.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.736e-05/0.003224, allocations: 4 kB / 0.5469 GB, free: 27.96 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 5.528e-05/0.003279, allocations: 87.34 kB / 0.547 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.192e-05/0.003331, allocations: 16.86 kB / 0.547 GB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.003337, allocations: 3.984 kB / 0.547 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.997e-06/0.003346, allocations: 16.8 kB / 0.547 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.184e-05/0.003397, allocations: 3.938 kB / 0.547 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001595/0.003557, allocations: 140.4 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.721e-05/0.003574, allocations: 55.36 kB / 0.5472 GB, free: 27.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.306e-05/0.003587, allocations: 0 / 0.5472 GB, free: 27.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.003611, allocations: 51.38 kB / 0.5472 GB, free: 27.53 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.003611, allocations: 0 / 0.5472 GB, free: 27.53 MB / 410.7 MB Notification: Performance of Templates: time 0.001659/0.00527, allocations: 456.6 kB / 0.5477 GB, free: 27.13 MB / 410.7 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_sap.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3049411913380027]