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.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.001421/0.001421, allocations: 110.1 kB / 17.15 MB, free: 6.02 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.001547/0.001547, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1067/0.1067, allocations: 24.04 MB / 333.6 MB, free: 1.555 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01") [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.002417/0.002417, allocations: 75.36 kB / 468.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1173, allocations: 59.55 MB / 0.5161 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01): time 0.004973/0.1223, allocations: 2.996 MB / 0.519 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1246, allocations: 1.059 MB / 0.52 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004306/0.125, allocations: 11.88 kB / 0.52 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006038/0.1256, allocations: 130.9 kB / 0.5202 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008255/0.1264, allocations: 190.8 kB / 0.5203 GB, free: 7.363 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.1271, allocations: 267.6 kB / 0.5206 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.1279, allocations: 0.6093 MB / 0.5212 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.1282, allocations: 158.8 kB / 0.5213 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.1285, allocations: 239.1 kB / 0.5216 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.1288, allocations: 274.6 kB / 0.5218 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.1289, allocations: 48 kB / 0.5219 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.1291, allocations: 75.97 kB / 0.522 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.1293, allocations: 147.4 kB / 0.5221 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.1295, allocations: 246.7 kB / 0.5223 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006954/0.1302, allocations: 0.5367 MB / 0.5229 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1302, allocations: 7.938 kB / 0.5229 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1302, allocations: 4 kB / 0.5229 GB, free: 4.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1302, allocations: 0 / 0.5229 GB, free: 4.754 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001948/0.1322, allocations: 0.8725 MB / 0.5237 GB, free: 3.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1322, allocations: 8.031 kB / 0.5237 GB, free: 3.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.1323, allocations: 60.56 kB / 0.5238 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008711/0.1332, allocations: 455.8 kB / 0.5242 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.1332, allocations: 29.38 kB / 0.5242 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.924e-05/0.1333, allocations: 48.38 kB / 0.5243 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/0.1341, allocations: 417 kB / 0.5247 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.1341, allocations: 7.891 kB / 0.5247 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.922e-05/0.1342, allocations: 16 kB / 0.5247 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1342, allocations: 8 kB / 0.5247 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006998/0.1349, allocations: 295.8 kB / 0.525 GB, free: 2.461 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.002487/0.1374, allocations: 1.709 MB / 0.5267 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.1379, allocations: 259.3 kB / 0.5269 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.1382, allocations: 149.5 kB / 0.5271 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.1382, allocations: 4.328 kB / 0.5271 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.1383, allocations: 34.89 kB / 0.5271 GB, free: 160 kB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.1383, allocations: 0 / 0.5271 GB, free: 160 kB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001001/0.1393, allocations: 415.7 kB / 0.5275 GB, free: 15.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1393, allocations: 59.39 kB / 0.5276 GB, free: 15.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000773/0.1401, allocations: 481.4 kB / 0.528 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.1402, allocations: 33.7 kB / 0.528 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.1404, allocations: 248.6 kB / 0.5283 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.1405, allocations: 162.7 kB / 0.5284 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.1407, allocations: 118.3 kB / 0.5286 GB, free: 14.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1409, allocations: 350.8 kB / 0.5289 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.1413, allocations: 169.2 kB / 0.529 GB, free: 14.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.1419, allocations: 297.6 kB / 0.5293 GB, free: 13.78 MB / 398.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.00294/0.1448, allocations: 1.053 MB / 0.5304 GB, free: 12.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1448, allocations: 3.938 kB / 0.5304 GB, free: 12.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001297/0.1461, allocations: 0.5648 MB / 0.5309 GB, free: 12.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.1461, allocations: 8 kB / 0.5309 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1462, allocations: 4 kB / 0.5309 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.1462, allocations: 8 kB / 0.5309 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.1468, allocations: 144.2 kB / 0.5311 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.1468, allocations: 15.94 kB / 0.5311 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.1474, allocations: 83.56 kB / 0.5312 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.1474, allocations: 20 kB / 0.5312 GB, free: 11.79 MB / 398.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 Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: D.Fcs2.y = D.Fcs2.y_start D.Fcs1.y = D.Fcs1.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (C2.LOsat,C2.HIsat,C1.LOsat,C1.HIsat,C2.iNoDec,C2.iNoInc,C2.iTS,C1.iNoDec,C1.iNoInc,C1.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000336/0.1477, allocations: 204.9 kB / 0.5314 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-05/0.1478, allocations: 47.7 kB / 0.5314 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007781/0.1486, allocations: 366.1 kB / 0.5318 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-06/0.1486, allocations: 4 kB / 0.5318 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.1486, allocations: 0 / 0.5318 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.1486, allocations: 7.984 kB / 0.5318 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006896/0.1493, allocations: 477 kB / 0.5322 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1493, allocations: 0 / 0.5322 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.1499, allocations: 99.83 kB / 0.5323 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.1499, allocations: 4 kB / 0.5323 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.1499, allocations: 4 kB / 0.5323 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1499, allocations: 8 kB / 0.5324 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1499, allocations: 3.938 kB / 0.5324 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009849/0.1509, allocations: 0.5681 MB / 0.5329 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.151, allocations: 132.7 kB / 0.533 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.338e-05/0.1511, allocations: 8 kB / 0.533 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.1514, allocations: 31.97 kB / 0.5331 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.1515, allocations: 27.95 kB / 0.5331 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.1515, allocations: 8.094 kB / 0.5331 GB, free: 9.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006107/0.1522, allocations: 343 kB / 0.5334 GB, free: 9.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1522, allocations: 0 / 0.5334 GB, free: 9.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004944/0.1526, allocations: 115.8 kB / 0.5335 GB, free: 9.266 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (Cz1.T,Cz2.T,C1.xfb,C1.xBias,C1.u,C1.csfil,C2.xfb,C2.xBias,C2.u,C2.csfil) * Number of discrete variables: 4 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0002132/0.1529, allocations: 123.1 kB / 0.5337 GB, free: 9.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008702/0.1537, allocations: 370.9 kB / 0.534 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1537, allocations: 1 kB / 0.534 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.154, allocations: 155.8 kB / 0.5342 GB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.1545, allocations: 67.17 kB / 0.5342 GB, free: 8.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.1561, allocations: 1.025 MB / 0.5352 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.1566, allocations: 0.8587 MB / 0.5361 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001931/0.1568, allocations: 55.45 kB / 0.5361 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1569, allocations: 43.42 kB / 0.5362 GB, free: 6.516 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1569, allocations: 0 / 0.5362 GB, free: 6.516 MB / 398.1 MB Notification: Performance of Templates: time 0.009701/0.1666, allocations: 4.065 MB / 0.5401 GB, free: 2.465 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9925693068653345] Failed to read output from testmodel.py, exit status != 0: 0.17549831420183182 0.190519616 0.057163648000000004 Calling exit ...