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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,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=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008185/0.0008185, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009498/0.0009498, allocations: 180.1 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1968/0.1968, allocations: 22.35 MB / 314.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003159, allocations: 11.98 kB / 383.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.253, allocations: 55.98 MB / 439.2 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.00197/0.255, allocations: 2.082 MB / 441.3 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005927/0.2556, allocations: 237.4 kB / 441.6 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.2559, allocations: 12.19 kB / 441.6 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.385e-05/0.2559, allocations: 24.25 kB / 441.6 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.2562, allocations: 86.08 kB / 441.7 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.2564, allocations: 31.72 kB / 441.7 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.2566, allocations: 275.8 kB / 442 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.2568, allocations: 116.2 kB / 442.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.257, allocations: 109.1 kB / 442.2 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.2572, allocations: 86.22 kB / 442.3 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.2572, allocations: 12.41 kB / 442.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.889e-05/0.2573, allocations: 8.719 kB / 442.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.2573, allocations: 24.31 kB / 442.3 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.992e-05/0.2574, allocations: 137 kB / 442.5 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.2575, allocations: 157.8 kB / 442.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2575, allocations: 0 / 442.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2576, allocations: 0 / 442.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.2576, allocations: 0 / 442.6 MB, free: 37.15 MB / 350.1 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.0005596/0.2581, allocations: 485.9 kB / 443.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2582, allocations: 11.41 kB / 443.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.2582, allocations: 29.59 kB / 443.1 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.2585, allocations: 265.7 kB / 443.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2585, allocations: 10.19 kB / 443.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.2586, allocations: 10.47 kB / 443.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.2588, allocations: 171.3 kB / 443.6 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.2589, allocations: 3.031 kB / 443.6 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.2589, allocations: 4 kB / 443.6 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2589, allocations: 3.094 kB / 443.6 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.2591, allocations: 99.47 kB / 443.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/0.2598, allocations: 0.798 MB / 444.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.2599, allocations: 75.84 kB / 444.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.26, allocations: 43.48 kB / 444.6 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.26, allocations: 3.938 kB / 444.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.26, allocations: 34.56 kB / 444.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.26, allocations: 2.875 kB / 444.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002624/0.2603, allocations: 120.4 kB / 444.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.2603, allocations: 58.34 kB / 444.8 MB, free: 35.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.2606, allocations: 269 kB / 445.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.2606, allocations: 36.52 kB / 445.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.2606, allocations: 143.3 kB / 445.2 MB, free: 35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.2607, allocations: 36.59 kB / 445.3 MB, free: 34.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.2607, allocations: 16.5 kB / 445.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.419e-05/0.2608, allocations: 338.5 kB / 445.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.2608, allocations: 23.12 kB / 445.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.2609, allocations: 47.77 kB / 445.7 MB, free: 34.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.2614, allocations: 157.6 kB / 445.9 MB, free: 34.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2614, allocations: 0 / 445.9 MB, free: 34.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001904/0.2616, allocations: 143.5 kB / 446 MB, free: 34.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2616, allocations: 5.375 kB / 446 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2616, allocations: 0 / 446 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2616, allocations: 2.75 kB / 446 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2618, allocations: 27.83 kB / 446 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2618, allocations: 6.906 kB / 446 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.49e-05/0.2619, allocations: 14.69 kB / 446 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2619, allocations: 2.969 kB / 446.1 MB, free: 34.41 MB / 350.1 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.0001582/0.2621, allocations: 150.7 kB / 446.2 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.2621, allocations: 28.7 kB / 446.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.2622, allocations: 22.73 kB / 446.2 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2622, allocations: 0 / 446.2 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2622, allocations: 3.938 kB / 446.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2622, allocations: 3.562 kB / 446.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.2624, allocations: 236 kB / 446.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2624, allocations: 4 kB / 446.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.2625, allocations: 19.7 kB / 446.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2625, allocations: 0 / 446.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2626, allocations: 7 kB / 446.5 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2626, allocations: 0 / 446.5 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2626, allocations: 3.938 kB / 446.5 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.2628, allocations: 240.7 kB / 446.8 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.2629, allocations: 102.8 kB / 446.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.2629, allocations: 6.812 kB / 446.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.263, allocations: 3.938 kB / 446.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.263, allocations: 9.953 kB / 446.9 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.2631, allocations: 2.906 kB / 446.9 MB, free: 33.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.2632, allocations: 195.9 kB / 447.1 MB, free: 33.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2632, allocations: 0 / 447.1 MB, free: 33.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.2635, allocations: 35 kB / 447.1 MB, free: 33.58 MB / 350.1 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 6.91e-05/0.2635, allocations: 95.81 kB / 447.2 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.2637, allocations: 77.44 kB / 447.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2637, allocations: 0 / 447.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/0.2638, allocations: 36.11 kB / 447.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.2642, allocations: 51.89 kB / 447.4 MB, free: 33.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.2649, allocations: 0.6284 MB / 448 MB, free: 33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.2651, allocations: 0.7335 MB / 448.7 MB, free: 32.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.2651, allocations: 19.06 kB / 448.7 MB, free: 32.29 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2651, allocations: 0 / 448.7 MB, free: 32.29 MB / 350.1 MB Notification: Performance of Templates: time 0.004211/0.2693, allocations: 2.476 MB / 451.2 MB, free: 32.12 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile (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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1)