Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.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.001874/0.001874, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002243/0.002243, allocations: 155.4 kB / 23.01 MB, free: 4.949 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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.1044/0.1044, allocations: 17.8 MB / 277.6 MB, free: 15.35 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL") translateModel(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL") [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.002658/0.002658, allocations: 67.89 kB / 415.4 MB, free: 3.719 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1208, allocations: 59.56 MB / 475 MB, free: 8.047 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.002509/0.1234, allocations: 0.8189 MB / 475.8 MB, free: 7.227 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.1236, allocations: 79.95 kB / 475.9 MB, free: 7.148 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.1237, allocations: 0 / 475.9 MB, free: 7.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.976e-05/0.1237, allocations: 11.88 kB / 475.9 MB, free: 7.137 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1239, allocations: 31.78 kB / 475.9 MB, free: 7.105 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.91e-05/0.124, allocations: 15.97 kB / 476 MB, free: 7.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1241, allocations: 99.75 kB / 476.1 MB, free: 6.992 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1242, allocations: 29.56 kB / 476.1 MB, free: 6.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1244, allocations: 39.78 kB / 476.1 MB, free: 6.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1245, allocations: 55.75 kB / 476.2 MB, free: 6.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.1245, allocations: 8 kB / 476.2 MB, free: 6.855 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.073e-05/0.1245, allocations: 12 kB / 476.2 MB, free: 6.844 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.1246, allocations: 19.92 kB / 476.2 MB, free: 6.824 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.1246, allocations: 35.78 kB / 476.3 MB, free: 6.789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.1248, allocations: 95.53 kB / 476.3 MB, free: 6.695 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1248, allocations: 0 / 476.3 MB, free: 6.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1248, allocations: 0 / 476.3 MB, free: 6.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1248, allocations: 0 / 476.3 MB, free: 6.695 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.0008033/0.1256, allocations: 361.8 kB / 476.7 MB, free: 6.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1256, allocations: 8.922 kB / 476.7 MB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.1257, allocations: 12.84 kB / 476.7 MB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.1259, allocations: 155.7 kB / 476.9 MB, free: 6.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.1259, allocations: 8.375 kB / 476.9 MB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1259, allocations: 4.375 kB / 476.9 MB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.1261, allocations: 78.22 kB / 477 MB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1261, allocations: 4.188 kB / 477 MB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.1261, allocations: 7.938 kB / 477 MB, free: 6.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1261, allocations: 0 / 477 MB, free: 6.008 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.1263, allocations: 39.97 kB / 477 MB, free: 5.969 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006736/0.127, allocations: 300.3 kB / 477.3 MB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.1273, allocations: 66.55 kB / 477.4 MB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1274, allocations: 33.03 kB / 477.4 MB, free: 5.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1274, allocations: 0 / 477.4 MB, free: 5.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1274, allocations: 38.56 kB / 477.4 MB, free: 5.488 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.1274, allocations: 0 / 477.4 MB, free: 5.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.000404/0.1278, allocations: 109.8 kB / 477.5 MB, free: 5.375 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1279, allocations: 51.41 kB / 477.6 MB, free: 5.312 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1281, allocations: 173 kB / 477.8 MB, free: 5.133 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1281, allocations: 29.7 kB / 477.8 MB, free: 5.098 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.1282, allocations: 112 kB / 477.9 MB, free: 4.984 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.1282, allocations: 23.78 kB / 477.9 MB, free: 4.961 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.1283, allocations: 37.64 kB / 478 MB, free: 4.918 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1284, allocations: 326.8 kB / 478.3 MB, free: 4.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1285, allocations: 20 kB / 478.3 MB, free: 4.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1287, allocations: 63.34 kB / 478.4 MB, free: 4.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.1289, allocations: 79.38 kB / 478.4 MB, free: 4.406 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1289, allocations: 0 / 478.4 MB, free: 4.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003032/0.1292, allocations: 121.5 kB / 478.6 MB, free: 4.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1292, allocations: 4 kB / 478.6 MB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1292, allocations: 0 / 478.6 MB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1292, allocations: 4 kB / 478.6 MB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.1294, allocations: 27.92 kB / 478.6 MB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1294, allocations: 0 / 478.6 MB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1295, allocations: 19.83 kB / 478.6 MB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.1295, allocations: 7.984 kB / 478.6 MB, free: 4.219 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 0.0001277/0.1296, allocations: 117.8 kB / 478.7 MB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.1297, allocations: 7.953 kB / 478.7 MB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.1299, allocations: 110.4 kB / 478.9 MB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1299, allocations: 0 / 478.9 MB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1299, allocations: 0 / 478.9 MB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.13, allocations: 7.938 kB / 478.9 MB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.1302, allocations: 133.2 kB / 479 MB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1302, allocations: 4 kB / 479 MB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.1305, allocations: 19.98 kB / 479 MB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1305, allocations: 0 / 479 MB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1305, allocations: 0 / 479 MB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.1305, allocations: 4 kB / 479 MB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1305, allocations: 4.094 kB / 479 MB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.131, allocations: 227.3 kB / 479.2 MB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.131, allocations: 11.98 kB / 479.3 MB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.131, allocations: 8 kB / 479.3 MB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.1311, allocations: 0 / 479.3 MB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1312, allocations: 3.984 kB / 479.3 MB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.1312, allocations: 4 kB / 479.3 MB, free: 3.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1313, allocations: 138 kB / 479.4 MB, free: 3.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1313, allocations: 3.938 kB / 479.4 MB, free: 3.371 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1316, allocations: 19.95 kB / 479.4 MB, free: 3.352 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 (7): * Single equations (assignments): 7 * 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.627e-05/0.1317, allocations: 103.2 kB / 479.5 MB, free: 3.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003059/0.132, allocations: 68.05 kB / 479.6 MB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.132, allocations: 0 / 479.6 MB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.309e-05/0.1321, allocations: 27.94 kB / 479.6 MB, free: 3.148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.1323, allocations: 8 kB / 479.6 MB, free: 3.141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008816/0.1332, allocations: 275.7 kB / 479.9 MB, free: 2.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.1333, allocations: 84.31 kB / 480 MB, free: 2.734 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.973e-05/0.1334, allocations: 12.48 kB / 480 MB, free: 2.723 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.1334, allocations: 16.5 kB / 480 MB, free: 2.707 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1334, allocations: 0 / 480 MB, free: 2.707 MB / 446.1 MB Notification: Performance of Templates: time 0.00424/0.1377, allocations: 1.077 MB / 481.1 MB, free: 1.641 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.sim & ./AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL -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.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.439774733968079] Failed to read output from testmodel.py, exit status != 0: 0.14730384992435575 0.329911022 0.20259871100000001 Calling exit ...