Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.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.0009336/0.0009336, allocations: 91.56 kB / 20.45 MB, free: 4.117 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.001656/0.001656, allocations: 169 kB / 23.82 MB, free: 0.75 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.006/1.006, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07216/0.07216, allocations: 18.14 MB / 278.9 MB, free: 11.33 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 357.3 MB, free: 7.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.487e-05, allocations: 2.312 kB / 357.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002429/0.002454, allocations: 2.224 MB / 359.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003639/0.002818, allocations: 207.2 kB / 359.7 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.002905, allocations: 15.88 kB / 359.7 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.293e-05/0.002958, allocations: 31.7 kB / 359.8 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.003146, allocations: 115 kB / 359.9 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.003249, allocations: 31.95 kB / 359.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.003441, allocations: 302.3 kB / 360.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.003616, allocations: 116.8 kB / 360.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.003774, allocations: 123.6 kB / 360.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.00387, allocations: 67.8 kB / 360.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.003895, allocations: 12 kB / 360.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.258e-05/0.003918, allocations: 16 kB / 360.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.003947, allocations: 39.8 kB / 360.6 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.004003, allocations: 67.84 kB / 360.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004153, allocations: 151.4 kB / 360.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.004155, allocations: 0 / 360.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004156, allocations: 0 / 360.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.00416, allocations: 0 / 360.8 MB, free: 4.316 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004646/0.004624, allocations: 0.5306 MB / 361.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.004659, allocations: 20.91 kB / 361.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.004709, allocations: 32.8 kB / 361.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.004991, allocations: 213.2 kB / 361.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.005003, allocations: 12.38 kB / 361.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.005027, allocations: 16.33 kB / 361.6 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.005216, allocations: 169.6 kB / 361.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.005223, allocations: 192 / 361.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.005235, allocations: 4.375 kB / 361.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.005245, allocations: 15.88 kB / 361.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.005345, allocations: 63.89 kB / 361.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.00591, allocations: 0.9287 MB / 362.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.79e-05/0.006008, allocations: 63.05 kB / 362.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.006047, allocations: 31.67 kB / 362.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.006054, allocations: 0 / 362.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.006074, allocations: 41.55 kB / 362.9 MB, free: 2.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.006075, allocations: 4 kB / 362.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001691/0.006244, allocations: 101.5 kB / 363 MB, free: 1.898 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.006267, allocations: 51.41 kB / 363.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.006467, allocations: 272.3 kB / 363.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.006477, allocations: 25.7 kB / 363.4 MB, free: 1.523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.006558, allocations: 202.9 kB / 363.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.006577, allocations: 31.73 kB / 363.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.00661, allocations: 31.38 kB / 363.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.006734, allocations: 0.5039 MB / 364.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.006761, allocations: 20 kB / 364.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.0068, allocations: 46.3 kB / 364.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.006901, allocations: 98.97 kB / 364.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006903, allocations: 3.938 kB / 364.3 MB, free: 0.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000113/0.007016, allocations: 113.5 kB / 364.4 MB, free: 436 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.007027, allocations: 8 kB / 364.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.007032, allocations: 3.938 kB / 364.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.007043, allocations: 4.062 kB / 364.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.752e-05/0.007141, allocations: 20 kB / 364.4 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.007148, allocations: 7.984 kB / 364.4 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.007186, allocations: 7.891 kB / 364.4 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.007193, allocations: 4 kB / 364.4 MB, free: 380 kB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * 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 0.0001026/0.007296, allocations: 168.7 kB / 364.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.007321, allocations: 31.86 kB / 364.6 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.007346, allocations: 21.77 kB / 364.7 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.007349, allocations: 4 kB / 364.7 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.007352, allocations: 0 / 364.7 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.007354, allocations: 0 / 364.7 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.007503, allocations: 188.5 kB / 364.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.007504, allocations: 0 / 364.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.007578, allocations: 23.92 kB / 364.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.007579, allocations: 0 / 364.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.007592, allocations: 0 / 364.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.007592, allocations: 0 / 364.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007593, allocations: 4 kB / 364.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.007918, allocations: 267.6 kB / 365.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.007935, allocations: 15.84 kB / 365.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.007953, allocations: 7.984 kB / 365.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.452e-05/0.007998, allocations: 0 / 365.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.008015, allocations: 4 kB / 365.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.008019, allocations: 4 kB / 365.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.013e-05/0.008099, allocations: 189.1 kB / 365.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008099, allocations: 0 / 365.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.008259, allocations: 43.95 kB / 365.4 MB, free: 15.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * 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.959e-05/0.008318, allocations: 99.22 kB / 365.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.008428, allocations: 67.97 kB / 365.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008429, allocations: 0 / 365.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.827e-05/0.008458, allocations: 35.59 kB / 365.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.008677, allocations: 56.53 kB / 365.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.009424, allocations: 451.2 kB / 366.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.009464, allocations: 76.33 kB / 366.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.5e-05/0.009519, allocations: 17.95 kB / 366.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.00955, allocations: 20.5 kB / 366.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009551, allocations: 0 / 366.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of Templates: time 0.003539/0.01309, allocations: 2.38 MB / 368.6 MB, free: 12.17 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7387517038732767]