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.00108/0.00108, allocations: 91.06 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008084/0.008084, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2082/0.2082, allocations: 22.35 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 11.94 kB / 382.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2638, allocations: 55.98 MB / 438.6 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.001968/0.2658, allocations: 2.083 MB / 440.7 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003539/0.2662, allocations: 235.7 kB / 440.9 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2663, allocations: 16.78 kB / 440.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.458e-05/0.2664, allocations: 21.52 kB / 440.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.2665, allocations: 85.58 kB / 441 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.2667, allocations: 32.06 kB / 441 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.2669, allocations: 277.5 kB / 441.3 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.2671, allocations: 114.3 kB / 441.4 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.2672, allocations: 112.1 kB / 441.5 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.2674, allocations: 81.92 kB / 441.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.2674, allocations: 10.41 kB / 441.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.025e-05/0.2674, allocations: 6.781 kB / 441.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.2675, allocations: 28.84 kB / 441.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.2676, allocations: 133.2 kB / 441.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.2677, allocations: 209.6 kB / 442 MB, free: 37.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2677, allocations: 4 kB / 442 MB, free: 37.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2678, allocations: 0 / 442 MB, free: 37.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2678, allocations: 0 / 442 MB, free: 37.08 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.0006127/0.2684, allocations: 485.3 kB / 442.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2684, allocations: 8.688 kB / 442.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.2685, allocations: 30.94 kB / 442.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.2687, allocations: 266.9 kB / 442.8 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2687, allocations: 9.844 kB / 442.8 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.2688, allocations: 11.06 kB / 442.8 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.269, allocations: 169.1 kB / 443 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.269, allocations: 3.938 kB / 443 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.2691, allocations: 6.938 kB / 443 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2691, allocations: 6.812 kB / 443 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.2692, allocations: 97.64 kB / 443.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000707/0.27, allocations: 0.8 MB / 443.9 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.2701, allocations: 76.48 kB / 443.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.2702, allocations: 38.92 kB / 444 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.2702, allocations: 3.562 kB / 444 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.2702, allocations: 41.59 kB / 444 MB, free: 35.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.2702, allocations: 0 / 444 MB, free: 35.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002536/0.2705, allocations: 123.3 kB / 444.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.2705, allocations: 51.41 kB / 444.2 MB, free: 35.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.2707, allocations: 277.2 kB / 444.5 MB, free: 35.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.2707, allocations: 29.7 kB / 444.5 MB, free: 35.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.2708, allocations: 144.2 kB / 444.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.2708, allocations: 31 kB / 444.7 MB, free: 34.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.2709, allocations: 23.69 kB / 444.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.2709, allocations: 331.9 kB / 445 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.271, allocations: 26.03 kB / 445 MB, free: 34.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.2711, allocations: 50.67 kB / 445.1 MB, free: 34.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.2715, allocations: 163 kB / 445.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2715, allocations: 0 / 445.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001764/0.2717, allocations: 135.3 kB / 445.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.2717, allocations: 2.906 kB / 445.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2718, allocations: 2.891 kB / 445.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2718, allocations: 4.062 kB / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2719, allocations: 23.98 kB / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2719, allocations: 10.58 kB / 445.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.932e-05/0.272, allocations: 15.25 kB / 445.4 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.2721, allocations: 11.47 kB / 445.4 MB, free: 34.32 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.000163/0.2722, allocations: 146.5 kB / 445.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.2723, allocations: 21.88 kB / 445.6 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.2723, allocations: 29.75 kB / 445.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2723, allocations: 0 / 445.6 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2723, allocations: 3.938 kB / 445.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2723, allocations: 0 / 445.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.2725, allocations: 243.5 kB / 445.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2725, allocations: 0 / 445.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.2727, allocations: 17.94 kB / 445.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2727, allocations: 0 / 445.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2727, allocations: 6.938 kB / 445.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2727, allocations: 4 kB / 445.9 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2727, allocations: 7.922 kB / 445.9 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.273, allocations: 234.5 kB / 446.1 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.273, allocations: 102.5 kB / 446.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.273, allocations: 0 / 446.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.2732, allocations: 2.625 kB / 446.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.2732, allocations: 14.52 kB / 446.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2732, allocations: 4.062 kB / 446.3 MB, free: 33.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.2733, allocations: 194.2 kB / 446.5 MB, free: 33.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2733, allocations: 0 / 446.5 MB, free: 33.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.2736, allocations: 38.44 kB / 446.5 MB, free: 33.5 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 8.138e-05/0.2737, allocations: 92.78 kB / 446.6 MB, free: 33.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.2739, allocations: 75.72 kB / 446.7 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2739, allocations: 0 / 446.7 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.2739, allocations: 38.88 kB / 446.7 MB, free: 33.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.2743, allocations: 47.45 kB / 446.7 MB, free: 33.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007074/0.275, allocations: 0.6013 MB / 447.3 MB, free: 32.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.2751, allocations: 0.7347 MB / 448.1 MB, free: 32.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.2753, allocations: 28.25 kB / 448.1 MB, free: 32.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.2753, allocations: 20.72 kB / 448.1 MB, free: 32.24 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2753, allocations: 0 / 448.1 MB, free: 32.24 MB / 350.1 MB Notification: Performance of Templates: time 0.004662/0.28, allocations: 2.126 MB / 450.3 MB, free: 32.09 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)