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.001895/0.001895, allocations: 122.3 kB / 17.13 MB, free: 5.941 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.002422/0.002422, allocations: 213.8 kB / 20.1 MB, free: 2.992 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.466/1.466, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.1048/0.1048, allocations: 24.12 MB / 333.6 MB, free: 1.582 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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.002041/0.002041, allocations: 65.66 kB / 469.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, allocations: 59.58 MB / 0.5169 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.002203/0.1107, allocations: 0.8446 MB / 0.5177 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002879/0.111, allocations: 87.88 kB / 0.5178 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.1111, allocations: 0 / 0.5178 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.1111, allocations: 11.88 kB / 0.5178 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.1113, allocations: 31.78 kB / 0.5179 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.724e-05/0.1114, allocations: 23.91 kB / 0.5179 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.1115, allocations: 99.8 kB / 0.518 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.1117, allocations: 17.34 kB / 0.518 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.1118, allocations: 47.78 kB / 0.518 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.2e-05/0.1118, allocations: 51.75 kB / 0.5181 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.1119, allocations: 12 kB / 0.5181 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.1119, allocations: 12 kB / 0.5181 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.1119, allocations: 27.91 kB / 0.5181 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.112, allocations: 43.7 kB / 0.5182 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1121, allocations: 95.55 kB / 0.5183 GB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1121, allocations: 0 / 0.5183 GB, free: 9.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1121, allocations: 0 / 0.5183 GB, free: 9.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1122, allocations: 0 / 0.5183 GB, free: 9.578 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007706/0.1129, allocations: 435 kB / 0.5187 GB, free: 9.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.113, allocations: 8.625 kB / 0.5187 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.113, allocations: 12.89 kB / 0.5187 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1132, allocations: 212.1 kB / 0.5189 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1132, allocations: 384 / 0.5189 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.1133, allocations: 8.375 kB / 0.5189 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.1135, allocations: 82.22 kB / 0.519 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1135, allocations: 192 / 0.519 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1135, allocations: 11.81 kB / 0.519 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.1135, allocations: 4 kB / 0.519 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.1137, allocations: 31.98 kB / 0.519 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.1143, allocations: 384.6 kB / 0.5194 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.1146, allocations: 66.55 kB / 0.5195 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.1147, allocations: 28.98 kB / 0.5195 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1147, allocations: 0 / 0.5195 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1148, allocations: 30.56 kB / 0.5195 GB, free: 8.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.805e-06/0.1148, allocations: 3.984 kB / 0.5195 GB, free: 8.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003882/0.1152, allocations: 105.6 kB / 0.5196 GB, free: 8.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1152, allocations: 63.33 kB / 0.5197 GB, free: 7.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1154, allocations: 172.4 kB / 0.5199 GB, free: 7.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1154, allocations: 25.7 kB / 0.5199 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.1155, allocations: 108 kB / 0.52 GB, free: 7.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.1155, allocations: 31.73 kB / 0.52 GB, free: 7.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.1156, allocations: 25.72 kB / 0.52 GB, free: 7.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1157, allocations: 322.8 kB / 0.5203 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.737e-05/0.1158, allocations: 27.98 kB / 0.5204 GB, free: 7.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.116, allocations: 51.42 kB / 0.5204 GB, free: 7.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.1162, allocations: 87.3 kB / 0.5205 GB, free: 7.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1162, allocations: 0 / 0.5205 GB, free: 7.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002751/0.1164, allocations: 121.5 kB / 0.5206 GB, free: 6.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1165, allocations: 4 kB / 0.5206 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1165, allocations: 0 / 0.5206 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1165, allocations: 4 kB / 0.5206 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1166, allocations: 23.98 kB / 0.5207 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1166, allocations: 7.875 kB / 0.5207 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1167, allocations: 11.95 kB / 0.5207 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1167, allocations: 8.094 kB / 0.5207 GB, free: 6.859 MB / 382.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.000105/0.1169, allocations: 118.6 kB / 0.5208 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.1169, allocations: 8.203 kB / 0.5208 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.1171, allocations: 102.4 kB / 0.5209 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1172, allocations: 0 / 0.5209 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1172, allocations: 7.938 kB / 0.5209 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1172, allocations: 3.984 kB / 0.5209 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.1174, allocations: 217.5 kB / 0.5211 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1174, allocations: 7.938 kB / 0.5211 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.1176, allocations: 16 kB / 0.5211 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1176, allocations: 0 / 0.5211 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1176, allocations: 0 / 0.5211 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1176, allocations: 7.984 kB / 0.5211 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1176, allocations: 3.938 kB / 0.5211 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.1179, allocations: 211.5 kB / 0.5213 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.118, allocations: 93.09 kB / 0.5214 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.118, allocations: 4 kB / 0.5214 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1182, allocations: 8 kB / 0.5215 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1182, allocations: 7.875 kB / 0.5215 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.1182, allocations: 8.078 kB / 0.5215 GB, free: 5.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1183, allocations: 132.5 kB / 0.5216 GB, free: 5.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1183, allocations: 0 / 0.5216 GB, free: 5.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1186, allocations: 16 kB / 0.5216 GB, free: 5.809 MB / 382.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 0.000119/0.1187, allocations: 99.25 kB / 0.5217 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.1189, allocations: 63.92 kB / 0.5218 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1189, allocations: 0 / 0.5218 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.119, allocations: 31.97 kB / 0.5218 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.1193, allocations: 10.03 kB / 0.5218 GB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.1201, allocations: 311.7 kB / 0.5221 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1205, allocations: 0.7002 MB / 0.5228 GB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.1205, allocations: 11.44 kB / 0.5228 GB, free: 4.516 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1205, allocations: 4 kB / 0.5228 GB, free: 4.512 MB / 382.1 MB Notification: Performance of Templates: time 0.003167/0.1237, allocations: 1.35 MB / 0.5241 GB, free: 3.16 MB / 382.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 -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.27201069999137] Failed to read output from testmodel.py, exit status != 0: 0.13140139100141823 0.14418724600000002 0.029307989000000003 Calling exit ...