Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.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.001395/0.001395, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.001938/0.001938, allocations: 223.9 kB / 22.26 MB, free: 5.129 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.593/1.593, allocations: 230.6 MB / 256 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.1079/0.1079, allocations: 24.12 MB / 336.6 MB, free: 11.43 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: "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL",fmuType="me",version="2.0",platforms={"static"}) [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.003072/0.003072, allocations: 78.22 kB / 474.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4065, allocations: 59.6 MB / 0.5212 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.002079/0.4086, allocations: 0.8503 MB / 0.522 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002523/0.4088, allocations: 89.61 kB / 0.5221 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.4089, allocations: 1.281 kB / 0.5221 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.169e-05/0.4089, allocations: 8.859 kB / 0.5221 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.4091, allocations: 33.89 kB / 0.5221 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.934e-05/0.4092, allocations: 16.92 kB / 0.5222 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.4093, allocations: 102.4 kB / 0.5223 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4094, allocations: 19.42 kB / 0.5223 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.971e-05/0.4095, allocations: 42.69 kB / 0.5223 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.793e-05/0.4096, allocations: 52.19 kB / 0.5224 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.4096, allocations: 14 kB / 0.5224 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.4096, allocations: 13.72 kB / 0.5224 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.771e-05/0.4096, allocations: 24.12 kB / 0.5224 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.4097, allocations: 43.56 kB / 0.5225 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.4098, allocations: 91 kB / 0.5225 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4098, allocations: 0.7031 kB / 0.5225 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4098, allocations: 1.156 kB / 0.5225 GB, free: 9.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.4098, allocations: 0 / 0.5225 GB, free: 9.711 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006485/0.4105, allocations: 361.1 kB / 0.5229 GB, free: 9.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4105, allocations: 11.72 kB / 0.5229 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.4106, allocations: 37.69 kB / 0.5229 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.4106, allocations: 14.05 kB / 0.523 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.4107, allocations: 151.8 kB / 0.5231 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.4108, allocations: 7.031 kB / 0.5231 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.4108, allocations: 9.172 kB / 0.5231 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.411, allocations: 76.48 kB / 0.5232 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.411, allocations: 3.938 kB / 0.5232 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.411, allocations: 5.219 kB / 0.5232 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.411, allocations: 1.031 kB / 0.5232 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.4111, allocations: 41.69 kB / 0.5232 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.4117, allocations: 349.7 kB / 0.5236 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.412, allocations: 71.97 kB / 0.5236 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.4121, allocations: 31.17 kB / 0.5237 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.4121, allocations: 0.9375 kB / 0.5237 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.4121, allocations: 31.75 kB / 0.5237 GB, free: 8.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.4121, allocations: 3.984 kB / 0.5237 GB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003543/0.4124, allocations: 105.9 kB / 0.5238 GB, free: 8.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.4125, allocations: 56.5 kB / 0.5239 GB, free: 8.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.4126, allocations: 175.1 kB / 0.524 GB, free: 8.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.4126, allocations: 29.59 kB / 0.5241 GB, free: 8.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.4127, allocations: 107.5 kB / 0.5242 GB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.4127, allocations: 25.91 kB / 0.5242 GB, free: 8.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.4128, allocations: 25.06 kB / 0.5242 GB, free: 8.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.4128, allocations: 321.1 kB / 0.5245 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.354e-05/0.4129, allocations: 33.09 kB / 0.5245 GB, free: 7.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.979e-05/0.413, allocations: 55.97 kB / 0.5246 GB, free: 7.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.4132, allocations: 86.22 kB / 0.5247 GB, free: 7.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4132, allocations: 3.938 kB / 0.5247 GB, free: 7.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002352/0.4134, allocations: 120.8 kB / 0.5248 GB, free: 7.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4134, allocations: 6.469 kB / 0.5248 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4134, allocations: 0.9688 kB / 0.5248 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4134, allocations: 0.9688 kB / 0.5248 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.4136, allocations: 28.38 kB / 0.5248 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4136, allocations: 5.031 kB / 0.5248 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.4137, allocations: 11.88 kB / 0.5248 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4137, allocations: 3.375 kB / 0.5248 GB, free: 7.754 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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 7.122e-05/0.4138, allocations: 126.2 kB / 0.525 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.4138, allocations: 9.375 kB / 0.525 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.414, allocations: 102 kB / 0.5251 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4141, allocations: 1.312 kB / 0.5251 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4141, allocations: 3.938 kB / 0.5251 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4141, allocations: 0.75 kB / 0.5251 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.4143, allocations: 178.3 kB / 0.5253 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4143, allocations: 0.7031 kB / 0.5253 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.4144, allocations: 20.83 kB / 0.5253 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4144, allocations: 4 kB / 0.5253 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4144, allocations: 5.891 kB / 0.5253 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4144, allocations: 0.9688 kB / 0.5253 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4144, allocations: 3.938 kB / 0.5253 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.4147, allocations: 220.3 kB / 0.5255 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.4148, allocations: 9.844 kB / 0.5255 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.4148, allocations: 5.859 kB / 0.5255 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4149, allocations: 4.797 kB / 0.5255 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.4149, allocations: 8.984 kB / 0.5255 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.4149, allocations: 3.344 kB / 0.5255 GB, free: 7.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.699e-05/0.415, allocations: 129.3 kB / 0.5257 GB, free: 7.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.415, allocations: 0 / 0.5257 GB, free: 7.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000243/0.4153, allocations: 23.28 kB / 0.5257 GB, free: 7.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (room.Tfloor,room.Tair,room.Twall) * 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 (7): * Single equations (assignments): 7 * 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.0004152/0.4157, allocations: 0.7593 MB / 0.5264 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.4159, allocations: 67.42 kB / 0.5265 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4159, allocations: 0 / 0.5265 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.416, allocations: 31.98 kB / 0.5265 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.4162, allocations: 12.67 kB / 0.5265 GB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.4181, allocations: 1.785 MB / 0.5283 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.4182, allocations: 0.7003 MB / 0.5289 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.89e-05/0.4183, allocations: 10.88 kB / 0.529 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.4184, allocations: 30.61 kB / 0.529 GB, free: 4.141 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4184, allocations: 1.188 kB / 0.529 GB, free: 4.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.4497, allocations: 2.654 MB / 0.5316 GB, free: 3.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.32, allocations: 3.594 kB / 0.5316 GB, free: 3.691 MB / 382.1 MB " [Timeout remaining time 649] (rm -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_fmu --startTime=0 --stopTime=864000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL.fmu > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.03361179190688] Failed to read output from testmodel.py, exit status != 0: 11.431549147004262 11.450126438 11.035422512 Calling exit ...