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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 108.4 kB / 17.14 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 205.1 kB / 20.11 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1093/0.1093, allocations: 24.03 MB / 333.6 MB, free: 1.566 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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=7200,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=7200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 73.03 kB / 468.9 MB, free: 31.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1242, allocations: 59.54 MB / 0.5161 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.003916/0.1282, allocations: 2.119 MB / 0.5181 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004332/0.1286, allocations: 167.3 kB / 0.5183 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.596e-05/0.1287, allocations: 4 kB / 0.5183 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.575e-05/0.1288, allocations: 19.78 kB / 0.5183 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1289, allocations: 59.48 kB / 0.5184 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.1291, allocations: 39.89 kB / 0.5184 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.1294, allocations: 195.1 kB / 0.5186 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.1296, allocations: 79.91 kB / 0.5187 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.1297, allocations: 67.78 kB / 0.5187 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1299, allocations: 75.7 kB / 0.5188 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.1299, allocations: 19.98 kB / 0.5188 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.603e-05/0.1299, allocations: 19.94 kB / 0.5188 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.13, allocations: 39.91 kB / 0.5189 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1301, allocations: 87.59 kB / 0.519 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.1304, allocations: 187.2 kB / 0.5191 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1304, allocations: 0 / 0.5191 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1304, allocations: 0 / 0.5191 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1304, allocations: 7.938 kB / 0.5191 GB, free: 8.617 MB / 382.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.000748/0.1312, allocations: 462.8 kB / 0.5196 GB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1312, allocations: 12.03 kB / 0.5196 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.1313, allocations: 20.8 kB / 0.5196 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.1314, allocations: 176.2 kB / 0.5198 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.1315, allocations: 24.38 kB / 0.5198 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.1315, allocations: 20.36 kB / 0.5198 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.1318, allocations: 154.1 kB / 0.52 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1319, allocations: 192 / 0.52 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.1319, allocations: 15.94 kB / 0.52 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1319, allocations: 4 kB / 0.52 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.1322, allocations: 107.9 kB / 0.5201 GB, free: 7.547 MB / 382.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.001204/0.1334, allocations: 0.8638 MB / 0.5209 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1336, allocations: 114.5 kB / 0.521 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.1338, allocations: 64.78 kB / 0.5211 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.1338, allocations: 4 kB / 0.5211 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.1338, allocations: 42.55 kB / 0.5212 GB, free: 6.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.1338, allocations: 0 / 0.5212 GB, free: 6.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004296/0.1343, allocations: 157.8 kB / 0.5213 GB, free: 6.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.1343, allocations: 59.39 kB / 0.5214 GB, free: 6.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1344, allocations: 121.8 kB / 0.5215 GB, free: 5.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1344, allocations: 33.64 kB / 0.5215 GB, free: 5.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.1345, allocations: 132.3 kB / 0.5216 GB, free: 5.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.1346, allocations: 63.47 kB / 0.5217 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.1347, allocations: 33.7 kB / 0.5217 GB, free: 5.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1348, allocations: 326.8 kB / 0.522 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.1349, allocations: 39.97 kB / 0.5221 GB, free: 5.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.135, allocations: 72.22 kB / 0.5221 GB, free: 5.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.1357, allocations: 234.2 kB / 0.5224 GB, free: 4.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1357, allocations: 4 kB / 0.5224 GB, free: 4.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002924/0.136, allocations: 163.6 kB / 0.5225 GB, free: 4.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.136, allocations: 4 kB / 0.5225 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.136, allocations: 4 kB / 0.5225 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.136, allocations: 0 / 0.5225 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.1363, allocations: 47.91 kB / 0.5226 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1363, allocations: 4 kB / 0.5226 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.1363, allocations: 19.78 kB / 0.5226 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1364, allocations: 12.12 kB / 0.5226 GB, free: 4.719 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.0002847/0.1366, allocations: 138 kB / 0.5228 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.1367, allocations: 11.94 kB / 0.5228 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.1367, allocations: 12.84 kB / 0.5228 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1367, allocations: 8 kB / 0.5228 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1367, allocations: 0 / 0.5228 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1367, allocations: 7.875 kB / 0.5228 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.137, allocations: 253.5 kB / 0.523 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.137, allocations: 0 / 0.523 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.1372, allocations: 31.98 kB / 0.5231 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1372, allocations: 3.984 kB / 0.5231 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.1373, allocations: 8 kB / 0.5231 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1373, allocations: 4 kB / 0.5231 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1373, allocations: 0 / 0.5231 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.1377, allocations: 285.5 kB / 0.5233 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.1378, allocations: 89.03 kB / 0.5234 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1378, allocations: 3.984 kB / 0.5234 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.171e-05/0.1379, allocations: 11.94 kB / 0.5234 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.138, allocations: 11.92 kB / 0.5235 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.138, allocations: 4 kB / 0.5235 GB, free: 3.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.222e-05/0.138, allocations: 91.27 kB / 0.5236 GB, free: 3.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.138, allocations: 0 / 0.5236 GB, free: 3.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1383, allocations: 51.95 kB / 0.5236 GB, free: 3.625 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.0001135/0.1384, allocations: 103.2 kB / 0.5237 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.1387, allocations: 111.8 kB / 0.5238 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1387, allocations: 0 / 0.5238 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1388, allocations: 47.92 kB / 0.5239 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.1391, allocations: 24.25 kB / 0.5239 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008766/0.14, allocations: 426.9 kB / 0.5243 GB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.1403, allocations: 0.724 MB / 0.525 GB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.1404, allocations: 16.42 kB / 0.525 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.1404, allocations: 15.44 kB / 0.525 GB, free: 2.109 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1404, allocations: 0 / 0.525 GB, free: 2.109 MB / 382.1 MB Notification: Performance of Templates: time 0.004112/0.1445, allocations: 1.149 MB / 0.5261 GB, free: 1 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.844408040866256] Failed to read output from testmodel.py, exit status != 0: 0.152883967384696 0.16663207300000002 0.033221131 Calling exit ...