Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.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_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009643/0.0009642, allocations: 99.58 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.001027/0.001027, allocations: 181.9 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.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2025/0.2025, allocations: 22.34 MB / 314.4 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 8 kB / 383.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2441, allocations: 55.98 MB / 439.2 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst): time 0.002488/0.2466, allocations: 3.045 MB / 442.3 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.2475, allocations: 0.5988 MB / 442.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.2477, allocations: 14.56 kB / 442.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2479, allocations: 52.61 kB / 442.9 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.2481, allocations: 105.3 kB / 443.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.2486, allocations: 279.5 kB / 443.3 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.249, allocations: 0.6397 MB / 444 MB, free: 36.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.2494, allocations: 280.4 kB / 444.2 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.2496, allocations: 194.4 kB / 444.4 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.2498, allocations: 219.8 kB / 444.6 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.2498, allocations: 24.75 kB / 444.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.239e-05/0.2499, allocations: 21 kB / 444.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.985e-05/0.25, allocations: 106.3 kB / 444.8 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.2501, allocations: 270.4 kB / 445.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.2504, allocations: 492.2 kB / 445.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2504, allocations: 7.281 kB / 445.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2504, allocations: 3.125 kB / 445.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.2505, allocations: 0 / 445.5 MB, free: 35.37 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001081/0.2515, allocations: 0.7834 MB / 446.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2516, allocations: 15.69 kB / 446.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.2517, allocations: 69.03 kB / 446.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.252, allocations: 386.5 kB / 446.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.2521, allocations: 39.5 kB / 446.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.2521, allocations: 59.41 kB / 446.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008951/0.2531, allocations: 0.5883 MB / 447.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2531, allocations: 192 / 447.5 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.2531, allocations: 26 kB / 447.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.2531, allocations: 14.81 kB / 447.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009157/0.2541, allocations: 462.5 kB / 448 MB, free: 33.98 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.2562, allocations: 2.032 MB / 450 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/0.257, allocations: 465.1 kB / 450.5 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/0.2575, allocations: 283.3 kB / 450.7 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.2576, allocations: 13.72 kB / 450.7 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.2576, allocations: 37.22 kB / 450.8 MB, free: 32.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.824e-06/0.2576, allocations: 2.219 kB / 450.8 MB, free: 32.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.001263/0.2589, allocations: 0.6394 MB / 451.4 MB, free: 31.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.2589, allocations: 134.2 kB / 451.6 MB, free: 31.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.2591, allocations: 285.5 kB / 451.8 MB, free: 31.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.2592, allocations: 33.52 kB / 451.9 MB, free: 31.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.2593, allocations: 259.7 kB / 452.1 MB, free: 31.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/0.2594, allocations: 174.6 kB / 452.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.2594, allocations: 47.34 kB / 452.3 MB, free: 31.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.2595, allocations: 354.2 kB / 452.7 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.2599, allocations: 174.8 kB / 452.9 MB, free: 30.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.2603, allocations: 280 kB / 453.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.2639, allocations: 1.012 MB / 454.1 MB, free: 30.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2639, allocations: 0 / 454.1 MB, free: 30.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009382/0.2649, allocations: 0.5422 MB / 454.7 MB, free: 30.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/0.2649, allocations: 130.4 kB / 454.8 MB, free: 30.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.265, allocations: 0 / 454.8 MB, free: 30.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.265, allocations: 5.25 kB / 454.8 MB, free: 30.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.2655, allocations: 132.1 kB / 454.9 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2655, allocations: 5.25 kB / 454.9 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.2659, allocations: 71.84 kB / 455 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.2659, allocations: 20.5 kB / 455 MB, free: 29.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-06/0.2659, allocations: 2.625 kB / 455 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005918/0.2665, allocations: 391.9 kB / 455.4 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2665, allocations: 10.2 kB / 455.4 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/0.2666, allocations: 2.688 kB / 455.4 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.267, allocations: 109.5 kB / 455.5 MB, free: 29.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.267, allocations: 2.625 kB / 455.5 MB, free: 29.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.2673, allocations: 51.62 kB / 455.6 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.2673, allocations: 18.44 kB / 455.6 MB, free: 29.76 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: Ccen.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))) start = 313.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cloc2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (60): * Single equations (assignments): 60 * 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.0003075/0.2676, allocations: 307.3 kB / 455.9 MB, free: 29.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.735e-05/0.2677, allocations: 37.03 kB / 455.9 MB, free: 29.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.2689, allocations: 0.6267 MB / 456.6 MB, free: 29.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.2689, allocations: 10.83 kB / 456.6 MB, free: 29.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2689, allocations: 4 kB / 456.6 MB, free: 29.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.2689, allocations: 7.969 kB / 456.6 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.2696, allocations: 0.5926 MB / 457.2 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2696, allocations: 0 / 457.2 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.2702, allocations: 139.3 kB / 457.3 MB, free: 28.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.2703, allocations: 1.5 kB / 457.3 MB, free: 28.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.2703, allocations: 12.75 kB / 457.3 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2703, allocations: 2.25 kB / 457.3 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2703, allocations: 7.141 kB / 457.3 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.2718, allocations: 0.9245 MB / 458.3 MB, free: 28.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.2719, allocations: 122.2 kB / 458.4 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.2719, allocations: 11.78 kB / 458.4 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.2723, allocations: 41.06 kB / 458.4 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.2724, allocations: 34.75 kB / 458.5 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.2724, allocations: 22.16 kB / 458.5 MB, free: 28.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.2726, allocations: 202.6 kB / 458.7 MB, free: 28.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2726, allocations: 1.344 kB / 458.7 MB, free: 28.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006225/0.2732, allocations: 232.9 kB / 458.9 MB, free: 28.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Ccen.T,Cloc1.T,C1.FO.y,C2.FO.y,Cloc2.T,Cc.FO.y) * 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 (65): * Single equations (assignments): 65 * 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.0001248/0.2733, allocations: 126 kB / 459 MB, free: 27.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.2746, allocations: 0.6904 MB / 459.7 MB, free: 27.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2746, allocations: 0 / 459.7 MB, free: 27.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004539/0.275, allocations: 281.4 kB / 460 MB, free: 27.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.2756, allocations: 83.64 kB / 460.1 MB, free: 27.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.2775, allocations: 1.577 MB / 461.7 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2778, allocations: 0.8731 MB / 462.5 MB, free: 25.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.278, allocations: 45.39 kB / 462.6 MB, free: 25.93 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.278, allocations: 0 / 462.6 MB, free: 25.93 MB / 350.1 MB Notification: Performance of Templates: time 0.00922/0.2872, allocations: 5.822 MB / 468.4 MB, free: 25.41 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_control_central_local_sources.Tcontrol_central_local_01_CenFirst.pipe 2>&1)