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.001859/0.001859, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002315/0.002315, allocations: 217.8 kB / 22.25 MB, free: 5.121 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.992 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 / 336.6 MB, free: 11.45 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.00287/0.00287, allocations: 71.89 kB / 474.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4259, allocations: 59.6 MB / 0.5212 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.002089/0.428, allocations: 0.8515 MB / 0.522 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002594/0.4283, allocations: 87 kB / 0.5221 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.4283, allocations: 4.875 kB / 0.5221 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.4284, allocations: 5.438 kB / 0.5221 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.4286, allocations: 29.73 kB / 0.5221 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.827e-05/0.4287, allocations: 17.8 kB / 0.5222 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.4288, allocations: 101.4 kB / 0.5223 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4289, allocations: 22.98 kB / 0.5223 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.429, allocations: 47.09 kB / 0.5223 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.4291, allocations: 52.16 kB / 0.5224 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.4291, allocations: 10.12 kB / 0.5224 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.4292, allocations: 9.375 kB / 0.5224 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.4292, allocations: 24.58 kB / 0.5224 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.4292, allocations: 47.39 kB / 0.5225 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.4294, allocations: 92.38 kB / 0.5226 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4294, allocations: 0 / 0.5226 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4294, allocations: 0 / 0.5226 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4294, allocations: 1.125 kB / 0.5226 GB, free: 10 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.0006916/0.4301, allocations: 357.8 kB / 0.5229 GB, free: 9.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4301, allocations: 10.17 kB / 0.5229 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.4302, allocations: 39.09 kB / 0.5229 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.4302, allocations: 10.02 kB / 0.5229 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.4304, allocations: 156 kB / 0.5231 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.4304, allocations: 7.938 kB / 0.5231 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.4305, allocations: 4.438 kB / 0.5231 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.4307, allocations: 79.17 kB / 0.5232 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4307, allocations: 5.344 kB / 0.5232 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4307, allocations: 4 kB / 0.5232 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.4307, allocations: 9.984 kB / 0.5232 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.4309, allocations: 36.89 kB / 0.5232 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.4315, allocations: 354.4 kB / 0.5236 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.4318, allocations: 68.55 kB / 0.5236 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.4319, allocations: 26.39 kB / 0.5237 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.4319, allocations: 4 kB / 0.5237 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.4319, allocations: 39.94 kB / 0.5237 GB, free: 9.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.4319, allocations: 0 / 0.5237 GB, free: 9.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003495/0.4323, allocations: 102.2 kB / 0.5238 GB, free: 8.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.4323, allocations: 52.81 kB / 0.5239 GB, free: 8.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.4325, allocations: 169 kB / 0.524 GB, free: 8.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.4325, allocations: 30.8 kB / 0.524 GB, free: 8.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.4325, allocations: 112.7 kB / 0.5242 GB, free: 8.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.4326, allocations: 30.73 kB / 0.5242 GB, free: 8.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.4326, allocations: 26.84 kB / 0.5242 GB, free: 8.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.4327, allocations: 319.2 kB / 0.5245 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.2e-05/0.4328, allocations: 24.34 kB / 0.5245 GB, free: 8.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.4329, allocations: 61.55 kB / 0.5246 GB, free: 8.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.433, allocations: 84.39 kB / 0.5247 GB, free: 8.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.433, allocations: 1.75 kB / 0.5247 GB, free: 8.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002908/0.4333, allocations: 117.2 kB / 0.5248 GB, free: 8.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.4334, allocations: 4.594 kB / 0.5248 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4334, allocations: 1.062 kB / 0.5248 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4334, allocations: 7.109 kB / 0.5248 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.4336, allocations: 27.69 kB / 0.5248 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4336, allocations: 5.094 kB / 0.5248 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.4337, allocations: 19.84 kB / 0.5249 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4337, allocations: 2.969 kB / 0.5249 GB, free: 8.039 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 8.16e-05/0.4338, allocations: 114.7 kB / 0.525 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.4339, allocations: 8.984 kB / 0.525 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.4341, allocations: 105.7 kB / 0.5251 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4341, allocations: 5.188 kB / 0.5251 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4342, allocations: 4.5 kB / 0.5251 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4342, allocations: 1.281 kB / 0.5251 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.4343, allocations: 178.8 kB / 0.5253 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4343, allocations: 0 / 0.5253 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.4345, allocations: 25.41 kB / 0.5253 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4345, allocations: 0 / 0.5253 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.4345, allocations: 1.25 kB / 0.5253 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4345, allocations: 5.047 kB / 0.5253 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4345, allocations: 9 kB / 0.5253 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.4348, allocations: 219.7 kB / 0.5255 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.4348, allocations: 14.27 kB / 0.5255 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.4348, allocations: 1.094 kB / 0.5255 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.435, allocations: 5.125 kB / 0.5255 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.435, allocations: 10.06 kB / 0.5255 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.435, allocations: 1.781 kB / 0.5255 GB, free: 7.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.763e-05/0.4351, allocations: 133.1 kB / 0.5257 GB, free: 7.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4351, allocations: 4 kB / 0.5257 GB, free: 7.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.4353, allocations: 18.69 kB / 0.5257 GB, free: 7.371 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.0004184/0.4357, allocations: 0.7506 MB / 0.5264 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.436, allocations: 70.56 kB / 0.5265 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.436, allocations: 4.188 kB / 0.5265 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.879e-05/0.436, allocations: 27.2 kB / 0.5265 GB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.4363, allocations: 7.062 kB / 0.5265 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.4383, allocations: 1.783 MB / 0.5283 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.4385, allocations: 0.707 MB / 0.529 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.456e-05/0.4385, allocations: 12.19 kB / 0.529 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.4386, allocations: 34.73 kB / 0.529 GB, free: 4.426 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4386, allocations: 0 / 0.529 GB, free: 4.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.47, allocations: 2.648 MB / 0.5316 GB, free: 3.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.2, allocations: 5.094 kB / 0.5316 GB, free: 3.977 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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 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: 28.819866316000116] Failed to read output from testmodel.py, exit status != 0: 11.310943110998778 11.331948463 10.898197597 Calling exit ...