Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.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.001843/0.001843, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.002242/0.002242, allocations: 160.8 kB / 23.01 MB, free: 4.945 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.926 MB / 190.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.1047/0.1047, allocations: 17.8 MB / 277.6 MB, free: 15.33 MB / 270.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_case_studies.HVAC_floor.OL_steps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps") translateModel(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps") [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.003246/0.003246, allocations: 75.88 kB / 415.5 MB, free: 3.672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1283, allocations: 59.55 MB / 475 MB, free: 8.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.002093/0.1304, allocations: 0.8218 MB / 475.8 MB, free: 7.184 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002322/0.1306, allocations: 75.97 kB / 475.9 MB, free: 7.109 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.1306, allocations: 0 / 475.9 MB, free: 7.109 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.1307, allocations: 11.81 kB / 475.9 MB, free: 7.098 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.1308, allocations: 31.78 kB / 475.9 MB, free: 7.066 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.1e-05/0.1309, allocations: 15.97 kB / 476 MB, free: 7.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.131, allocations: 103.7 kB / 476.1 MB, free: 6.949 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1311, allocations: 17.58 kB / 476.1 MB, free: 6.926 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.1312, allocations: 39.8 kB / 476.1 MB, free: 6.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.1313, allocations: 47.81 kB / 476.2 MB, free: 6.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1313, allocations: 12 kB / 476.2 MB, free: 6.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.951e-05/0.1313, allocations: 8 kB / 476.2 MB, free: 6.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.1314, allocations: 27.91 kB / 476.2 MB, free: 6.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.1314, allocations: 39.77 kB / 476.3 MB, free: 6.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1316, allocations: 87.56 kB / 476.3 MB, free: 6.668 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1316, allocations: 0 / 476.3 MB, free: 6.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1316, allocations: 0 / 476.3 MB, free: 6.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1316, allocations: 0 / 476.3 MB, free: 6.668 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007187/0.1323, allocations: 365.8 kB / 476.7 MB, free: 6.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1323, allocations: 8.922 kB / 476.7 MB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.1324, allocations: 12.84 kB / 476.7 MB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1326, allocations: 154.3 kB / 476.9 MB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1326, allocations: 4.375 kB / 476.9 MB, free: 6.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1326, allocations: 12.31 kB / 476.9 MB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.1328, allocations: 86.22 kB / 477 MB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1328, allocations: 192 / 477 MB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1328, allocations: 3.938 kB / 477 MB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1328, allocations: 0 / 477 MB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.133, allocations: 43.97 kB / 477 MB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.1337, allocations: 324.3 kB / 477.3 MB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1338, allocations: 46.56 kB / 477.4 MB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.1339, allocations: 24.97 kB / 477.4 MB, free: 5.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.1339, allocations: 4 kB / 477.4 MB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1339, allocations: 30.56 kB / 477.4 MB, free: 5.457 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.1339, allocations: 0 / 477.4 MB, free: 5.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003154/0.1342, allocations: 97.75 kB / 477.5 MB, free: 5.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1343, allocations: 55.34 kB / 477.6 MB, free: 5.285 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.1345, allocations: 184.9 kB / 477.8 MB, free: 5.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1345, allocations: 29.7 kB / 477.8 MB, free: 5.062 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.1346, allocations: 112 kB / 477.9 MB, free: 4.949 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1346, allocations: 23.84 kB / 477.9 MB, free: 4.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.1346, allocations: 21.72 kB / 477.9 MB, free: 4.898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1348, allocations: 330.8 kB / 478.3 MB, free: 4.566 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.1349, allocations: 19.98 kB / 478.3 MB, free: 4.547 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.135, allocations: 60.34 kB / 478.3 MB, free: 4.473 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.1351, allocations: 88.22 kB / 478.4 MB, free: 4.371 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1351, allocations: 3.938 kB / 478.4 MB, free: 4.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002402/0.1354, allocations: 121.5 kB / 478.6 MB, free: 4.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1354, allocations: 8 kB / 478.6 MB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1354, allocations: 0 / 478.6 MB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1354, allocations: 0 / 478.6 MB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.1356, allocations: 27.98 kB / 478.6 MB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1356, allocations: 8.062 kB / 478.6 MB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.472e-05/0.1357, allocations: 11.94 kB / 478.6 MB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1357, allocations: 4 kB / 478.6 MB, free: 4.184 MB / 446.1 MB 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 (12): * Single equations (assignments): 12 * 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 9.924e-05/0.1358, allocations: 117.8 kB / 478.7 MB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.1358, allocations: 11.91 kB / 478.7 MB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.1358, allocations: 20.45 kB / 478.8 MB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1359, allocations: 0 / 478.8 MB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1359, allocations: 0 / 478.8 MB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.1359, allocations: 0 / 478.8 MB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.136, allocations: 141.2 kB / 478.9 MB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.136, allocations: 4 kB / 478.9 MB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1362, allocations: 19.98 kB / 478.9 MB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1362, allocations: 0 / 478.9 MB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.1362, allocations: 0 / 478.9 MB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1362, allocations: 80 / 478.9 MB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1362, allocations: 7.922 kB / 478.9 MB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.1365, allocations: 203.4 kB / 479.1 MB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.1366, allocations: 11.95 kB / 479.1 MB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1366, allocations: 0 / 479.1 MB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.1367, allocations: 8.031 kB / 479.1 MB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1367, allocations: 4 kB / 479.2 MB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1367, allocations: 64 / 479.2 MB, free: 3.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1368, allocations: 131.2 kB / 479.3 MB, free: 3.461 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1368, allocations: 0 / 479.3 MB, free: 3.461 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1371, allocations: 23.95 kB / 479.3 MB, free: 3.438 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (room.Tfloor,room.Tair,room.Twall) * 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 (5): * Single equations (assignments): 5 * 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.873e-05/0.1372, allocations: 103.2 kB / 479.4 MB, free: 3.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1374, allocations: 63.8 kB / 479.5 MB, free: 3.266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1374, allocations: 8.25 kB / 479.5 MB, free: 3.258 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.815e-05/0.1375, allocations: 23.92 kB / 479.5 MB, free: 3.234 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.1377, allocations: 19.88 kB / 479.5 MB, free: 3.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.1384, allocations: 247.6 kB / 479.8 MB, free: 2.941 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.356e-05/0.1385, allocations: 88.31 kB / 479.8 MB, free: 2.832 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.569e-05/0.1385, allocations: 8.719 kB / 479.9 MB, free: 2.824 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.1386, allocations: 16.5 kB / 479.9 MB, free: 2.809 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1386, allocations: 0 / 479.9 MB, free: 2.809 MB / 446.1 MB Notification: Performance of Templates: time 0.003542/0.1421, allocations: 0.9607 MB / 480.8 MB, free: 1.855 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.sim & ./AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.253435653052293] Failed to read output from testmodel.py, exit status != 0: 0.15266160597093403 0.31268485900000004 0.178634272 Calling exit ...