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.001729/0.001729, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002323/0.002323, allocations: 218.5 kB / 22.25 MB, free: 5.105 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.809 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.1113/0.1113, allocations: 24.13 MB / 336.6 MB, free: 11.24 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.003389/0.003389, allocations: 71.89 kB / 474.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3583, allocations: 59.59 MB / 0.5216 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01): time 0.003053/0.3614, allocations: 2.05 MB / 0.5236 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008469/0.3622, allocations: 456.5 kB / 0.524 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.3624, allocations: 3.5 kB / 0.524 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.06e-05/0.3624, allocations: 27.94 kB / 0.524 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.3628, allocations: 82.19 kB / 0.5241 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.3631, allocations: 166.1 kB / 0.5243 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.3634, allocations: 311.2 kB / 0.5246 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3636, allocations: 85.69 kB / 0.5247 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3637, allocations: 119.1 kB / 0.5248 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3639, allocations: 134.2 kB / 0.5249 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.3639, allocations: 31.47 kB / 0.5249 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.364, allocations: 50.88 kB / 0.525 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.3641, allocations: 68.7 kB / 0.525 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.207e-05/0.3642, allocations: 111.2 kB / 0.5251 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.3646, allocations: 322.7 kB / 0.5254 GB, free: 8.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3646, allocations: 0 / 0.5254 GB, free: 8.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3646, allocations: 0.9688 kB / 0.5255 GB, free: 8.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.3646, allocations: 0 / 0.5255 GB, free: 8.367 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.001013/0.3656, allocations: 0.5422 MB / 0.526 GB, free: 7.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3656, allocations: 9.516 kB / 0.526 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.3657, allocations: 33.09 kB / 0.526 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.3661, allocations: 252.9 kB / 0.5263 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.3661, allocations: 17.28 kB / 0.5263 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.3662, allocations: 25.61 kB / 0.5263 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.3667, allocations: 305.9 kB / 0.5266 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3667, allocations: 1.719 kB / 0.5266 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.3667, allocations: 13.34 kB / 0.5266 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3667, allocations: 5.188 kB / 0.5266 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.3672, allocations: 176.1 kB / 0.5268 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.3683, allocations: 0.5685 MB / 0.5273 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/0.3688, allocations: 192.6 kB / 0.5275 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.369, allocations: 89.23 kB / 0.5276 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.369, allocations: 3.328 kB / 0.5276 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3691, allocations: 37.8 kB / 0.5276 GB, free: 6.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.914e-06/0.3691, allocations: 4 kB / 0.5276 GB, free: 6.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007863/0.3698, allocations: 288.2 kB / 0.5279 GB, free: 6.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3699, allocations: 108.4 kB / 0.528 GB, free: 6.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.3702, allocations: 258.7 kB / 0.5283 GB, free: 6.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.3702, allocations: 31.08 kB / 0.5283 GB, free: 6.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.3703, allocations: 165.3 kB / 0.5285 GB, free: 6.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.3703, allocations: 72.8 kB / 0.5285 GB, free: 6.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.3704, allocations: 52.77 kB / 0.5286 GB, free: 6.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.3705, allocations: 341.1 kB / 0.5289 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.3707, allocations: 102.5 kB / 0.529 GB, free: 5.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.371, allocations: 214.1 kB / 0.5292 GB, free: 5.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.3715, allocations: 224.4 kB / 0.5294 GB, free: 5.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3715, allocations: 0 / 0.5294 GB, free: 5.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006094/0.3721, allocations: 295 kB / 0.5297 GB, free: 5.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3721, allocations: 5.938 kB / 0.5297 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.3721, allocations: 5.25 kB / 0.5297 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3721, allocations: 3.594 kB / 0.5297 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.3724, allocations: 60 kB / 0.5298 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3724, allocations: 12.12 kB / 0.5298 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.3727, allocations: 29.48 kB / 0.5298 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.3727, allocations: 7 kB / 0.5298 GB, free: 5.441 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.0002699/0.373, allocations: 188.1 kB / 0.53 GB, free: 5.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001779/0.3731, allocations: 179 kB / 0.5302 GB, free: 5.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002778/0.3734, allocations: 191.7 kB / 0.5304 GB, free: 5.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.3734, allocations: 1.219 kB / 0.5304 GB, free: 5.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0004074/0.3738, allocations: 235.9 kB / 0.5306 GB, free: 4.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.3738, allocations: 14.55 kB / 0.5306 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.3738, allocations: 1.219 kB / 0.5306 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.3738, allocations: 7.562 kB / 0.5306 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.3741, allocations: 58.7 kB / 0.5307 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3741, allocations: 4.297 kB / 0.5307 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.3742, allocations: 23.03 kB / 0.5307 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.3743, allocations: 8 kB / 0.5307 GB, free: 4.867 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.0001082/0.3744, allocations: 205.4 kB / 0.5309 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/0.3744, allocations: 23.5 kB / 0.5309 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/0.375, allocations: 240.4 kB / 0.5311 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.375, allocations: 1.969 kB / 0.5311 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.375, allocations: 0.8438 kB / 0.5311 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3751, allocations: 5.422 kB / 0.5311 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.3754, allocations: 225.8 kB / 0.5314 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3754, allocations: 1.031 kB / 0.5314 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.3757, allocations: 45.64 kB / 0.5314 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3757, allocations: 1.062 kB / 0.5314 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3757, allocations: 6.875 kB / 0.5314 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3757, allocations: 8.406 kB / 0.5314 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3757, allocations: 0.5 kB / 0.5314 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.3765, allocations: 427.9 kB / 0.5318 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.3766, allocations: 28.48 kB / 0.5319 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.3766, allocations: 5.438 kB / 0.5319 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3769, allocations: 21.8 kB / 0.5319 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.3769, allocations: 11.78 kB / 0.5319 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.3769, allocations: 13.36 kB / 0.5319 GB, free: 4.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.3771, allocations: 182.9 kB / 0.5321 GB, free: 3.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3771, allocations: 1.094 kB / 0.5321 GB, free: 3.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004865/0.3776, allocations: 95.77 kB / 0.5322 GB, free: 3.941 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.0001609/0.3778, allocations: 120.5 kB / 0.5323 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007919/0.3785, allocations: 297.4 kB / 0.5326 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3785, allocations: 1.125 kB / 0.5326 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.3788, allocations: 94.12 kB / 0.5327 GB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.3792, allocations: 48.98 kB / 0.5327 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.3806, allocations: 0.5704 MB / 0.5333 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.3807, allocations: 150.8 kB / 0.5334 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.3809, allocations: 29.03 kB / 0.5334 GB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.545e-05/0.381, allocations: 21.89 kB / 0.5335 GB, free: 3.262 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.381, allocations: 0 / 0.5335 GB, free: 3.262 MB / 382.1 MB Notification: Performance of Templates: time 0.008615/0.3896, allocations: 3.265 MB / 0.5366 GB, free: 2.871 MB / 382.1 MB " [Timeout remaining time 660] 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.093782400712371] Failed to read output from testmodel.py, exit status != 0: 0.4014650830067694 0.412693525 0.044858478 Calling exit ...