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.001521/0.001521, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.001601/0.001601, allocations: 214.9 kB / 22.99 MB, free: 4.945 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.105/0.105, allocations: 24.12 MB / 337.3 MB, free: 11.36 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.001981/0.001981, allocations: 71.89 kB / 475.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3175, allocations: 59.6 MB / 0.5223 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01): time 0.002888/0.3204, allocations: 2.051 MB / 0.5243 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.3212, allocations: 448.2 kB / 0.5247 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.3213, allocations: 6.406 kB / 0.5247 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.916e-05/0.3214, allocations: 29.56 kB / 0.5248 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.3217, allocations: 85.3 kB / 0.5249 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.322, allocations: 167 kB / 0.525 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.3223, allocations: 304.3 kB / 0.5253 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.3226, allocations: 89.53 kB / 0.5254 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3227, allocations: 121.6 kB / 0.5255 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.3229, allocations: 135.5 kB / 0.5256 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.3229, allocations: 30.5 kB / 0.5257 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.3231, allocations: 51.72 kB / 0.5257 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.3231, allocations: 69.2 kB / 0.5258 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.3232, allocations: 106 kB / 0.5259 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.3237, allocations: 322.9 kB / 0.5262 GB, free: 8.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3237, allocations: 3.938 kB / 0.5262 GB, free: 8.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3237, allocations: 1.219 kB / 0.5262 GB, free: 8.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3237, allocations: 0 / 0.5262 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.001107/0.3248, allocations: 0.5435 MB / 0.5267 GB, free: 7.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3248, allocations: 13.92 kB / 0.5267 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.994e-05/0.3249, allocations: 32.98 kB / 0.5268 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.3253, allocations: 243.3 kB / 0.527 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3253, allocations: 17.56 kB / 0.527 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.3254, allocations: 25.83 kB / 0.527 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.3259, allocations: 305.8 kB / 0.5273 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3259, allocations: 192 / 0.5273 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.326, allocations: 14.22 kB / 0.5273 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.326, allocations: 4.906 kB / 0.5274 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.3264, allocations: 169 kB / 0.5275 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.3275, allocations: 0.5724 MB / 0.5281 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.328, allocations: 195.2 kB / 0.5283 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.3282, allocations: 94.61 kB / 0.5284 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.3283, allocations: 2.344 kB / 0.5284 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3283, allocations: 36.88 kB / 0.5284 GB, free: 6.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.3283, allocations: 0 / 0.5284 GB, free: 6.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007377/0.329, allocations: 285.7 kB / 0.5287 GB, free: 6.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.329, allocations: 109 kB / 0.5288 GB, free: 6.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.3293, allocations: 266.2 kB / 0.529 GB, free: 6.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3293, allocations: 30.95 kB / 0.529 GB, free: 6.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.3294, allocations: 168.4 kB / 0.5292 GB, free: 6.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.3294, allocations: 65.27 kB / 0.5293 GB, free: 6.305 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/0.3295, allocations: 54.3 kB / 0.5293 GB, free: 6.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.968e-05/0.3296, allocations: 339.7 kB / 0.5296 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.3298, allocations: 106 kB / 0.5297 GB, free: 5.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.3301, allocations: 213.8 kB / 0.53 GB, free: 5.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.3306, allocations: 228 kB / 0.5302 GB, free: 5.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3306, allocations: 0 / 0.5302 GB, free: 5.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005983/0.3312, allocations: 282.9 kB / 0.5304 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3312, allocations: 5.438 kB / 0.5304 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3312, allocations: 7.141 kB / 0.5305 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.3312, allocations: 3.094 kB / 0.5305 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.3315, allocations: 64.64 kB / 0.5305 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3315, allocations: 15.03 kB / 0.5305 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.3318, allocations: 29.64 kB / 0.5306 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3318, allocations: 7.328 kB / 0.5306 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.0002451/0.332, allocations: 190.5 kB / 0.5307 GB, free: 5.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001732/0.3322, allocations: 180 kB / 0.5309 GB, free: 5.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002669/0.3325, allocations: 185.4 kB / 0.5311 GB, free: 5.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.3325, allocations: 1.25 kB / 0.5311 GB, free: 5.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0003998/0.3329, allocations: 243.2 kB / 0.5313 GB, free: 4.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.3329, allocations: 4.938 kB / 0.5313 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.3329, allocations: 0.9688 kB / 0.5313 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/0.3329, allocations: 7.938 kB / 0.5313 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3331, allocations: 55.22 kB / 0.5314 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3331, allocations: 4.078 kB / 0.5314 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.3333, allocations: 23.22 kB / 0.5314 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3333, allocations: 11.25 kB / 0.5314 GB, free: 4.871 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.239e-05/0.3334, allocations: 199.6 kB / 0.5316 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.3334, allocations: 24.08 kB / 0.5316 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005748/0.334, allocations: 241.2 kB / 0.5319 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.334, allocations: 3.656 kB / 0.5319 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.334, allocations: 3.938 kB / 0.5319 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.334, allocations: 0.5156 kB / 0.5319 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.3343, allocations: 226.8 kB / 0.5321 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3343, allocations: 0 / 0.5321 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.3347, allocations: 46.48 kB / 0.5321 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3347, allocations: 1.219 kB / 0.5321 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.3347, allocations: 14.31 kB / 0.5322 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3347, allocations: 9.125 kB / 0.5322 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3347, allocations: 0.5938 kB / 0.5322 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007903/0.3355, allocations: 423.7 kB / 0.5326 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.3355, allocations: 28.62 kB / 0.5326 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.3356, allocations: 2.953 kB / 0.5326 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3358, allocations: 29.52 kB / 0.5326 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.3359, allocations: 16.23 kB / 0.5326 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3359, allocations: 7.594 kB / 0.5327 GB, free: 4.074 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.336, allocations: 184.9 kB / 0.5328 GB, free: 3.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.336, allocations: 0 / 0.5328 GB, free: 3.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004567/0.3365, allocations: 95.44 kB / 0.5329 GB, free: 3.938 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.0001308/0.3366, allocations: 117.8 kB / 0.533 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007161/0.3373, allocations: 298.1 kB / 0.5333 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3374, allocations: 1.188 kB / 0.5333 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.3376, allocations: 97.67 kB / 0.5334 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.338, allocations: 50.44 kB / 0.5335 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.3391, allocations: 0.5635 MB / 0.534 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.3392, allocations: 149.6 kB / 0.5342 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.3393, allocations: 32.53 kB / 0.5342 GB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.3394, allocations: 20.84 kB / 0.5342 GB, free: 3.262 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3394, allocations: 1.344 kB / 0.5342 GB, free: 3.262 MB / 382.1 MB Notification: Performance of Templates: time 0.007528/0.3469, allocations: 3.264 MB / 0.5374 GB, free: 2.875 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 cvode -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.800579201997607] Failed to read output from testmodel.py, exit status != 0: 0.35588355400250293 0.37004757800000004 0.043082390000000005 Calling exit ...