Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.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.00143/0.00143, allocations: 113 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.001463/0.001463, allocations: 213.7 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8.012 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.106/0.106, allocations: 24.13 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_steps,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_steps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_steps",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.002789/0.002789, allocations: 67.91 kB / 474.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4144, allocations: 59.6 MB / 0.5212 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.002028/0.4165, allocations: 0.8707 MB / 0.522 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000242/0.4167, allocations: 74.61 kB / 0.5221 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.4168, allocations: 1.438 kB / 0.5221 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.4168, allocations: 9.703 kB / 0.5221 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.4169, allocations: 20.47 kB / 0.5221 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.417, allocations: 26.2 kB / 0.5222 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.4172, allocations: 92.41 kB / 0.5223 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.4173, allocations: 28.2 kB / 0.5223 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.178e-05/0.4173, allocations: 41.22 kB / 0.5223 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.4174, allocations: 57.2 kB / 0.5224 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.4175, allocations: 8.875 kB / 0.5224 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.029e-05/0.4175, allocations: 10.06 kB / 0.5224 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.4175, allocations: 22.98 kB / 0.5224 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.4176, allocations: 45.02 kB / 0.5225 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.4177, allocations: 86.2 kB / 0.5225 GB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4177, allocations: 5.094 kB / 0.5225 GB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4177, allocations: 0 / 0.5225 GB, free: 9.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.4177, allocations: 4 kB / 0.5226 GB, free: 9.777 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.0006761/0.4184, allocations: 354.2 kB / 0.5229 GB, free: 9.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4185, allocations: 10.52 kB / 0.5229 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.4185, allocations: 42.08 kB / 0.5229 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.4185, allocations: 10 kB / 0.5229 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.4187, allocations: 156.5 kB / 0.5231 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.4187, allocations: 3.938 kB / 0.5231 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.4187, allocations: 7.906 kB / 0.5231 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.4189, allocations: 81.03 kB / 0.5232 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4189, allocations: 3.938 kB / 0.5232 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4189, allocations: 1.281 kB / 0.5232 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4189, allocations: 1 kB / 0.5232 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.4191, allocations: 51.28 kB / 0.5232 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.4197, allocations: 369.2 kB / 0.5236 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.4199, allocations: 46.05 kB / 0.5236 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.327e-05/0.42, allocations: 29.58 kB / 0.5237 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.42, allocations: 0.5625 kB / 0.5237 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.42, allocations: 35.69 kB / 0.5237 GB, free: 8.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.42, allocations: 0 / 0.5237 GB, free: 8.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004204/0.4204, allocations: 94.64 kB / 0.5238 GB, free: 8.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.4204, allocations: 52.56 kB / 0.5238 GB, free: 8.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.4207, allocations: 179.8 kB / 0.524 GB, free: 8.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.4207, allocations: 29.7 kB / 0.524 GB, free: 8.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.4208, allocations: 118.5 kB / 0.5242 GB, free: 8.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.4208, allocations: 24.16 kB / 0.5242 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.4208, allocations: 22.48 kB / 0.5242 GB, free: 8.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.4209, allocations: 324.5 kB / 0.5245 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.421, allocations: 21.28 kB / 0.5245 GB, free: 8.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.4211, allocations: 64.86 kB / 0.5246 GB, free: 7.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.4214, allocations: 85.58 kB / 0.5247 GB, free: 7.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4214, allocations: 0 / 0.5247 GB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000322/0.4217, allocations: 118.8 kB / 0.5248 GB, free: 7.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.4217, allocations: 6.25 kB / 0.5248 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4217, allocations: 1.125 kB / 0.5248 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4217, allocations: 2.312 kB / 0.5248 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.4219, allocations: 28.5 kB / 0.5248 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.422, allocations: 2.984 kB / 0.5248 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.4221, allocations: 15.81 kB / 0.5248 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.4221, allocations: 11.12 kB / 0.5249 GB, free: 7.824 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.849e-05/0.4222, allocations: 122.9 kB / 0.525 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.4222, allocations: 8.328 kB / 0.525 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.4223, allocations: 13.75 kB / 0.525 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4223, allocations: 0 / 0.525 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4223, allocations: 1.156 kB / 0.525 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.4223, allocations: 4.734 kB / 0.525 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.4226, allocations: 173.3 kB / 0.5252 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4226, allocations: 0 / 0.5252 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.4228, allocations: 19.44 kB / 0.5252 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4228, allocations: 4 kB / 0.5252 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4228, allocations: 1.844 kB / 0.5252 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.4228, allocations: 0 / 0.5252 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4228, allocations: 1.219 kB / 0.5252 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.4232, allocations: 206.3 kB / 0.5254 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.4232, allocations: 17.52 kB / 0.5254 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.4233, allocations: 5.75 kB / 0.5254 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.4234, allocations: 10.92 kB / 0.5254 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.4235, allocations: 7.516 kB / 0.5254 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4235, allocations: 2.047 kB / 0.5254 GB, free: 7.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.4236, allocations: 133.3 kB / 0.5256 GB, free: 7.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4236, allocations: 0 / 0.5256 GB, free: 7.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004458/0.4241, allocations: 21.5 kB / 0.5256 GB, free: 7.215 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 (5): * Single equations (assignments): 5 * 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.0005637/0.4247, allocations: 0.7372 MB / 0.5263 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.4249, allocations: 60.45 kB / 0.5263 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.425, allocations: 0 / 0.5263 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.4251, allocations: 30.8 kB / 0.5264 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.4255, allocations: 12.56 kB / 0.5264 GB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.4282, allocations: 1.766 MB / 0.5281 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.4283, allocations: 0.6982 MB / 0.5288 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.4284, allocations: 10.3 kB / 0.5288 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.462e-05/0.4284, allocations: 26.17 kB / 0.5288 GB, free: 4.293 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4284, allocations: 1.031 kB / 0.5288 GB, free: 4.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.462, allocations: 2.526 MB / 0.5313 GB, free: 3.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.26, allocations: 2.219 kB / 0.5313 GB, free: 3.832 MB / 382.1 MB " [Timeout remaining time 649] (rm -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps_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_steps.fmu > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.7633065800037] Failed to read output from testmodel.py, exit status != 0: 11.36612635399797 11.378779222 10.958014377 Calling exit ...