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.002229/0.002229, allocations: 79.69 kB / 20.23 MB, free: 4.191 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.001991/0.001991, allocations: 169.3 kB / 23.55 MB, free: 0.8711 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.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.1183/0.1183, allocations: 18.15 MB / 278.5 MB, free: 11.31 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.432e-06/1.432e-06, allocations: 0 / 356.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.066e-05, allocations: 2.312 kB / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.005303/0.005333, allocations: 2.182 MB / 358.7 MB, free: 6 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006336/0.005967, allocations: 207.2 kB / 358.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.006128, allocations: 15.88 kB / 358.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.816e-05/0.006226, allocations: 31.72 kB / 358.9 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.006587, allocations: 103.2 kB / 359 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.006757, allocations: 47.86 kB / 359.1 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004639/0.00722, allocations: 302.2 kB / 359.4 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.007576, allocations: 116.8 kB / 359.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.007902, allocations: 111.7 kB / 359.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.008127, allocations: 71.75 kB / 359.7 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.008178, allocations: 16 kB / 359.7 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.00824, allocations: 19.94 kB / 359.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.00831, allocations: 39.83 kB / 359.8 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.008475, allocations: 67.84 kB / 359.8 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.008899, allocations: 219.2 kB / 360 MB, free: 4.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.008903, allocations: 0 / 360 MB, free: 4.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.008904, allocations: 0 / 360 MB, free: 4.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.008909, allocations: 0 / 360 MB, free: 4.652 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.001156/0.01006, allocations: 0.5575 MB / 360.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.01011, allocations: 8.922 kB / 360.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.01022, allocations: 36.8 kB / 360.6 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.01071, allocations: 213.2 kB / 360.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.01074, allocations: 12.38 kB / 360.9 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.01079, allocations: 16.33 kB / 360.9 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.01122, allocations: 177 kB / 361 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.01124, allocations: 8.125 kB / 361.1 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.01126, allocations: 8.375 kB / 361.1 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.01129, allocations: 7.938 kB / 361.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.01161, allocations: 87.89 kB / 361.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.01284, allocations: 0.9679 MB / 362.1 MB, free: 2.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.01301, allocations: 82.97 kB / 362.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.999e-05/0.01309, allocations: 43.66 kB / 362.3 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.0131, allocations: 0 / 362.3 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.01314, allocations: 37.39 kB / 362.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.01314, allocations: 4 kB / 362.3 MB, free: 2.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003124/0.01345, allocations: 113.6 kB / 362.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.0135, allocations: 59.34 kB / 362.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.0138, allocations: 304.3 kB / 362.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.01382, allocations: 25.7 kB / 362.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.014, allocations: 210.9 kB / 363 MB, free: 1.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.01404, allocations: 35.89 kB / 363 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.01411, allocations: 43.3 kB / 363.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002967/0.0144, allocations: 0.5079 MB / 363.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.368e-05/0.01447, allocations: 27.98 kB / 363.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.752e-05/0.01455, allocations: 59.05 kB / 363.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.01477, allocations: 131 kB / 363.8 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01477, allocations: 0 / 363.8 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002365/0.01501, allocations: 141.5 kB / 363.9 MB, free: 500 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01503, allocations: 8 kB / 363.9 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01503, allocations: 0 / 363.9 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01504, allocations: 0 / 363.9 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.01522, allocations: 23.98 kB / 364 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.01523, allocations: 12 kB / 364 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.993e-05/0.01531, allocations: 7.891 kB / 364 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.01532, allocations: 8 kB / 364 MB, free: 440 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.0002088/0.01553, allocations: 176.5 kB / 364.2 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.01557, allocations: 15.91 kB / 364.2 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.01563, allocations: 29.77 kB / 364.2 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.01563, allocations: 4 kB / 364.2 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01563, allocations: 0 / 364.2 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01563, allocations: 0 / 364.2 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.01592, allocations: 208.5 kB / 364.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01592, allocations: 0 / 364.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.01609, allocations: 19.98 kB / 364.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01609, allocations: 3.938 kB / 364.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.01611, allocations: 4 kB / 364.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01611, allocations: 0 / 364.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.01611, allocations: 4 kB / 364.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.01646, allocations: 283.8 kB / 364.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.0165, allocations: 27.83 kB / 364.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.01653, allocations: 3.984 kB / 364.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.01662, allocations: 0 / 364.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.01665, allocations: 4 kB / 364.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.01666, allocations: 4 kB / 364.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001885/0.01684, allocations: 213.1 kB / 365 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01685, allocations: 0 / 365 MB, free: 15.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.01711, allocations: 35.95 kB / 365 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 0.0001175/0.01722, allocations: 103.2 kB / 365.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.01744, allocations: 83.98 kB / 365.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01744, allocations: 3.938 kB / 365.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.01751, allocations: 43.66 kB / 365.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.01786, allocations: 51.53 kB / 365.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.01873, allocations: 451.4 kB / 365.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.01886, allocations: 125.5 kB / 365.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.923e-05/0.01896, allocations: 25.94 kB / 365.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.01901, allocations: 16.5 kB / 365.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01901, allocations: 0 / 365.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of Templates: time 0.006077/0.02508, allocations: 2.217 MB / 368.1 MB, free: 12.25 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: 4.710903382045217]