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.0008082/0.0008082, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009086/0.0009086, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2477/0.2477, allocations: 22.35 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 8 kB / 381.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3623, allocations: 55.98 MB / 437.9 MB, free: 39.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.002273/0.3647, allocations: 1.748 MB / 439.7 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004161/0.3651, allocations: 146.5 kB / 439.8 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3652, allocations: 5.531 kB / 439.8 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.596e-05/0.3653, allocations: 24.2 kB / 439.8 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.3655, allocations: 47.88 kB / 439.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.3656, allocations: 27.61 kB / 439.9 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.3658, allocations: 179.9 kB / 440.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.366, allocations: 75.53 kB / 440.2 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.457e-05/0.3661, allocations: 51.05 kB / 440.2 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3663, allocations: 72.19 kB / 440.3 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.3663, allocations: 12.11 kB / 440.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.147e-05/0.3663, allocations: 8.125 kB / 440.3 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.3664, allocations: 24.3 kB / 440.3 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.3664, allocations: 53.42 kB / 440.4 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.3666, allocations: 143.2 kB / 440.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3666, allocations: 0 / 440.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3666, allocations: 0 / 440.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3666, allocations: 0 / 440.5 MB, free: 37.84 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.0004955/0.3671, allocations: 434.8 kB / 440.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3672, allocations: 8.406 kB / 440.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.3672, allocations: 20.06 kB / 441 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3674, allocations: 178.2 kB / 441.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.3674, allocations: 11.91 kB / 441.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.3674, allocations: 18.28 kB / 441.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.3677, allocations: 159.4 kB / 441.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.3678, allocations: 11.08 kB / 441.3 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.3678, allocations: 7.953 kB / 441.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3678, allocations: 5.719 kB / 441.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.368, allocations: 110 kB / 441.5 MB, free: 37.07 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.0008502/0.3689, allocations: 0.8602 MB / 442.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.3691, allocations: 116.4 kB / 442.4 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3692, allocations: 81.34 kB / 442.5 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.3693, allocations: 4 kB / 442.5 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.3693, allocations: 37.56 kB / 442.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.3693, allocations: 0 / 442.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003469/0.3696, allocations: 167.1 kB / 442.7 MB, free: 36.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.3697, allocations: 54.73 kB / 442.8 MB, free: 36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.3698, allocations: 116.5 kB / 442.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.3698, allocations: 29.7 kB / 442.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.3698, allocations: 127 kB / 443 MB, free: 35.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.3699, allocations: 62 kB / 443.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.3699, allocations: 4 kB / 443.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.3699, allocations: 321 kB / 443.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.37, allocations: 34.05 kB / 443.4 MB, free: 35.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.986e-05/0.3701, allocations: 79.78 kB / 443.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.3702, allocations: 54.59 kB / 443.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3702, allocations: 0 / 443.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002456/0.3705, allocations: 162.8 kB / 443.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3705, allocations: 9.938 kB / 443.7 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3705, allocations: 4 kB / 443.7 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3705, allocations: 2.844 kB / 443.7 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.3707, allocations: 47.5 kB / 443.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3707, allocations: 2.781 kB / 443.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.061e-05/0.3708, allocations: 23.69 kB / 443.8 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3709, allocations: 2.875 kB / 443.8 MB, free: 35.17 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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 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 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002257/0.3711, allocations: 165.1 kB / 444 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.3711, allocations: 9.406 kB / 444 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.3712, allocations: 19.53 kB / 444 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3712, allocations: 0 / 444 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3712, allocations: 2.938 kB / 444 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3712, allocations: 0 / 444 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.3715, allocations: 258.2 kB / 444.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3715, allocations: 0 / 444.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.3717, allocations: 42.56 kB / 444.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3717, allocations: 0 / 444.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3717, allocations: 6.875 kB / 444.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3717, allocations: 0 / 444.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3717, allocations: 0 / 444.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.3721, allocations: 274.1 kB / 444.6 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.3721, allocations: 95.59 kB / 444.7 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3721, allocations: 6.75 kB / 444.7 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.3722, allocations: 10.28 kB / 444.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.3723, allocations: 17.12 kB / 444.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.3723, allocations: 2.438 kB / 444.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.735e-05/0.3723, allocations: 91.53 kB / 444.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3723, allocations: 0 / 444.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3726, allocations: 44.44 kB / 444.8 MB, free: 34.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.731e-05/0.3727, allocations: 101.3 kB / 444.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.373, allocations: 116.8 kB / 445.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.373, allocations: 0 / 445.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.3731, allocations: 59.5 kB / 445.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.3734, allocations: 11.03 kB / 445.1 MB, free: 34.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008003/0.3742, allocations: 0.5383 MB / 445.7 MB, free: 33.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.3743, allocations: 0.7157 MB / 446.4 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.024e-05/0.3744, allocations: 16.12 kB / 446.4 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.3745, allocations: 16.44 kB / 446.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3745, allocations: 0 / 446.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of Templates: time 0.003356/0.3778, allocations: 0.9887 MB / 447.4 MB, free: 33.05 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)