Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.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.001621/0.001621, allocations: 108.2 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.002156/0.002156, allocations: 208.5 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.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1075/0.1075, allocations: 24.04 MB / 333.6 MB, free: 1.637 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) Running command: "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_openLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,fileNamePrefix="AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_openLoop",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.002049/0.002049, allocations: 66.62 kB / 468.4 MB, free: 31.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.1009, allocations: 59.54 MB / 0.5156 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.003598/0.1045, allocations: 2.131 MB / 0.5177 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004467/0.105, allocations: 151.4 kB / 0.5178 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1051, allocations: 4 kB / 0.5178 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.88e-05/0.1052, allocations: 35.66 kB / 0.5178 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1054, allocations: 51.48 kB / 0.5179 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.1055, allocations: 43.94 kB / 0.5179 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.1058, allocations: 191.1 kB / 0.5181 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.106, allocations: 75.92 kB / 0.5182 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1061, allocations: 67.78 kB / 0.5182 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1063, allocations: 91.56 kB / 0.5183 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.1064, allocations: 19.94 kB / 0.5184 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.828e-05/0.1064, allocations: 20 kB / 0.5184 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.1065, allocations: 31.92 kB / 0.5184 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1066, allocations: 87.59 kB / 0.5185 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.1068, allocations: 195.2 kB / 0.5187 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1068, allocations: 3.938 kB / 0.5187 GB, free: 9.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1068, allocations: 0 / 0.5187 GB, free: 9.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1068, allocations: 0 / 0.5187 GB, free: 9.117 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006676/0.1075, allocations: 462.8 kB / 0.5191 GB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1075, allocations: 8.031 kB / 0.5191 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.036e-05/0.1076, allocations: 54.73 kB / 0.5192 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.1077, allocations: 20.8 kB / 0.5192 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1078, allocations: 180.2 kB / 0.5194 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1078, allocations: 12.38 kB / 0.5194 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.1079, allocations: 20.38 kB / 0.5194 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.1082, allocations: 158.1 kB / 0.5196 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1082, allocations: 11.92 kB / 0.5196 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.1082, allocations: 4 kB / 0.5196 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1082, allocations: 11.98 kB / 0.5196 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.1085, allocations: 107.9 kB / 0.5197 GB, free: 7.984 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1096, allocations: 0.8638 MB / 0.5205 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.1099, allocations: 110.5 kB / 0.5206 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.11, allocations: 64.83 kB / 0.5207 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.11, allocations: 4 kB / 0.5207 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1101, allocations: 38.5 kB / 0.5207 GB, free: 6.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.1101, allocations: 0 / 0.5207 GB, free: 6.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004083/0.1105, allocations: 165.8 kB / 0.5209 GB, free: 6.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1105, allocations: 55.41 kB / 0.5209 GB, free: 6.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1106, allocations: 117.8 kB / 0.5211 GB, free: 6.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1107, allocations: 33.7 kB / 0.5211 GB, free: 6.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.1108, allocations: 124.3 kB / 0.5212 GB, free: 6.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.1108, allocations: 59.48 kB / 0.5213 GB, free: 6.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.1109, allocations: 41.64 kB / 0.5213 GB, free: 6.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.111, allocations: 326.8 kB / 0.5216 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.415e-05/0.1111, allocations: 39.98 kB / 0.5217 GB, free: 5.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1112, allocations: 76.2 kB / 0.5217 GB, free: 5.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.1119, allocations: 231.2 kB / 0.5219 GB, free: 5.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1119, allocations: 0 / 0.5219 GB, free: 5.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003044/0.1122, allocations: 163.6 kB / 0.5221 GB, free: 5.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1122, allocations: 11.94 kB / 0.5221 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1122, allocations: 11.92 kB / 0.5221 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1122, allocations: 0 / 0.5221 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1124, allocations: 35.98 kB / 0.5222 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1125, allocations: 7.938 kB / 0.5222 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.8e-05/0.1125, allocations: 19.84 kB / 0.5222 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.1126, allocations: 8 kB / 0.5222 GB, free: 5.168 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Cz1.T:VARIABLE(min = 0.0 start = 293.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of element\" type: Real Cz2.T:VARIABLE(min = 0.0 start = 293.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of element\" type: Real 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 (22): * Single equations (assignments): 22 * 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.0002261/0.1128, allocations: 142.9 kB / 0.5223 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.1128, allocations: 7.953 kB / 0.5223 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.1129, allocations: 16.84 kB / 0.5224 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1129, allocations: 4 kB / 0.5224 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1129, allocations: 3.938 kB / 0.5224 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1129, allocations: 0 / 0.5224 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.1132, allocations: 253.5 kB / 0.5226 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.1132, allocations: 11.98 kB / 0.5226 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.1134, allocations: 35.92 kB / 0.5226 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1134, allocations: 0 / 0.5226 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1135, allocations: 4 kB / 0.5227 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1135, allocations: 4 kB / 0.5227 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1135, allocations: 3.938 kB / 0.5227 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.1139, allocations: 271.5 kB / 0.5229 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.1139, allocations: 89.03 kB / 0.523 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.114, allocations: 8.062 kB / 0.523 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.076e-05/0.1141, allocations: 4 kB / 0.523 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.1141, allocations: 15.92 kB / 0.523 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1141, allocations: 4 kB / 0.523 GB, free: 4.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.1142, allocations: 95.2 kB / 0.5231 GB, free: 4.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1142, allocations: 0 / 0.5231 GB, free: 4.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1145, allocations: 47.83 kB / 0.5232 GB, free: 4.078 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cz1.T,Cz2.T) * 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 (16): * Single equations (assignments): 16 * 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.0007278/0.1152, allocations: 0.8235 MB / 0.524 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1155, allocations: 99.84 kB / 0.5241 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1155, allocations: 0 / 0.5241 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1156, allocations: 59.91 kB / 0.5241 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.1158, allocations: 24.88 kB / 0.5242 GB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.1182, allocations: 1.879 MB / 0.526 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1185, allocations: 0.7162 MB / 0.5267 GB, free: 340 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.071e-05/0.1186, allocations: 8.641 kB / 0.5267 GB, free: 332 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.1187, allocations: 43.42 kB / 0.5267 GB, free: 288 kB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1187, allocations: 4 kB / 0.5267 GB, free: 284 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.1454, allocations: 2.698 MB / 0.5294 GB, free: 13.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/8.265, allocations: 11.33 kB / 0.5294 GB, free: 13.75 MB / 398.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AES_AES_Coursework_ThermSys_control_problems_Thermal_zones_control_Thermal_zones_case_01_openLoop.fmu > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.267311648000032] Failed to read output from testmodel.py, exit status != 0: 8.333750252844766 8.351039136 8.240035066 Calling exit ...