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.001586/0.001586, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.002026/0.002026, allocations: 207.2 kB / 20.11 MB, free: 3.062 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1061/0.1061, allocations: 24.04 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,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.002091/0.002091, allocations: 77.86 kB / 469.1 MB, free: 31.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1137, allocations: 59.54 MB / 0.5163 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.002227/0.116, allocations: 0.8485 MB / 0.5171 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000311/0.1163, allocations: 87.88 kB / 0.5172 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.1164, allocations: 0 / 0.5172 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.1164, allocations: 11.86 kB / 0.5172 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.1166, allocations: 31.78 kB / 0.5172 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.591e-05/0.1167, allocations: 15.98 kB / 0.5172 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1168, allocations: 103.8 kB / 0.5173 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.117, allocations: 25.31 kB / 0.5174 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.1171, allocations: 43.78 kB / 0.5174 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1172, allocations: 55.75 kB / 0.5174 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.1172, allocations: 12 kB / 0.5175 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.1172, allocations: 8 kB / 0.5175 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.1173, allocations: 27.91 kB / 0.5175 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.1173, allocations: 39.72 kB / 0.5175 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1175, allocations: 91.61 kB / 0.5176 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1175, allocations: 0 / 0.5176 GB, free: 10.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1175, allocations: 4 kB / 0.5176 GB, free: 10.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1175, 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.0008153/0.1183, allocations: 430.9 kB / 0.518 GB, free: 9.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1184, allocations: 16.62 kB / 0.518 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.1184, allocations: 34.75 kB / 0.5181 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.1184, allocations: 8.891 kB / 0.5181 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1187, allocations: 216.1 kB / 0.5183 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1187, allocations: 8.375 kB / 0.5183 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.1187, allocations: 4.375 kB / 0.5183 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.119, allocations: 74.22 kB / 0.5184 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.119, allocations: 11.94 kB / 0.5184 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.119, allocations: 11.88 kB / 0.5184 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.119, allocations: 0 / 0.5184 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.1192, allocations: 39.98 kB / 0.5184 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.1198, allocations: 368.6 kB / 0.5188 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.1202, allocations: 78.55 kB / 0.5189 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.1203, allocations: 20.98 kB / 0.5189 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1203, allocations: 4 kB / 0.5189 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1203, allocations: 38.55 kB / 0.5189 GB, free: 8.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1203, allocations: 0 / 0.5189 GB, free: 8.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003773/0.1207, allocations: 101.6 kB / 0.519 GB, free: 8.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1207, allocations: 55.34 kB / 0.5191 GB, free: 8.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1209, allocations: 172.4 kB / 0.5192 GB, free: 8.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1209, allocations: 29.7 kB / 0.5193 GB, free: 8.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.121, allocations: 112 kB / 0.5194 GB, free: 8.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.121, allocations: 31.73 kB / 0.5194 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.1211, allocations: 25.72 kB / 0.5194 GB, free: 8.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1212, allocations: 322.8 kB / 0.5197 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.1213, allocations: 23.98 kB / 0.5198 GB, free: 7.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1214, allocations: 55.42 kB / 0.5198 GB, free: 7.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.1216, allocations: 87.3 kB / 0.5199 GB, free: 7.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1216, allocations: 0 / 0.5199 GB, free: 7.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002772/0.1219, allocations: 117.5 kB / 0.52 GB, free: 7.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1219, allocations: 8.094 kB / 0.52 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1219, allocations: 4 kB / 0.52 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1219, allocations: 0 / 0.52 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1221, allocations: 23.98 kB / 0.52 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1221, allocations: 11.88 kB / 0.5201 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.1222, allocations: 3.953 kB / 0.5201 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1222, allocations: 8 kB / 0.5201 GB, free: 7.457 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 0.0001021/0.1223, allocations: 118.6 kB / 0.5202 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1223, allocations: 7.953 kB / 0.5202 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.1226, allocations: 102.4 kB / 0.5203 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1226, allocations: 4 kB / 0.5203 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1226, allocations: 7.922 kB / 0.5203 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.1226, allocations: 0 / 0.5203 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.1229, allocations: 213.5 kB / 0.5205 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1229, allocations: 3.938 kB / 0.5205 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.123, allocations: 20 kB / 0.5205 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.123, allocations: 0 / 0.5205 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.123, allocations: 8.234 kB / 0.5205 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1231, allocations: 8 kB / 0.5205 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1231, allocations: 3.938 kB / 0.5205 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.1234, allocations: 211.4 kB / 0.5207 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.1235, allocations: 93.09 kB / 0.5208 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.1235, allocations: 0 / 0.5208 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1236, allocations: 96 / 0.5208 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.18e-05/0.1237, allocations: 23.94 kB / 0.5209 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1237, allocations: 3.938 kB / 0.5209 GB, free: 6.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.1238, allocations: 136.6 kB / 0.521 GB, free: 6.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1238, allocations: 0 / 0.521 GB, free: 6.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1241, allocations: 16 kB / 0.521 GB, free: 6.398 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.0006654/0.1247, allocations: 0.7399 MB / 0.5217 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.125, allocations: 75.95 kB / 0.5218 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.125, allocations: 0 / 0.5218 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.125, allocations: 31.92 kB / 0.5218 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.1253, allocations: 9.938 kB / 0.5218 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.1277, allocations: 1.789 MB / 0.5236 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.1281, allocations: 0.7041 MB / 0.5243 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.057e-05/0.1281, allocations: 12.42 kB / 0.5243 GB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.1282, allocations: 35.44 kB / 0.5243 GB, free: 2.848 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1282, allocations: 0 / 0.5243 GB, free: 2.848 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1532, allocations: 2.478 MB / 0.5267 GB, free: 448 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.095, allocations: 9.906 kB / 0.5268 GB, free: 440 kB / 382.1 MB " [Timeout remaining time 652] (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: 25.89781896304339] Failed to read output from testmodel.py, exit status != 0: 8.162836197996512 8.185463081 8.063518425 Calling exit ...