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.001895/0.001895, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002679/0.002679, allocations: 218.8 kB / 23.01 MB, free: 4.605 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.632/1.632, allocations: 230.6 MB / 256.8 MB, free: 8 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.1088/0.1088, allocations: 24.11 MB / 337.3 MB, free: 11.42 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.002176/0.002176, allocations: 63.91 kB / 475.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2988, allocations: 59.6 MB / 0.5224 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01): time 0.002898/0.3017, allocations: 2.157 MB / 0.5245 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007975/0.3025, allocations: 474.4 kB / 0.525 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3026, allocations: 11.31 kB / 0.525 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.169e-05/0.3027, allocations: 24.19 kB / 0.525 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.303, allocations: 90.55 kB / 0.5251 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.3032, allocations: 164.7 kB / 0.5253 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.3035, allocations: 303.4 kB / 0.5255 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.3037, allocations: 89.81 kB / 0.5256 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3038, allocations: 119 kB / 0.5257 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.304, allocations: 139.1 kB / 0.5259 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.304, allocations: 30.59 kB / 0.5259 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.3041, allocations: 47.09 kB / 0.5259 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.3042, allocations: 73.19 kB / 0.526 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.958e-05/0.3043, allocations: 129.1 kB / 0.5261 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.3046, allocations: 320.8 kB / 0.5264 GB, free: 8.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3046, allocations: 0 / 0.5264 GB, free: 8.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3046, allocations: 4 kB / 0.5265 GB, free: 8.234 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3046, allocations: 1.125 kB / 0.5265 GB, free: 8.234 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.0009523/0.3056, allocations: 0.5503 MB / 0.527 GB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.3056, allocations: 10.61 kB / 0.527 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.3057, allocations: 32.67 kB / 0.527 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.306, allocations: 238 kB / 0.5273 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3061, allocations: 17.59 kB / 0.5273 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.3061, allocations: 25.89 kB / 0.5273 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.3066, allocations: 257.6 kB / 0.5275 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.3066, allocations: 3.797 kB / 0.5275 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.3066, allocations: 14.16 kB / 0.5276 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3066, allocations: 5.5 kB / 0.5276 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.307, allocations: 168.9 kB / 0.5277 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.3081, allocations: 0.6693 MB / 0.5284 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.3086, allocations: 195.4 kB / 0.5286 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.3088, allocations: 92.86 kB / 0.5287 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.3088, allocations: 6.422 kB / 0.5287 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.3089, allocations: 33.36 kB / 0.5287 GB, free: 6.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.3089, allocations: 0 / 0.5287 GB, free: 6.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007272/0.3096, allocations: 286.7 kB / 0.529 GB, free: 6.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3096, allocations: 104.8 kB / 0.5291 GB, free: 6.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.3099, allocations: 261.7 kB / 0.5293 GB, free: 6.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3099, allocations: 31.27 kB / 0.5293 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.31, allocations: 171.3 kB / 0.5295 GB, free: 6.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.31, allocations: 69.5 kB / 0.5296 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/0.3101, allocations: 46.19 kB / 0.5296 GB, free: 6.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.3102, allocations: 344.2 kB / 0.5299 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.3104, allocations: 113.6 kB / 0.5301 GB, free: 5.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.3107, allocations: 153.8 kB / 0.5302 GB, free: 5.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.3111, allocations: 228 kB / 0.5304 GB, free: 5.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3111, allocations: 1.188 kB / 0.5304 GB, free: 5.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005664/0.3117, allocations: 290.8 kB / 0.5307 GB, free: 5.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3117, allocations: 6.469 kB / 0.5307 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3117, allocations: 2.031 kB / 0.5307 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3117, allocations: 7.188 kB / 0.5307 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.312, allocations: 60.94 kB / 0.5308 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.312, allocations: 3.078 kB / 0.5308 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3122, allocations: 30.27 kB / 0.5308 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.3122, allocations: 10.56 kB / 0.5308 GB, free: 5.375 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.0002621/0.3125, allocations: 187.4 kB / 0.531 GB, free: 5.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001707/0.3126, allocations: 137.8 kB / 0.5311 GB, free: 5.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002719/0.3129, allocations: 177 kB / 0.5313 GB, free: 5.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.532e-06/0.3129, allocations: 1.562 kB / 0.5313 GB, free: 5.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0003984/0.3133, allocations: 249.4 kB / 0.5315 GB, free: 4.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.3133, allocations: 6.547 kB / 0.5315 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3133, allocations: 6.188 kB / 0.5315 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.868e-06/0.3133, allocations: 2.094 kB / 0.5315 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.3135, allocations: 56.61 kB / 0.5316 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3136, allocations: 2.859 kB / 0.5316 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.3137, allocations: 27.98 kB / 0.5316 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.3138, allocations: 7.125 kB / 0.5316 GB, free: 4.863 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 9.354e-05/0.3138, allocations: 194.1 kB / 0.5318 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.3139, allocations: 26.23 kB / 0.5318 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005527/0.3145, allocations: 244 kB / 0.5321 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3145, allocations: 1.219 kB / 0.5321 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3145, allocations: 2.203 kB / 0.5321 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3145, allocations: 0.9375 kB / 0.5321 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.3148, allocations: 311 kB / 0.5324 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3148, allocations: 0 / 0.5324 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.3151, allocations: 49.33 kB / 0.5324 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3151, allocations: 9.797 kB / 0.5324 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.3151, allocations: 10.5 kB / 0.5324 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3151, allocations: 5.125 kB / 0.5325 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3151, allocations: 0 / 0.5325 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/0.3159, allocations: 422.7 kB / 0.5329 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.316, allocations: 28.67 kB / 0.5329 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.316, allocations: 10.3 kB / 0.5329 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.3162, allocations: 21.81 kB / 0.5329 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.3163, allocations: 11.83 kB / 0.5329 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3163, allocations: 4.812 kB / 0.5329 GB, free: 4.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.3165, allocations: 187.8 kB / 0.5331 GB, free: 3.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3165, allocations: 4 kB / 0.5331 GB, free: 3.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004672/0.317, allocations: 96.5 kB / 0.5332 GB, free: 3.875 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.0001311/0.3171, allocations: 113.2 kB / 0.5333 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006804/0.3178, allocations: 298.5 kB / 0.5336 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3178, allocations: 0 / 0.5336 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.318, allocations: 95.62 kB / 0.5337 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.3184, allocations: 50.11 kB / 0.5337 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.3195, allocations: 0.6016 MB / 0.5343 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.3196, allocations: 0.7547 MB / 0.5351 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.03e-05/0.3197, allocations: 22.25 kB / 0.5351 GB, free: 2.559 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3197, allocations: 0 / 0.5351 GB, free: 2.559 MB / 382.1 MB Notification: Performance of Templates: time 0.005809/0.3255, allocations: 3.205 MB / 0.5382 GB, free: 2.242 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: 7.425037958892062] Failed to read output from testmodel.py, exit status != 0: 0.3346453148405999 0.34776209799999996 0.040127545 Calling exit ...