Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.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_zones_control.Thermal_zones_case_01_openLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001946/0.001946, allocations: 194.2 kB / 16.26 MB, free: 6.637 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2009/0.2009, allocations: 22.36 MB / 312.4 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 67.89 kB / 380.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2466, allocations: 54.94 MB / 435.2 MB, free: 39.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.002574/0.2492, allocations: 2.154 MB / 437.4 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.2495, allocations: 151.4 kB / 437.5 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.2496, allocations: 9.094 kB / 437.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/0.2497, allocations: 17.2 kB / 437.6 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.2498, allocations: 47.7 kB / 437.6 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.2499, allocations: 32.17 kB / 437.7 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.2501, allocations: 196.5 kB / 437.8 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.2502, allocations: 103.8 kB / 437.9 MB, free: 38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.2503, allocations: 73.86 kB / 438 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.2504, allocations: 79.88 kB / 438.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.2505, allocations: 16.19 kB / 438.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.773e-05/0.2505, allocations: 17.62 kB / 438.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.2505, allocations: 37.48 kB / 438.2 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.2506, allocations: 90.62 kB / 438.3 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.2507, allocations: 187.5 kB / 438.4 MB, free: 37.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2507, allocations: 2.719 kB / 438.4 MB, free: 37.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2507, allocations: 0 / 438.4 MB, free: 37.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2508, allocations: 0 / 438.4 MB, free: 37.78 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004506/0.2512, allocations: 463.2 kB / 438.9 MB, free: 37.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2513, allocations: 8.781 kB / 438.9 MB, free: 37.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.2513, allocations: 21.36 kB / 438.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.834e-05/0.2514, allocations: 181.3 kB / 439.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.2514, allocations: 17.11 kB / 439.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.2515, allocations: 19.91 kB / 439.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.2517, allocations: 160.5 kB / 439.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2517, allocations: 192 / 439.3 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.2518, allocations: 13.59 kB / 439.3 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.2518, allocations: 5.656 kB / 439.3 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.252, allocations: 109.9 kB / 439.4 MB, free: 36.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.000659/0.2526, allocations: 0.8573 MB / 440.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.2528, allocations: 116.5 kB / 440.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.2529, allocations: 84.36 kB / 440.5 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.253, allocations: 2.719 kB / 440.5 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.253, allocations: 34.56 kB / 440.5 MB, free: 36.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.253, allocations: 0 / 440.5 MB, free: 36.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003219/0.2533, allocations: 170.9 kB / 440.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.2533, allocations: 58.19 kB / 440.7 MB, free: 35.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.517e-05/0.2534, allocations: 119.4 kB / 440.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.2534, allocations: 33.7 kB / 440.9 MB, free: 35.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.2535, allocations: 124.4 kB / 441 MB, free: 35.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.2535, allocations: 59.47 kB / 441.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.2535, allocations: 36.48 kB / 441.1 MB, free: 35.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.816e-05/0.2536, allocations: 325 kB / 441.4 MB, free: 35.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.2537, allocations: 35.47 kB / 441.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.2537, allocations: 78.45 kB / 441.5 MB, free: 35.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.2543, allocations: 234.1 kB / 441.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2543, allocations: 0 / 441.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002124/0.2545, allocations: 156.8 kB / 441.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2545, allocations: 9.5 kB / 441.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2545, allocations: 0 / 441.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2545, allocations: 2.688 kB / 441.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2547, allocations: 50.72 kB / 442 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2547, allocations: 2.875 kB / 442 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.2548, allocations: 23.36 kB / 442 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.2548, allocations: 14.53 kB / 442 MB, free: 34.96 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: Cz1.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 Cz2.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: 5 * 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 (22): * Single equations (assignments): 22 * 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.0001646/0.255, allocations: 152.6 kB / 442.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.255, allocations: 7.5 kB / 442.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.2551, allocations: 19.62 kB / 442.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.2551, allocations: 0 / 442.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2551, allocations: 0 / 442.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2551, allocations: 6.75 kB / 442.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.2553, allocations: 260.4 kB / 442.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2553, allocations: 4 kB / 442.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.2555, allocations: 34.66 kB / 442.5 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2555, allocations: 3.938 kB / 442.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2555, allocations: 4 kB / 442.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2555, allocations: 2.562 kB / 442.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2555, allocations: 0 / 442.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.2558, allocations: 282.6 kB / 442.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.2558, allocations: 93.89 kB / 442.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.2559, allocations: 8.062 kB / 442.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.256, allocations: 6.766 kB / 442.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.256, allocations: 15.12 kB / 442.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.256, allocations: 5.562 kB / 442.9 MB, free: 34.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.781e-05/0.256, allocations: 98.25 kB / 443 MB, free: 34.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2561, allocations: 0 / 443 MB, free: 34.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.2563, allocations: 49.53 kB / 443 MB, free: 34.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cz1.T,Cz2.T) * 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 (16): * Single equations (assignments): 16 * 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.727e-05/0.2564, allocations: 104.3 kB / 443.1 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.2566, allocations: 118.4 kB / 443.3 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2566, allocations: 0 / 443.3 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.889e-05/0.2567, allocations: 56.45 kB / 443.3 MB, free: 33.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.2569, allocations: 14.91 kB / 443.3 MB, free: 33.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.2576, allocations: 0.4937 MB / 443.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2577, allocations: 0.7127 MB / 444.5 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.2577, allocations: 17.02 kB / 444.5 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.2578, allocations: 13.12 kB / 444.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2578, allocations: 2.625 kB / 444.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of Templates: time 0.002733/0.2605, allocations: 1.077 MB / 445.6 MB, free: 32.84 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe 2>&1)