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.001372/0.001372, allocations: 109.1 kB / 17.14 MB, free: 5.93 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.001454/0.001454, allocations: 204 kB / 20.11 MB, free: 2.977 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.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1052/0.1052, allocations: 24.03 MB / 333.6 MB, free: 1.586 MB / 254.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.003256/0.003256, allocations: 65.78 kB / 469.1 MB, free: 31.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.155, allocations: 59.54 MB / 0.5163 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.003326/0.1584, allocations: 0.8645 MB / 0.5171 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003598/0.1587, allocations: 71.95 kB / 0.5172 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/0.1588, allocations: 4 kB / 0.5172 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.682e-05/0.1589, allocations: 7.875 kB / 0.5172 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.159, allocations: 27.84 kB / 0.5172 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.1592, allocations: 23.91 kB / 0.5172 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1594, allocations: 99.69 kB / 0.5173 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1595, allocations: 17.41 kB / 0.5174 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1597, allocations: 43.78 kB / 0.5174 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1598, allocations: 55.8 kB / 0.5174 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.1598, allocations: 8 kB / 0.5175 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-05/0.1599, allocations: 12 kB / 0.5175 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.1599, allocations: 23.84 kB / 0.5175 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.16, allocations: 47.73 kB / 0.5175 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1602, allocations: 91.59 kB / 0.5176 GB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1602, allocations: 0 / 0.5176 GB, free: 10.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1602, allocations: 0 / 0.5176 GB, free: 10.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1603, allocations: 0 / 0.5176 GB, free: 10.22 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.001126/0.1614, allocations: 435 kB / 0.518 GB, free: 9.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.1614, allocations: 12.62 kB / 0.5181 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.473e-05/0.1615, allocations: 34.75 kB / 0.5181 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.1616, allocations: 12.89 kB / 0.5181 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1619, allocations: 218 kB / 0.5183 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1619, allocations: 8.375 kB / 0.5183 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.1619, allocations: 4.375 kB / 0.5183 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.1622, allocations: 82.22 kB / 0.5184 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1622, allocations: 3.938 kB / 0.5184 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.1622, allocations: 7.938 kB / 0.5184 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1623, allocations: 4 kB / 0.5184 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.1625, allocations: 39.92 kB / 0.5184 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.1636, allocations: 388.6 kB / 0.5188 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1638, allocations: 50.56 kB / 0.5189 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.1639, allocations: 24.97 kB / 0.5189 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.1639, allocations: 0 / 0.5189 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.164, allocations: 38.5 kB / 0.5189 GB, free: 8.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.784e-06/0.164, allocations: 0 / 0.5189 GB, free: 8.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000501/0.1645, allocations: 97.62 kB / 0.519 GB, free: 8.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.1645, allocations: 51.41 kB / 0.5191 GB, free: 8.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.1648, allocations: 176 kB / 0.5192 GB, free: 8.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1648, allocations: 25.7 kB / 0.5193 GB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.165, allocations: 119.9 kB / 0.5194 GB, free: 8.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.165, allocations: 23.78 kB / 0.5194 GB, free: 8.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.1651, allocations: 21.72 kB / 0.5194 GB, free: 8.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.1653, allocations: 326.8 kB / 0.5197 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1654, allocations: 23.98 kB / 0.5198 GB, free: 7.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.1656, allocations: 60.22 kB / 0.5198 GB, free: 7.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1659, allocations: 88.22 kB / 0.5199 GB, free: 7.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1659, allocations: 3.938 kB / 0.5199 GB, free: 7.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004093/0.1663, allocations: 117.5 kB / 0.52 GB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1663, allocations: 4 kB / 0.52 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1663, allocations: 4 kB / 0.52 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1663, allocations: 0 / 0.52 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.1666, allocations: 35.98 kB / 0.5201 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1666, allocations: 4 kB / 0.5201 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.1667, allocations: 11.89 kB / 0.5201 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.1667, allocations: 8 kB / 0.5201 GB, free: 7.445 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 0.0001417/0.1669, allocations: 118.6 kB / 0.5202 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.1669, allocations: 7.953 kB / 0.5202 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.167, allocations: 20.28 kB / 0.5202 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.167, allocations: 0 / 0.5202 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.167, allocations: 0 / 0.5202 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.167, allocations: 7.938 kB / 0.5202 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.1674, allocations: 205.5 kB / 0.5204 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.1674, allocations: 3.984 kB / 0.5204 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.1676, allocations: 16.25 kB / 0.5204 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.1676, allocations: 0 / 0.5204 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1676, allocations: 4 kB / 0.5204 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1676, allocations: 0 / 0.5204 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1676, allocations: 0 / 0.5204 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.1682, allocations: 211.4 kB / 0.5206 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.551e-05/0.1683, allocations: 85.06 kB / 0.5207 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.1683, allocations: 8.031 kB / 0.5207 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1685, allocations: 3.938 kB / 0.5207 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.1685, allocations: 7.938 kB / 0.5207 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1685, allocations: 0 / 0.5207 GB, free: 6.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.1687, allocations: 134.5 kB / 0.5209 GB, free: 6.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1687, allocations: 0 / 0.5209 GB, free: 6.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004471/0.1692, allocations: 20 kB / 0.5209 GB, free: 6.52 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.001005/0.1702, allocations: 0.728 MB / 0.5216 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003221/0.1705, allocations: 60.2 kB / 0.5217 GB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1705, allocations: 4 kB / 0.5217 GB, free: 5.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1706, allocations: 31.92 kB / 0.5217 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.171, allocations: 9.969 kB / 0.5217 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.1746, allocations: 1.767 MB / 0.5234 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.175, allocations: 0.7079 MB / 0.5241 GB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.498e-05/0.1751, allocations: 4.656 kB / 0.5241 GB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1752, allocations: 35.44 kB / 0.5242 GB, free: 3.012 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1752, allocations: 0 / 0.5242 GB, free: 3.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.2014, allocations: 2.374 MB / 0.5265 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.28, allocations: 0 / 0.5265 GB, free: 0.7188 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: 26.067432704148814] Failed to read output from testmodel.py, exit status != 0: 8.353900226065889 8.378453684 8.213063959 Calling exit ...