Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_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.001408/0.001408, allocations: 110 kB / 16.46 MB, free: 6.453 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.001529/0.001529, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.522/1.522, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.1015/0.1015, allocations: 24.1 MB / 332.9 MB, free: 12.63 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01") translateModel(AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_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.002067/0.002067, allocations: 71.89 kB / 469.1 MB, free: 7.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4699, allocations: 59.56 MB / 0.5162 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01): time 0.003733/0.4737, allocations: 2.154 MB / 0.5183 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.4747, allocations: 470.1 kB / 0.5188 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.4749, allocations: 8.281 kB / 0.5188 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.956e-05/0.475, allocations: 23.72 kB / 0.5188 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.4754, allocations: 91.78 kB / 0.5189 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.4757, allocations: 157.3 kB / 0.519 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.4761, allocations: 301.4 kB / 0.5193 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.4764, allocations: 93.58 kB / 0.5194 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.4765, allocations: 123 kB / 0.5195 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.4767, allocations: 132 kB / 0.5197 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.7e-05/0.4768, allocations: 33.5 kB / 0.5197 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.4769, allocations: 52.75 kB / 0.5197 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.4769, allocations: 72.72 kB / 0.5198 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.4771, allocations: 135 kB / 0.5199 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.4775, allocations: 315.7 kB / 0.5202 GB, free: 7.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4775, allocations: 1.125 kB / 0.5202 GB, free: 7.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4775, allocations: 0 / 0.5202 GB, free: 7.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.4775, allocations: 0 / 0.5202 GB, free: 7.746 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001118/0.4787, allocations: 0.6215 MB / 0.5209 GB, free: 7.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.4787, allocations: 11.59 kB / 0.5209 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.4788, allocations: 39.94 kB / 0.5209 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.4792, allocations: 302.4 kB / 0.5212 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.4793, allocations: 13.5 kB / 0.5212 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.4793, allocations: 26.14 kB / 0.5212 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.4799, allocations: 260.9 kB / 0.5215 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.4799, allocations: 192 / 0.5215 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.4799, allocations: 13.03 kB / 0.5215 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.4799, allocations: 5.719 kB / 0.5215 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.4804, allocations: 166 kB / 0.5217 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.4817, allocations: 0.7133 MB / 0.5224 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.4822, allocations: 195.9 kB / 0.5225 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.4825, allocations: 90.92 kB / 0.5226 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.4825, allocations: 1.156 kB / 0.5226 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.4825, allocations: 36.2 kB / 0.5227 GB, free: 6.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.4825, allocations: 4 kB / 0.5227 GB, free: 6.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008483/0.4834, allocations: 279.3 kB / 0.5229 GB, free: 6.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.4834, allocations: 109.1 kB / 0.523 GB, free: 5.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.4837, allocations: 257.1 kB / 0.5233 GB, free: 5.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.4837, allocations: 34.77 kB / 0.5233 GB, free: 5.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4838, allocations: 172.7 kB / 0.5235 GB, free: 5.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.4839, allocations: 71.62 kB / 0.5235 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.484, allocations: 47.2 kB / 0.5236 GB, free: 5.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.4841, allocations: 333.5 kB / 0.5239 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.4843, allocations: 109.5 kB / 0.524 GB, free: 5.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.4847, allocations: 151.6 kB / 0.5242 GB, free: 4.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.4852, allocations: 229.3 kB / 0.5244 GB, free: 4.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4852, allocations: 8.641 kB / 0.5244 GB, free: 4.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006756/0.4859, allocations: 287.8 kB / 0.5247 GB, free: 4.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4859, allocations: 8.156 kB / 0.5247 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4859, allocations: 3.156 kB / 0.5247 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.486, allocations: 6.281 kB / 0.5247 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.4863, allocations: 68.25 kB / 0.5247 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.4863, allocations: 3.859 kB / 0.5247 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.4865, allocations: 30.16 kB / 0.5248 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.4865, allocations: 12.2 kB / 0.5248 GB, free: 4.691 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Efloor:VARIABLE(start = 0.0 fixed = true ) type: Real Eair:VARIABLE(start = 0.0 fixed = true ) type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002832/0.4868, allocations: 173.2 kB / 0.525 GB, free: 4.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001832/0.487, allocations: 139.4 kB / 0.5251 GB, free: 4.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002868/0.4873, allocations: 178.1 kB / 0.5253 GB, free: 4.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.4873, allocations: 0 / 0.5253 GB, free: 4.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0004495/0.4877, allocations: 249.5 kB / 0.5255 GB, free: 4.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.4877, allocations: 8.812 kB / 0.5255 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4877, allocations: 11 kB / 0.5255 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.4877, allocations: 2.125 kB / 0.5255 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.488, allocations: 53.02 kB / 0.5256 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.488, allocations: 2.719 kB / 0.5256 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.4882, allocations: 23.52 kB / 0.5256 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.4882, allocations: 10.88 kB / 0.5256 GB, free: 4.184 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Efloor:VARIABLE(start = 0.0 fixed = true ) type: Real Eair:VARIABLE(start = 0.0 fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 28 * 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.0001339/0.4883, allocations: 194.8 kB / 0.5258 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.4884, allocations: 26.95 kB / 0.5258 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.489, allocations: 241.9 kB / 0.526 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.489, allocations: 6.031 kB / 0.526 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.489, allocations: 1.438 kB / 0.526 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.489, allocations: 1.5 kB / 0.526 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.4894, allocations: 337.7 kB / 0.5264 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4894, allocations: 1.906 kB / 0.5264 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.4898, allocations: 48.92 kB / 0.5264 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4898, allocations: 5.281 kB / 0.5264 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.4898, allocations: 7.453 kB / 0.5264 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4898, allocations: 0.7031 kB / 0.5264 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.4898, allocations: 1.406 kB / 0.5264 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008832/0.4907, allocations: 424 kB / 0.5268 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.4907, allocations: 109.7 kB / 0.5269 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.4908, allocations: 10.3 kB / 0.527 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.491, allocations: 21.33 kB / 0.527 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.4911, allocations: 15.03 kB / 0.527 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.4911, allocations: 5.016 kB / 0.527 GB, free: 3.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002323/0.4913, allocations: 187.2 kB / 0.5272 GB, free: 3.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4913, allocations: 0.9375 kB / 0.5272 GB, free: 3.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005247/0.4918, allocations: 96.05 kB / 0.5273 GB, free: 3.078 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (room.Tfloor,room.Tair,room.Twall,PI_heater_floor.FO.y,PI_heater_air.FO.y,Efloor,Eair) * 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 (18): * Single equations (assignments): 18 * 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.0001986/0.492, allocations: 110.4 kB / 0.5274 GB, free: 2.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000861/0.4929, allocations: 296.4 kB / 0.5277 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4929, allocations: 0.75 kB / 0.5277 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.4932, allocations: 98.58 kB / 0.5277 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.4936, allocations: 42.19 kB / 0.5278 GB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.495, allocations: 0.5744 MB / 0.5283 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.4953, allocations: 0.753 MB / 0.5291 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.4954, allocations: 42 kB / 0.5291 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/0.4955, allocations: 20.61 kB / 0.5291 GB, free: 1.773 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4955, allocations: 0 / 0.5291 GB, free: 1.773 MB / 382.1 MB Notification: Performance of Templates: time 0.009239/0.5048, allocations: 2.946 MB / 0.532 GB, free: 1.535 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01.sim & ./AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.371234603924677] Failed to read output from testmodel.py, exit status != 0: 0.5139228869229555 0.527800445 0.047168802 Calling exit ...