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.001804/0.001804, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002392/0.002392, allocations: 210.1 kB / 22.99 MB, free: 4.984 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1091/0.1091, allocations: 24.12 MB / 337.3 MB, free: 11.26 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.002235/0.002235, allocations: 59.91 kB / 475.2 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3028, allocations: 59.61 MB / 0.5223 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01): time 0.002837/0.3057, allocations: 2.039 MB / 0.5243 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.3065, allocations: 460.1 kB / 0.5247 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.3067, allocations: 3.469 kB / 0.5247 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.811e-05/0.3067, allocations: 28.41 kB / 0.5248 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.3071, allocations: 82.39 kB / 0.5249 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.3074, allocations: 169.9 kB / 0.525 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.3077, allocations: 312.3 kB / 0.5253 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.3079, allocations: 85.36 kB / 0.5254 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.308, allocations: 118.5 kB / 0.5255 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.3082, allocations: 135.2 kB / 0.5256 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.3082, allocations: 30.19 kB / 0.5257 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3083, allocations: 55.69 kB / 0.5257 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.3084, allocations: 65.3 kB / 0.5258 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.009e-05/0.3085, allocations: 106.4 kB / 0.5259 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.3089, allocations: 328.4 kB / 0.5262 GB, free: 8.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3089, allocations: 0 / 0.5262 GB, free: 8.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3089, allocations: 0 / 0.5262 GB, free: 8.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3089, allocations: 0 / 0.5262 GB, free: 8.41 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.001015/0.3099, allocations: 0.539 MB / 0.5267 GB, free: 8.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3099, allocations: 9.766 kB / 0.5267 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.31, allocations: 33.7 kB / 0.5268 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.3104, allocations: 252.2 kB / 0.527 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3104, allocations: 16.59 kB / 0.527 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.3105, allocations: 30.61 kB / 0.527 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.311, allocations: 300 kB / 0.5273 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.311, allocations: 1.281 kB / 0.5273 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.311, allocations: 9.219 kB / 0.5273 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.311, allocations: 9.719 kB / 0.5274 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.3115, allocations: 177 kB / 0.5275 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.3126, allocations: 0.5679 MB / 0.5281 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.3131, allocations: 196.5 kB / 0.5283 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.3133, allocations: 89.61 kB / 0.5283 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.3134, allocations: 3.594 kB / 0.5284 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.3134, allocations: 36 kB / 0.5284 GB, free: 6.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.3134, allocations: 0 / 0.5284 GB, free: 6.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008344/0.3142, allocations: 290.1 kB / 0.5287 GB, free: 6.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3143, allocations: 105.6 kB / 0.5288 GB, free: 6.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.3145, allocations: 260.8 kB / 0.529 GB, free: 6.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3145, allocations: 30.89 kB / 0.529 GB, free: 6.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.3146, allocations: 166 kB / 0.5292 GB, free: 6.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.3147, allocations: 68.69 kB / 0.5293 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.3147, allocations: 53.7 kB / 0.5293 GB, free: 6.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.853e-05/0.3148, allocations: 340.3 kB / 0.5296 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.3151, allocations: 106.8 kB / 0.5297 GB, free: 5.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.3154, allocations: 214.1 kB / 0.5299 GB, free: 5.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.3158, allocations: 224.5 kB / 0.5302 GB, free: 5.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3158, allocations: 1.406 kB / 0.5302 GB, free: 5.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006233/0.3164, allocations: 289.9 kB / 0.5304 GB, free: 5.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3165, allocations: 6.391 kB / 0.5304 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3165, allocations: 5.078 kB / 0.5304 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3165, allocations: 3.219 kB / 0.5305 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.3168, allocations: 61.56 kB / 0.5305 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3168, allocations: 10.77 kB / 0.5305 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.317, allocations: 33.2 kB / 0.5306 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.317, allocations: 15.86 kB / 0.5306 GB, free: 5.477 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.0002775/0.3173, allocations: 183.3 kB / 0.5307 GB, free: 5.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001896/0.3175, allocations: 179.8 kB / 0.5309 GB, free: 5.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002934/0.3178, allocations: 190.9 kB / 0.5311 GB, free: 5.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.3178, allocations: 0 / 0.5311 GB, free: 5.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0004278/0.3182, allocations: 236.5 kB / 0.5313 GB, free: 4.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.3182, allocations: 7.906 kB / 0.5313 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3182, allocations: 3.141 kB / 0.5313 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/0.3182, allocations: 11.34 kB / 0.5313 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.3185, allocations: 54.59 kB / 0.5314 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3185, allocations: 4.031 kB / 0.5314 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.3187, allocations: 24.14 kB / 0.5314 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3187, allocations: 11 kB / 0.5314 GB, free: 4.91 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.568e-05/0.3188, allocations: 198.8 kB / 0.5316 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.3189, allocations: 22.91 kB / 0.5316 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000613/0.3195, allocations: 244.5 kB / 0.5319 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3195, allocations: 1.656 kB / 0.5319 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3195, allocations: 1.969 kB / 0.5319 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.3195, allocations: 0.8438 kB / 0.5319 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.3198, allocations: 225.1 kB / 0.5321 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3198, allocations: 8.781 kB / 0.5321 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.3201, allocations: 45.67 kB / 0.5321 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3201, allocations: 2.391 kB / 0.5322 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3202, allocations: 5.844 kB / 0.5322 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3202, allocations: 5.125 kB / 0.5322 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3202, allocations: 1.156 kB / 0.5322 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008385/0.321, allocations: 428.7 kB / 0.5326 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.321, allocations: 29.72 kB / 0.5326 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.3211, allocations: 2.875 kB / 0.5326 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.3213, allocations: 21.03 kB / 0.5326 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.3214, allocations: 12.36 kB / 0.5326 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3214, allocations: 7.953 kB / 0.5326 GB, free: 4.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.3216, allocations: 184.3 kB / 0.5328 GB, free: 4.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3216, allocations: 0 / 0.5328 GB, free: 4.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.3221, allocations: 99.95 kB / 0.5329 GB, free: 3.984 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.0001359/0.3222, allocations: 122.1 kB / 0.533 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000754/0.3229, allocations: 295.5 kB / 0.5333 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3229, allocations: 0 / 0.5333 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.3232, allocations: 96.34 kB / 0.5334 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3236, allocations: 42.45 kB / 0.5334 GB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.3247, allocations: 0.5695 MB / 0.534 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.3248, allocations: 149.5 kB / 0.5341 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.325, allocations: 34.23 kB / 0.5342 GB, free: 3.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.3251, allocations: 20.58 kB / 0.5342 GB, free: 3.309 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3251, allocations: 0 / 0.5342 GB, free: 3.309 MB / 382.1 MB Notification: Performance of Templates: time 0.0076/0.3327, allocations: 3.267 MB / 0.5374 GB, free: 2.922 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 -s gbode -lv LOG_STATS > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.852292684998247] Failed to read output from testmodel.py, exit status != 0: 0.34079914599715266 0.354321988 0.04236277 Calling exit ...