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.00207/0.00207, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002718/0.002718, allocations: 212.4 kB / 22.25 MB, free: 5.121 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.59/1.59, allocations: 230.6 MB / 256 MB, free: 8.023 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.1248/0.1248, allocations: 24.12 MB / 336.5 MB, free: 11.45 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.002969/0.002969, allocations: 67.91 kB / 474.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4781, allocations: 59.59 MB / 0.5217 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01): time 0.003506/0.4816, allocations: 2.171 MB / 0.5238 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.4826, allocations: 470.8 kB / 0.5242 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.4827, allocations: 11.38 kB / 0.5242 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.477e-05/0.4828, allocations: 22.64 kB / 0.5243 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004244/0.4832, allocations: 92.41 kB / 0.5244 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.4836, allocations: 154.4 kB / 0.5245 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.484, allocations: 307.5 kB / 0.5248 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.4842, allocations: 88.59 kB / 0.5249 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.4844, allocations: 119.2 kB / 0.525 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.4846, allocations: 134.9 kB / 0.5251 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.4846, allocations: 31.41 kB / 0.5251 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.4847, allocations: 51.02 kB / 0.5252 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.818e-05/0.4848, allocations: 72.73 kB / 0.5253 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.4849, allocations: 130.5 kB / 0.5254 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.4854, allocations: 320.2 kB / 0.5257 GB, free: 8.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4854, allocations: 0 / 0.5257 GB, free: 8.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4854, allocations: 5.156 kB / 0.5257 GB, free: 8.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.4854, allocations: 0 / 0.5257 GB, free: 8.281 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.001097/0.4865, allocations: 0.5427 MB / 0.5262 GB, free: 7.871 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4865, allocations: 9.547 kB / 0.5262 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.103e-05/0.4866, allocations: 36.97 kB / 0.5263 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.4871, allocations: 242.2 kB / 0.5265 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.4871, allocations: 17.23 kB / 0.5265 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.4871, allocations: 30.34 kB / 0.5266 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.4877, allocations: 258.9 kB / 0.5268 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.4877, allocations: 192 / 0.5268 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.4877, allocations: 13.66 kB / 0.5268 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4877, allocations: 5.656 kB / 0.5268 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.4882, allocations: 169.9 kB / 0.527 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.4894, allocations: 0.6716 MB / 0.5276 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.4899, allocations: 195.3 kB / 0.5278 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.4901, allocations: 89.92 kB / 0.5279 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.4902, allocations: 2.953 kB / 0.5279 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.4902, allocations: 36.92 kB / 0.5279 GB, free: 6.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.4902, allocations: 0 / 0.5279 GB, free: 6.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008188/0.491, allocations: 288.2 kB / 0.5282 GB, free: 6.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.4911, allocations: 109.6 kB / 0.5283 GB, free: 6.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.4914, allocations: 260.9 kB / 0.5286 GB, free: 6.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.4914, allocations: 26.67 kB / 0.5286 GB, free: 6.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4915, allocations: 172.5 kB / 0.5288 GB, free: 6.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.4916, allocations: 70.59 kB / 0.5288 GB, free: 6.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/0.4916, allocations: 48.41 kB / 0.5289 GB, free: 6.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.83e-05/0.4917, allocations: 340.5 kB / 0.5292 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.492, allocations: 102 kB / 0.5293 GB, free: 5.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.4922, allocations: 157.3 kB / 0.5294 GB, free: 5.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.4927, allocations: 226.4 kB / 0.5297 GB, free: 5.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4927, allocations: 3.938 kB / 0.5297 GB, free: 5.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006228/0.4933, allocations: 293.3 kB / 0.5299 GB, free: 5.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4934, allocations: 6.219 kB / 0.53 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4934, allocations: 2.734 kB / 0.53 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.4934, allocations: 5.781 kB / 0.53 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.4937, allocations: 61.25 kB / 0.53 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.4937, allocations: 7.938 kB / 0.53 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.4939, allocations: 28.81 kB / 0.5301 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.4939, allocations: 11.81 kB / 0.5301 GB, free: 5.418 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.0002964/0.4942, allocations: 180 kB / 0.5302 GB, free: 5.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002012/0.4944, allocations: 133.8 kB / 0.5304 GB, free: 5.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003224/0.4948, allocations: 181.8 kB / 0.5305 GB, free: 5.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.4948, allocations: 0 / 0.5305 GB, free: 5.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0004968/0.4953, allocations: 250.7 kB / 0.5308 GB, free: 4.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4953, allocations: 6.609 kB / 0.5308 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4953, allocations: 5.188 kB / 0.5308 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.4953, allocations: 2.469 kB / 0.5308 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.4955, allocations: 60.02 kB / 0.5308 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4955, allocations: 3.328 kB / 0.5309 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.4957, allocations: 27.89 kB / 0.5309 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.4957, allocations: 7.531 kB / 0.5309 GB, free: 4.906 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.0001307/0.4959, allocations: 197.8 kB / 0.5311 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.4959, allocations: 27.11 kB / 0.5311 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006079/0.4965, allocations: 242.8 kB / 0.5313 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.4965, allocations: 2.219 kB / 0.5313 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4965, allocations: 1.031 kB / 0.5313 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4966, allocations: 1.797 kB / 0.5313 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.497, allocations: 306 kB / 0.5316 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.497, allocations: 0 / 0.5316 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.4973, allocations: 55.25 kB / 0.5317 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.4973, allocations: 12.84 kB / 0.5317 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.4974, allocations: 7.125 kB / 0.5317 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4974, allocations: 0.875 kB / 0.5317 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4974, allocations: 0 / 0.5317 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000863/0.4982, allocations: 422 kB / 0.5321 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.4983, allocations: 36.91 kB / 0.5321 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.4983, allocations: 6.766 kB / 0.5321 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.4985, allocations: 17.14 kB / 0.5322 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.4986, allocations: 16.39 kB / 0.5322 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.4986, allocations: 4.328 kB / 0.5322 GB, free: 4.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002301/0.4989, allocations: 187.5 kB / 0.5324 GB, free: 3.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4989, allocations: 4 kB / 0.5324 GB, free: 3.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.4993, allocations: 94.34 kB / 0.5325 GB, free: 3.918 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.000143/0.4995, allocations: 118.6 kB / 0.5326 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000745/0.5002, allocations: 294.9 kB / 0.5328 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5002, allocations: 1.188 kB / 0.5328 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.5005, allocations: 94.2 kB / 0.5329 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.5009, allocations: 44.95 kB / 0.533 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.5022, allocations: 0.5715 MB / 0.5335 GB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.5024, allocations: 0.7566 MB / 0.5343 GB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.5026, allocations: 37.48 kB / 0.5343 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/0.5027, allocations: 21.31 kB / 0.5343 GB, free: 2.617 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5027, allocations: 0 / 0.5343 GB, free: 2.617 MB / 382.1 MB Notification: Performance of Templates: time 0.008467/0.5112, allocations: 3.038 MB / 0.5373 GB, free: 2.379 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.513341095065698] Failed to read output from testmodel.py, exit status != 0: 0.5223154909908772 0.5357100810000001 0.046910468000000004 Calling exit ...