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.001132/0.001132, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001477/0.001477, allocations: 165 kB / 23.82 MB, free: 0.7539 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 0.9713/0.9713, allocations: 177.1 MB / 204.2 MB, free: 5.219 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.06657/0.06657, allocations: 18.14 MB / 278.9 MB, free: 11.14 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.633e-06/1.633e-06, allocations: 0 / 357.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.063e-05, allocations: 2.312 kB / 357.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003528/0.003559, allocations: 2.235 MB / 359.5 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006068/0.004166, allocations: 195.2 kB / 359.7 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.004331, allocations: 15.88 kB / 359.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 7.904e-05/0.00441, allocations: 35.66 kB / 359.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.004663, allocations: 111.1 kB / 359.9 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.004814, allocations: 43.86 kB / 359.9 MB, free: 6.211 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.005131, allocations: 298.3 kB / 360.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.005389, allocations: 109 kB / 360.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.005711, allocations: 123.6 kB / 360.4 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.005844, allocations: 63.83 kB / 360.5 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.005875, allocations: 16 kB / 360.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.181e-05/0.005907, allocations: 12 kB / 360.5 MB, free: 5.605 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.005949, allocations: 39.83 kB / 360.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.222e-05/0.006041, allocations: 75.78 kB / 360.6 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.006248, allocations: 147.4 kB / 360.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.00625, allocations: 0 / 360.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006251, allocations: 0 / 360.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.006255, allocations: 0 / 360.8 MB, free: 5.348 MB / 330.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.0006705/0.006925, allocations: 0.5345 MB / 361.3 MB, free: 4.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.006977, allocations: 16.86 kB / 361.3 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.007049, allocations: 32.8 kB / 361.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.007368, allocations: 217.2 kB / 361.6 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.007389, allocations: 12.38 kB / 361.6 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.007441, allocations: 16.31 kB / 361.6 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.007775, allocations: 165.7 kB / 361.8 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.007787, allocations: 192 / 361.8 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.007808, allocations: 4.375 kB / 361.8 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.007822, allocations: 7.938 kB / 361.8 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.008004, allocations: 63.89 kB / 361.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009088/0.008912, allocations: 0.9249 MB / 362.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.009028, allocations: 75.02 kB / 362.8 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.009081, allocations: 39.55 kB / 362.9 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.00909, allocations: 0 / 362.9 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.009112, allocations: 37.39 kB / 362.9 MB, free: 3.035 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.009113, allocations: 0 / 362.9 MB, free: 3.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002026/0.009316, allocations: 101.7 kB / 363 MB, free: 2.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.009343, allocations: 51.41 kB / 363.1 MB, free: 2.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.00949, allocations: 272.3 kB / 363.3 MB, free: 2.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.0095, allocations: 25.7 kB / 363.4 MB, free: 2.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.009589, allocations: 206.9 kB / 363.6 MB, free: 2.344 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.009609, allocations: 27.75 kB / 363.6 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.009651, allocations: 39.31 kB / 363.6 MB, free: 2.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.009769, allocations: 0.5 MB / 364.1 MB, free: 1.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.009799, allocations: 19.92 kB / 364.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.009841, allocations: 47.05 kB / 364.2 MB, free: 1.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.009954, allocations: 95.02 kB / 364.3 MB, free: 1.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009956, allocations: 0 / 364.3 MB, free: 1.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00013/0.01009, allocations: 113.5 kB / 364.4 MB, free: 1.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.0101, allocations: 8 kB / 364.4 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.0101, allocations: 0 / 364.4 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01012, allocations: 3.984 kB / 364.4 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.01023, allocations: 28 kB / 364.4 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01023, allocations: 0 / 364.4 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.01028, allocations: 11.89 kB / 364.4 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.01028, allocations: 0 / 364.4 MB, free: 1.406 MB / 330.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.0001183/0.0104, allocations: 180.5 kB / 364.6 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.01043, allocations: 23.86 kB / 364.6 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.01046, allocations: 21.77 kB / 364.7 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01047, allocations: 4 kB / 364.7 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01047, allocations: 0 / 364.7 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.01047, allocations: 0 / 364.7 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.01062, allocations: 188.5 kB / 364.8 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.01062, allocations: 0 / 364.8 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.0107, allocations: 23.98 kB / 364.9 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.0107, allocations: 0 / 364.9 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.01072, allocations: 0 / 364.9 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.01072, allocations: 0 / 364.9 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01072, allocations: 0 / 364.9 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.01091, allocations: 263.7 kB / 365.1 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01093, allocations: 15.84 kB / 365.1 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.01095, allocations: 4 kB / 365.1 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.457e-05/0.01099, allocations: 0 / 365.1 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.01101, allocations: 11.92 kB / 365.2 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.01102, allocations: 8.031 kB / 365.2 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.344e-05/0.0111, allocations: 189.1 kB / 365.4 MB, free: 432 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0111, allocations: 0 / 365.4 MB, free: 432 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.01137, allocations: 43.95 kB / 365.4 MB, free: 388 kB / 330.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 9.306e-05/0.01146, allocations: 91.25 kB / 365.5 MB, free: 288 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.01159, allocations: 59.59 kB / 365.5 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01159, allocations: 4 kB / 365.5 MB, free: 220 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.01162, allocations: 31.61 kB / 365.6 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.01187, allocations: 58.33 kB / 365.6 MB, free: 128 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.01277, allocations: 459.2 kB / 366.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.01281, allocations: 72.33 kB / 366.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.01288, allocations: 29.94 kB / 366.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.01292, allocations: 16.5 kB / 366.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01292, allocations: 0 / 366.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of Templates: time 0.00389/0.01681, allocations: 2.213 MB / 368.4 MB, free: 13.36 MB / 346.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.939115770161152]