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.001014/0.001014, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0009111/0.0009111, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.9193/0.9193, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.06316/0.06316, allocations: 18.13 MB / 278.1 MB, free: 11.52 MB / 266.7 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) Running command: "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_CL_01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_CL_01",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 415.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.468e-05, allocations: 2.281 kB / 415.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01): time 0.003112/0.003136, allocations: 2.035 MB / 417.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.003857, allocations: 457 kB / 418.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.003969, allocations: 10.81 kB / 418.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.94e-05/0.004019, allocations: 25.92 kB / 418.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.004372, allocations: 94.55 kB / 418.5 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.004603, allocations: 163.8 kB / 418.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.004888, allocations: 314.4 kB / 418.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.005069, allocations: 77.77 kB / 419 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.005176, allocations: 106.7 kB / 419.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.005318, allocations: 103.4 kB / 419.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.005361, allocations: 31.12 kB / 419.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.005453, allocations: 47.77 kB / 419.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.005501, allocations: 68.75 kB / 419.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.522e-05/0.005576, allocations: 87.22 kB / 419.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.005934, allocations: 329 kB / 419.8 MB, free: 9.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.005938, allocations: 1.469 kB / 419.8 MB, free: 9.934 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005939, allocations: 4 kB / 419.8 MB, free: 9.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.005948, allocations: 0 / 419.8 MB, free: 9.93 MB / 330.7 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.0007832/0.006731, allocations: 0.5443 MB / 420.3 MB, free: 9.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.006776, allocations: 9.641 kB / 420.3 MB, free: 9.512 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.006824, allocations: 62.17 kB / 420.4 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.006892, allocations: 32.8 kB / 420.4 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.007249, allocations: 243.2 kB / 420.7 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.007269, allocations: 12.53 kB / 420.7 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.007304, allocations: 26.67 kB / 420.7 MB, free: 9.223 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.007693, allocations: 307.4 kB / 421 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.007706, allocations: 0.8438 kB / 421 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.007726, allocations: 11.47 kB / 421 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.007734, allocations: 7.969 kB / 421 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.008028, allocations: 173.9 kB / 421.2 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008834/0.008911, allocations: 0.6037 MB / 421.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.009275, allocations: 192.4 kB / 422 MB, free: 8.496 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.009414, allocations: 89.56 kB / 422.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.009442, allocations: 3.312 kB / 422.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.00946, allocations: 42.75 kB / 422.1 MB, free: 8.414 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.764e-06/0.009462, allocations: 3.938 kB / 422.1 MB, free: 8.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005117/0.009974, allocations: 288 kB / 422.4 MB, free: 8.297 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.01001, allocations: 105.7 kB / 422.5 MB, free: 8.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.01022, allocations: 253.3 kB / 422.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.01023, allocations: 31.45 kB / 422.8 MB, free: 7.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.01031, allocations: 172.8 kB / 423 MB, free: 7.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.01035, allocations: 69.16 kB / 423 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.01041, allocations: 49.48 kB / 423.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.01046, allocations: 339.2 kB / 423.4 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.01063, allocations: 110.7 kB / 423.5 MB, free: 7.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.0108, allocations: 214.8 kB / 423.7 MB, free: 7.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.01109, allocations: 224 kB / 423.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.0111, allocations: 0 / 423.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003866/0.01148, allocations: 297.8 kB / 424.2 MB, free: 6.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.0115, allocations: 6.531 kB / 424.2 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.01151, allocations: 2.469 kB / 424.2 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.01153, allocations: 2.812 kB / 424.2 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.0117, allocations: 65.39 kB / 424.3 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01171, allocations: 6.125 kB / 424.3 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.01182, allocations: 30.91 kB / 424.3 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.01183, allocations: 10.59 kB / 424.3 MB, free: 6.91 MB / 330.7 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.0002038/0.01203, allocations: 180.7 kB / 424.5 MB, free: 6.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001368/0.01217, allocations: 179.1 kB / 424.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001959/0.01237, allocations: 189.8 kB / 424.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.01237, allocations: 3.938 kB / 424.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0002852/0.01265, allocations: 242.5 kB / 425.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.01266, allocations: 7.062 kB / 425.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.01267, allocations: 1.438 kB / 425.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-06/0.01267, allocations: 3.125 kB / 425.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.01279, allocations: 63.62 kB / 425.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.0128, allocations: 4.312 kB / 425.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.831e-05/0.01289, allocations: 18.92 kB / 425.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.0129, allocations: 15.62 kB / 425.2 MB, free: 6.34 MB / 330.7 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.24e-05/0.01299, allocations: 196.9 kB / 425.4 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.01303, allocations: 24.44 kB / 425.5 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.01343, allocations: 247.4 kB / 425.7 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.01344, allocations: 9.219 kB / 425.7 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.01344, allocations: 1.094 kB / 425.7 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.01345, allocations: 1.266 kB / 425.7 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.01372, allocations: 262.3 kB / 426 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01372, allocations: 1.25 kB / 426 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.0139, allocations: 53.09 kB / 426 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.0139, allocations: 1.578 kB / 426 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.01392, allocations: 3.047 kB / 426 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.01392, allocations: 8.906 kB / 426 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01392, allocations: 0 / 426 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.0145, allocations: 425.8 kB / 426.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.01453, allocations: 30.14 kB / 426.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.01456, allocations: 5.922 kB / 426.5 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.01466, allocations: 17.19 kB / 426.5 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.01472, allocations: 16.77 kB / 426.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.01473, allocations: 3.781 kB / 426.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001448/0.01487, allocations: 188.8 kB / 426.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01487, allocations: 0 / 426.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.01525, allocations: 92.62 kB / 426.8 MB, free: 5.395 MB / 330.7 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.0006596/0.01591, allocations: 0.9682 MB / 427.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004981/0.01641, allocations: 296 kB / 428 MB, free: 4.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01641, allocations: 3.938 kB / 428.1 MB, free: 4.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.01655, allocations: 94.59 kB / 428.1 MB, free: 4.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.01684, allocations: 40.75 kB / 428.2 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.01971, allocations: 2.841 MB / 431 MB, free: 2.594 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.01983, allocations: 149.4 kB / 431.2 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.01997, allocations: 45.95 kB / 431.2 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.02008, allocations: 85.42 kB / 431.3 MB, free: 2.43 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02008, allocations: 0 / 431.3 MB, free: 2.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.04019, allocations: 6.434 MB / 437.7 MB, free: 40 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.727/6.767, allocations: 6.828 kB / 437.7 MB, free: 36 kB / 330.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_CL_01_fmu --startTime=0 --stopTime=864000 --stepSize=1728 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_CL_01.fmu > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.CL_01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.765453577972949] Failed to read output from testmodel.py, exit status != 0: 6.8511422872543335 6.858200764 6.85053897 Calling exit ...