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.001091/0.001091, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001251/0.001251, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09154/0.09154, allocations: 22.33 MB / 313.5 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 65.64 kB / 382.2 MB, free: 40.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.1003, allocations: 54.96 MB / 437.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.002985/0.1033, allocations: 2.094 MB / 439.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002922/0.1036, allocations: 163.4 kB / 439.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.1037, allocations: 4 kB / 439.5 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.06e-05/0.1038, allocations: 23.72 kB / 439.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.1039, allocations: 55.55 kB / 439.5 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.104, allocations: 43.89 kB / 439.6 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1042, allocations: 199 kB / 439.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.1044, allocations: 87.94 kB / 439.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.312e-05/0.1045, allocations: 75.77 kB / 439.9 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1046, allocations: 75.7 kB / 440 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.1047, allocations: 16 kB / 440 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.056e-05/0.1047, allocations: 16 kB / 440 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.645e-05/0.1047, allocations: 47.84 kB / 440.1 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.29e-05/0.1048, allocations: 83.59 kB / 440.2 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.105, allocations: 195.3 kB / 440.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.105, allocations: 0 / 440.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.105, allocations: 0 / 440.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.105, allocations: 0 / 440.4 MB, free: 9.039 MB / 318.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.000543/0.1056, allocations: 463 kB / 440.8 MB, free: 8.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1056, allocations: 12.03 kB / 440.8 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.1057, allocations: 20.69 kB / 440.8 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1058, allocations: 184.1 kB / 441 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1058, allocations: 12.38 kB / 441 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.1059, allocations: 20.38 kB / 441.1 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.1062, allocations: 162.8 kB / 441.2 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1062, allocations: 192 / 441.2 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.1062, allocations: 11.94 kB / 441.2 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1062, allocations: 4 kB / 441.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.1065, allocations: 115.9 kB / 441.3 MB, free: 7.961 MB / 318.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.0009041/0.1074, allocations: 0.8483 MB / 442.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1076, allocations: 134.4 kB / 442.3 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.1077, allocations: 75.66 kB / 442.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.1077, allocations: 0 / 442.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1078, allocations: 42.55 kB / 442.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.1078, allocations: 0 / 442.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003676/0.1082, allocations: 165.4 kB / 442.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1082, allocations: 51.41 kB / 442.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.001e-05/0.1083, allocations: 126.1 kB / 442.8 MB, free: 6.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1083, allocations: 29.7 kB / 442.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.1084, allocations: 128.2 kB / 442.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.1084, allocations: 59.11 kB / 443 MB, free: 6.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.1085, allocations: 33.7 kB / 443 MB, free: 6.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1086, allocations: 322.8 kB / 443.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.1087, allocations: 39.98 kB / 443.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1088, allocations: 78.34 kB / 443.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/0.1094, allocations: 222.6 kB / 443.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1094, allocations: 4 kB / 443.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000265/0.1097, allocations: 161.3 kB / 443.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1097, allocations: 8 kB / 443.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1097, allocations: 0 / 443.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1098, allocations: 8.125 kB / 443.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.11, allocations: 47.91 kB / 443.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.11, allocations: 4 kB / 443.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.11, allocations: 15.78 kB / 443.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1101, allocations: 8 kB / 443.9 MB, free: 5.152 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: Cz1.T:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cz2.T:VARIABLE(min = 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.000163/0.1102, allocations: 138.5 kB / 444.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.1103, allocations: 11.91 kB / 444.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.1103, allocations: 16.84 kB / 444.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1103, allocations: 0 / 444.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1103, allocations: 0 / 444.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1104, allocations: 11.94 kB / 444.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.1106, allocations: 257.4 kB / 444.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1106, allocations: 0 / 444.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1108, allocations: 31.97 kB / 444.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1108, allocations: 4 kB / 444.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1108, allocations: 8 kB / 444.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1108, allocations: 0 / 444.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1109, allocations: 0 / 444.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.1112, allocations: 284.6 kB / 444.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.1113, allocations: 96.94 kB / 444.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1113, allocations: 0 / 444.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.1114, allocations: 4 kB / 444.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.1115, allocations: 19.98 kB / 444.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-06/0.1115, allocations: 0 / 444.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.635e-05/0.1115, allocations: 99.64 kB / 444.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1115, allocations: 0 / 444.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1118, allocations: 47.84 kB / 444.9 MB, free: 4.055 MB / 318.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 9.689e-05/0.1119, allocations: 95.25 kB / 445 MB, free: 3.949 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.1122, allocations: 121.4 kB / 445.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1122, allocations: 4.062 kB / 445.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.1123, allocations: 63.86 kB / 445.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.1125, allocations: 12.62 kB / 445.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.1133, allocations: 443.6 kB / 445.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1136, allocations: 0.7161 MB / 446.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.975e-05/0.1137, allocations: 12.64 kB / 446.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.1137, allocations: 15.44 kB / 446.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1137, allocations: 0 / 446.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of Templates: time 0.003598/0.1173, allocations: 1.095 MB / 447.5 MB, free: 1.469 MB / 318.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 -s gbode -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe 2>&1)