Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 108 kB / 16.4 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002209/0.002209, allocations: 191.7 kB / 19.36 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.1615/0.1615, allocations: 22.34 MB / 319.6 MB, free: 6.75 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Coursework.ThermSys_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.89 kB / 445.3 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1066, allocations: 54.94 MB / 0.4885 GB, free: 1.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003384/0.11, allocations: 2.201 MB / 0.4906 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004292/0.1105, allocations: 199.2 kB / 0.4908 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1106, allocations: 11.94 kB / 0.4908 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.018e-05/0.1106, allocations: 27.7 kB / 0.4908 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1109, allocations: 103.2 kB / 0.4909 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.1111, allocations: 39.95 kB / 0.491 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.1114, allocations: 286.5 kB / 0.4913 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.1116, allocations: 134.8 kB / 0.4914 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.1118, allocations: 107.6 kB / 0.4915 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.112, allocations: 95.52 kB / 0.4916 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.112, allocations: 12 kB / 0.4916 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.888e-05/0.1121, allocations: 20 kB / 0.4916 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.1121, allocations: 31.84 kB / 0.4916 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1122, allocations: 107.4 kB / 0.4917 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.1125, allocations: 223 kB / 0.492 GB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1125, allocations: 0 / 0.492 GB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1125, allocations: 0 / 0.492 GB, free: 14.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1125, allocations: 0 / 0.492 GB, free: 14.02 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007497/0.1133, allocations: 0.5138 MB / 0.4925 GB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1133, allocations: 12.03 kB / 0.4925 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.1134, allocations: 46.73 kB / 0.4925 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.1134, allocations: 24.8 kB / 0.4925 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.1138, allocations: 268.7 kB / 0.4928 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1138, allocations: 12.38 kB / 0.4928 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.1139, allocations: 16.33 kB / 0.4928 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.1142, allocations: 179.1 kB / 0.493 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1142, allocations: 0 / 0.493 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1142, allocations: 4 kB / 0.493 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1142, allocations: 4 kB / 0.493 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.1144, allocations: 91.89 kB / 0.4931 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.1154, allocations: 0.8057 MB / 0.4939 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1156, allocations: 78.48 kB / 0.4939 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.1157, allocations: 44.84 kB / 0.494 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.1157, allocations: 0 / 0.494 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1157, allocations: 34.56 kB / 0.494 GB, free: 11.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 4.759e-06/0.1157, allocations: 3.984 kB / 0.494 GB, free: 11.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002892/0.116, allocations: 121.6 kB / 0.4941 GB, free: 11.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1161, allocations: 67.33 kB / 0.4942 GB, free: 11.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1164, allocations: 267 kB / 0.4945 GB, free: 11.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1164, allocations: 29.7 kB / 0.4945 GB, free: 11.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1165, allocations: 144 kB / 0.4946 GB, free: 11.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.1166, allocations: 31.73 kB / 0.4947 GB, free: 11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.1166, allocations: 25.72 kB / 0.4947 GB, free: 10.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1168, allocations: 334.8 kB / 0.495 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.1168, allocations: 27.98 kB / 0.495 GB, free: 10.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.1169, allocations: 46.56 kB / 0.4951 GB, free: 10.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.1175, allocations: 166.3 kB / 0.4952 GB, free: 10.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1175, allocations: 0 / 0.4952 GB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002318/0.1177, allocations: 149.5 kB / 0.4954 GB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1177, allocations: 4 kB / 0.4954 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1178, allocations: 4 kB / 0.4954 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1178, allocations: 3.938 kB / 0.4954 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.118, allocations: 23.98 kB / 0.4954 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.118, allocations: 7.938 kB / 0.4954 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.311e-05/0.1181, allocations: 11.89 kB / 0.4954 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1181, allocations: 8 kB / 0.4954 GB, free: 10.17 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * 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.0001705/0.1183, allocations: 138.4 kB / 0.4956 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.1183, allocations: 23.86 kB / 0.4956 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.1184, allocations: 25.73 kB / 0.4956 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.1184, allocations: 4 kB / 0.4956 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1184, allocations: 3.938 kB / 0.4956 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1184, allocations: 0 / 0.4956 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.1187, allocations: 233.5 kB / 0.4958 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1187, allocations: 8 kB / 0.4959 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1188, allocations: 15.98 kB / 0.4959 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1189, allocations: 4 kB / 0.4959 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1189, allocations: 4 kB / 0.4959 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1189, allocations: 0 / 0.4959 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1189, allocations: 3.938 kB / 0.4959 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.1192, allocations: 239.6 kB / 0.4961 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/0.1193, allocations: 101 kB / 0.4962 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.1193, allocations: 8 kB / 0.4962 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1194, allocations: 0 / 0.4962 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.1195, allocations: 15.92 kB / 0.4962 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.1195, allocations: 4 kB / 0.4962 GB, free: 9.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.1197, allocations: 190 kB / 0.4964 GB, free: 9.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1197, allocations: 0 / 0.4964 GB, free: 9.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.12, allocations: 43.94 kB / 0.4965 GB, free: 9.035 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * 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.0006267/0.1206, allocations: 0.7708 MB / 0.4972 GB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.1208, allocations: 71.95 kB / 0.4973 GB, free: 8.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1208, allocations: 4 kB / 0.4973 GB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/0.1209, allocations: 31.92 kB / 0.4973 GB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1212, allocations: 61.3 kB / 0.4974 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.1239, allocations: 2.304 MB / 0.4996 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1243, allocations: 0.7324 MB / 0.5003 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.1244, allocations: 26.28 kB / 0.5004 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1245, allocations: 63.42 kB / 0.5004 GB, free: 4.828 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1246, allocations: 0 / 0.5004 GB, free: 4.828 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.1518, allocations: 4.637 MB / 0.5049 GB, free: 308 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.595, allocations: 14.77 kB / 0.505 GB, free: 296 kB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001.fmu > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.583515078062192] Failed to read output from testmodel.py, exit status != 0: 8.943369321059436 8.954944455 8.839986083 Calling exit ...