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.001729/0.001729, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.002309/0.002309, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.926 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.1083/0.1083, allocations: 24.11 MB / 333 MB, free: 12.59 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.002048/0.002048, allocations: 69.91 kB / 468.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3478, allocations: 59.56 MB / 0.5158 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.001889/0.3497, allocations: 0.8541 MB / 0.5166 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002131/0.3499, allocations: 79.2 kB / 0.5167 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.3499, allocations: 0.5938 kB / 0.5167 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.35, allocations: 8.531 kB / 0.5167 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.3501, allocations: 28.33 kB / 0.5167 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.693e-05/0.3502, allocations: 17.94 kB / 0.5167 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3503, allocations: 101.7 kB / 0.5168 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3504, allocations: 19.31 kB / 0.5168 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.3505, allocations: 46 kB / 0.5169 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.3506, allocations: 52.61 kB / 0.5169 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.3506, allocations: 9.375 kB / 0.5169 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.3506, allocations: 9.875 kB / 0.517 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.3506, allocations: 25.61 kB / 0.517 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.3507, allocations: 43.98 kB / 0.517 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.3508, allocations: 90.95 kB / 0.5171 GB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3508, allocations: 4 kB / 0.5171 GB, free: 9.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3508, allocations: 0 / 0.5171 GB, free: 9.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3508, allocations: 1.438 kB / 0.5171 GB, free: 9.258 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.0006076/0.3514, allocations: 433.3 kB / 0.5175 GB, free: 8.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3515, allocations: 10.47 kB / 0.5175 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.3515, allocations: 39.2 kB / 0.5176 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.3515, allocations: 9.047 kB / 0.5176 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3517, allocations: 210.5 kB / 0.5178 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3517, allocations: 7.031 kB / 0.5178 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.3517, allocations: 4.688 kB / 0.5178 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3519, allocations: 80.27 kB / 0.5179 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3519, allocations: 3.938 kB / 0.5179 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3519, allocations: 10.12 kB / 0.5179 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3519, allocations: 5.188 kB / 0.5179 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.352, allocations: 46.5 kB / 0.5179 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.3526, allocations: 396.4 kB / 0.5183 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.3527, allocations: 49.17 kB / 0.5184 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.971e-05/0.3528, allocations: 26.48 kB / 0.5184 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3528, allocations: 1.125 kB / 0.5184 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.3528, allocations: 34.5 kB / 0.5184 GB, free: 8.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3528, allocations: 1.219 kB / 0.5184 GB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003029/0.3531, allocations: 98.27 kB / 0.5185 GB, free: 8.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.3532, allocations: 56.56 kB / 0.5186 GB, free: 7.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.3533, allocations: 178.2 kB / 0.5187 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.3533, allocations: 25.7 kB / 0.5188 GB, free: 7.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.3534, allocations: 118.1 kB / 0.5189 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.3534, allocations: 20.83 kB / 0.5189 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.3534, allocations: 21.67 kB / 0.5189 GB, free: 7.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.3535, allocations: 321.4 kB / 0.5192 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.647e-05/0.3536, allocations: 23.77 kB / 0.5192 GB, free: 7.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.3537, allocations: 65.75 kB / 0.5193 GB, free: 7.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3538, allocations: 89.05 kB / 0.5194 GB, free: 7.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3538, allocations: 1.219 kB / 0.5194 GB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002187/0.354, allocations: 114.2 kB / 0.5195 GB, free: 7.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.354, allocations: 5.531 kB / 0.5195 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.354, allocations: 3.016 kB / 0.5195 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3541, allocations: 1.125 kB / 0.5195 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3542, allocations: 28.45 kB / 0.5195 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3542, allocations: 6.031 kB / 0.5195 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.522e-05/0.3543, allocations: 21.25 kB / 0.5196 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.3543, allocations: 7.781 kB / 0.5196 GB, free: 7.102 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 5.91e-05/0.3544, allocations: 118.8 kB / 0.5197 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.3544, allocations: 9.562 kB / 0.5197 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.3545, allocations: 12.16 kB / 0.5197 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.3545, allocations: 1.156 kB / 0.5197 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3545, allocations: 0 / 0.5197 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3545, allocations: 5.75 kB / 0.5197 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.3546, allocations: 205.6 kB / 0.5199 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3546, allocations: 0 / 0.5199 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.3548, allocations: 18.61 kB / 0.5199 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3548, allocations: 1 kB / 0.5199 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3548, allocations: 0.6562 kB / 0.5199 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3548, allocations: 1 kB / 0.5199 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3548, allocations: 0.7031 kB / 0.5199 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.3551, allocations: 208.3 kB / 0.5201 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.3551, allocations: 88.61 kB / 0.5202 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.3551, allocations: 3.031 kB / 0.5202 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3552, allocations: 13.56 kB / 0.5202 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.3553, allocations: 8.266 kB / 0.5202 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3553, allocations: 1.5 kB / 0.5202 GB, free: 6.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.105e-05/0.3554, allocations: 133.8 kB / 0.5204 GB, free: 6.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3554, allocations: 0 / 0.5204 GB, free: 6.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.3556, allocations: 21.72 kB / 0.5204 GB, free: 6.367 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.0004002/0.356, allocations: 0.728 MB / 0.5211 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.3562, allocations: 61.88 kB / 0.5212 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3562, allocations: 0 / 0.5212 GB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/0.3563, allocations: 31.8 kB / 0.5212 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.3565, allocations: 13.69 kB / 0.5212 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.3583, allocations: 1.767 MB / 0.5229 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.3584, allocations: 0.702 MB / 0.5236 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.816e-05/0.3585, allocations: 5.922 kB / 0.5236 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.3585, allocations: 26.72 kB / 0.5236 GB, free: 3.449 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3585, allocations: 4 kB / 0.5236 GB, free: 3.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.385, allocations: 2.387 MB / 0.526 GB, free: 3.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/8.238, allocations: 2.125 kB / 0.526 GB, free: 3.004 MB / 382.1 MB " [Timeout remaining time 652] (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: 25.633495615096763] Failed to read output from testmodel.py, exit status != 0: 8.310365773970261 8.323218747 7.969437168 Calling exit ...