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.001294/0.001294, allocations: 109.3 kB / 16.41 MB, free: 6.473 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.001323/0.001323, allocations: 187 kB / 17.34 MB, free: 5.754 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09632/0.09632, allocations: 22.33 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.91 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1021, allocations: 54.94 MB / 492.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.003571/0.1057, allocations: 2.104 MB / 494.8 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004218/0.1062, allocations: 155.4 kB / 494.9 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1063, allocations: 7.938 kB / 494.9 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.919e-05/0.1064, allocations: 27.72 kB / 495 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1066, allocations: 51.48 kB / 495 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.1068, allocations: 39.95 kB / 495.1 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.107, allocations: 191.1 kB / 495.2 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.1072, allocations: 103.9 kB / 495.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.1073, allocations: 67.78 kB / 495.4 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1074, allocations: 83.62 kB / 495.5 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1075, allocations: 16 kB / 495.5 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.083e-05/0.1075, allocations: 16 kB / 495.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.1076, allocations: 39.84 kB / 495.6 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.585e-05/0.1076, allocations: 91.59 kB / 495.6 MB, free: 1.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1079, allocations: 191.3 kB / 495.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1079, allocations: 0 / 495.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1079, allocations: 0 / 495.8 MB, free: 1.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1079, allocations: 4 kB / 495.8 MB, free: 1.555 MB / 366.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.000634/0.1085, allocations: 455 kB / 496.3 MB, free: 1.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1086, allocations: 8.031 kB / 496.3 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.1087, allocations: 24.69 kB / 496.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.1088, allocations: 184.1 kB / 496.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.1089, allocations: 16.38 kB / 496.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.109, allocations: 20.38 kB / 496.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.1094, allocations: 158.8 kB / 496.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1094, allocations: 4.125 kB / 496.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.1094, allocations: 11.94 kB / 496.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1094, allocations: 7.984 kB / 496.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.1097, allocations: 104 kB / 496.8 MB, free: 500 kB / 366.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.001284/0.111, allocations: 0.856 MB / 497.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.1112, allocations: 122.5 kB / 497.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.1113, allocations: 76.83 kB / 497.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1114, allocations: 4 kB / 497.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1114, allocations: 34.56 kB / 497.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1114, allocations: 0 / 497.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003796/0.1118, allocations: 173.1 kB / 498.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.1118, allocations: 55.41 kB / 498.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1119, allocations: 125.7 kB / 498.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.112, allocations: 25.7 kB / 498.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.112, allocations: 128.2 kB / 498.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.1121, allocations: 63.09 kB / 498.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.1122, allocations: 41.64 kB / 498.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1123, allocations: 326.8 kB / 498.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.1124, allocations: 35.98 kB / 498.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1125, allocations: 75.27 kB / 498.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.1131, allocations: 224.1 kB / 499.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1131, allocations: 4 kB / 499.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002754/0.1134, allocations: 163.6 kB / 499.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1134, allocations: 4 kB / 499.3 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.1135, allocations: 11.97 kB / 499.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1135, allocations: 0 / 499.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.1137, allocations: 43.92 kB / 499.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1137, allocations: 0 / 499.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.879e-05/0.1138, allocations: 19.78 kB / 499.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1138, allocations: 8.125 kB / 499.4 MB, free: 13.67 MB / 382.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.0002166/0.114, allocations: 146.5 kB / 499.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.1141, allocations: 7.906 kB / 499.5 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.1141, allocations: 20.78 kB / 499.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1141, allocations: 8 kB / 499.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1141, allocations: 4 kB / 499.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1142, allocations: 3.938 kB / 499.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.1144, allocations: 249.4 kB / 499.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1144, allocations: 3.984 kB / 499.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.1146, allocations: 35.98 kB / 499.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1146, allocations: 0 / 499.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1147, allocations: 4 kB / 499.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1147, allocations: 3.938 kB / 499.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1147, allocations: 0 / 499.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.1151, allocations: 287.3 kB / 0.4884 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.1152, allocations: 85.05 kB / 0.4885 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1152, allocations: 0 / 0.4885 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.1153, allocations: 8 kB / 0.4885 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.1154, allocations: 11.92 kB / 0.4885 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1154, allocations: 8 kB / 0.4885 GB, free: 12.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.186e-05/0.1154, allocations: 95.2 kB / 0.4886 GB, free: 12.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1154, allocations: 0 / 0.4886 GB, free: 12.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.1157, allocations: 47.91 kB / 0.4887 GB, free: 12.57 MB / 382.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 0.0001154/0.1159, allocations: 109.9 kB / 0.4888 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.1161, allocations: 115.8 kB / 0.4889 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1162, allocations: 0 / 0.4889 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.817e-05/0.1163, allocations: 55.92 kB / 0.4889 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.1165, allocations: 10.12 kB / 0.4889 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/0.1175, allocations: 481 kB / 0.4894 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1178, allocations: 0.7162 MB / 0.4901 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.1179, allocations: 15.44 kB / 0.4901 GB, free: 11.02 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1179, allocations: 0 / 0.4901 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Templates: time 0.003597/0.1215, allocations: 1.691 MB / 0.4918 GB, free: 9.332 MB / 382.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)