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.0007662/0.0007662, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009445/0.001711, 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.0006859/0.0006859, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009045/0.00159, 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 1.076/1.076, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.106/1.182, 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.827/0.827, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03587/0.8628, allocations: 21.05 MB / 0.5433 GB, free: 31.71 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_se_drug,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,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=500,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 2.174e-06/2.174e-06, allocations: 0 / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.517e-05, allocations: 10.19 kB / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AA01_Epinephrine.Epinephrine_Yoo2015_PD_se_drug): time 0.001975/0.00201, allocations: 0.6886 MB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 4.065e-05/0.00205, allocations: 11.91 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.002072, allocations: 4 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.322e-06/0.002079, allocations: 0 / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.262e-05/0.002091, allocations: 3.938 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.418e-05/0.002126, allocations: 7.938 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.002188, allocations: 11.98 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.002242, allocations: 4 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.323e-05/0.002306, allocations: 15.92 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.194e-05/0.002367, allocations: 7.984 kB / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.002386, allocations: 0 / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-06/0.002392, allocations: 0 / 0.5454 GB, free: 29.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.002408, allocations: 4 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.002432, allocations: 11.94 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.719e-05/0.002499, allocations: 4 kB / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-05/0.002515, allocations: 0 / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.002516, allocations: 0 / 0.5454 GB, free: 29.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.002533, allocations: 0 / 0.5454 GB, free: 29.58 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.0003592/0.002892, allocations: 243 kB / 0.5456 GB, free: 29.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.00293, allocations: 15.84 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.002957, allocations: 4.938 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.123e-05/0.003038, allocations: 109.8 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.003051, allocations: 4.312 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.003058, allocations: 4.375 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.881e-05/0.003147, allocations: 38.25 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.003161, allocations: 8.109 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.003169, allocations: 4.375 kB / 0.5458 GB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.003174, allocations: 384 / 0.5458 GB, free: 29.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.003203, allocations: 7.938 kB / 0.5458 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.003303, allocations: 65.02 kB / 0.5459 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.003487, allocations: 42.55 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.003516, allocations: 12.86 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.003525, allocations: 8 kB / 0.5459 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.003544, allocations: 30.56 kB / 0.5459 GB, free: 28.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.003546, allocations: 0 / 0.5459 GB, free: 28.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001165/0.003662, allocations: 41.78 kB / 0.546 GB, free: 28.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.003691, allocations: 55.41 kB / 0.546 GB, free: 28.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.229e-05/0.003743, allocations: 106.7 kB / 0.5461 GB, free: 28.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.00375, allocations: 25.7 kB / 0.5462 GB, free: 28.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.361e-05/0.003763, allocations: 88.14 kB / 0.5462 GB, free: 28.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.003794, allocations: 15.78 kB / 0.5463 GB, free: 28.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.003829, allocations: 17.7 kB / 0.5463 GB, free: 28.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.003872, allocations: 318.8 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.003882, allocations: 8 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.127e-05/0.003893, allocations: 4 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.003927, allocations: 16.84 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.003929, allocations: 0 / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.655e-05/0.003995, allocations: 41.69 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.004015, allocations: 8 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.004021, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.004032, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.144e-05/0.004093, allocations: 13.62 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004096, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.004113, allocations: 4 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.004117, allocations: 0 / 0.5467 GB, free: 28.09 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.454e-05/0.004162, allocations: 113.8 kB / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-06/0.004171, allocations: 3.984 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.004198, allocations: 7.688 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.004202, allocations: 4 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.004204, allocations: 0 / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.004207, allocations: 336 / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.353e-05/0.004271, allocations: 73.77 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.004272, allocations: 0 / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/0.004308, allocations: 11.98 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.004316, allocations: 7.984 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.004318, allocations: 4 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.004325, allocations: 7.312 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.004326, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.004328, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.571e-05/0.004403, allocations: 69 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.004412, allocations: 0 / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.004429, allocations: 4 kB / 0.547 GB, free: 27.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.004443, allocations: 3.984 kB / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.004445, allocations: 0 / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.547e-05/0.004461, allocations: 8.859 kB / 0.547 GB, free: 27.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.004461, allocations: 4 kB / 0.547 GB, free: 27.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.004626, allocations: 8 kB / 0.547 GB, free: 27.72 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 0.0001026/0.004728, allocations: 80.42 kB / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.229e-05/0.004801, allocations: 20.84 kB / 0.5471 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.004812, allocations: 0 / 0.5471 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.004845, allocations: 20.78 kB / 0.5471 GB, free: 27.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.00497, allocations: 13.91 kB / 0.5471 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.005253, allocations: 132.4 kB / 0.5472 GB, free: 27.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.563e-05/0.005279, allocations: 59.36 kB / 0.5473 GB, free: 27.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.815e-05/0.005297, allocations: 3.984 kB / 0.5473 GB, free: 27.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.005327, allocations: 51.38 kB / 0.5474 GB, free: 27.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.005328, allocations: 0 / 0.5474 GB, free: 27.28 MB / 410.7 MB Notification: Performance of Templates: time 0.001857/0.007185, allocations: 447.3 kB / 0.5478 GB, free: 26.89 MB / 410.7 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: 3.6083845254033804]