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.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.001365/0.001365, allocations: 108.8 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.001499/0.001499, 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.576/1.576, 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.1138/0.1138, allocations: 24.03 MB / 333.6 MB, free: 1.566 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_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: 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.002152/0.002152, allocations: 73.55 kB / 468.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1298, allocations: 59.55 MB / 0.5156 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003827/0.1336, allocations: 2.199 MB / 0.5177 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004321/0.1341, allocations: 211.1 kB / 0.5179 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1342, allocations: 11.94 kB / 0.5179 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.668e-05/0.1343, allocations: 31.64 kB / 0.518 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.1346, allocations: 99.23 kB / 0.5181 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1347, allocations: 51.88 kB / 0.5181 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.1351, allocations: 282.5 kB / 0.5184 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.1354, allocations: 108.7 kB / 0.5185 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.1357, allocations: 127.5 kB / 0.5186 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.1359, allocations: 95.56 kB / 0.5187 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.1359, allocations: 16 kB / 0.5187 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.795e-05/0.136, allocations: 12 kB / 0.5187 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.136, allocations: 39.8 kB / 0.5188 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1361, allocations: 107.4 kB / 0.5189 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.1366, allocations: 219 kB / 0.5191 GB, free: 8.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1366, allocations: 0 / 0.5191 GB, free: 8.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1366, allocations: 0 / 0.5191 GB, free: 8.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1366, allocations: 0 / 0.5191 GB, free: 8.715 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.001008/0.1376, allocations: 0.5157 MB / 0.5196 GB, free: 8.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.1376, allocations: 16.56 kB / 0.5196 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.1377, allocations: 46.73 kB / 0.5196 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.1378, allocations: 24.8 kB / 0.5197 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.1382, allocations: 273.7 kB / 0.5199 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1382, allocations: 12.38 kB / 0.5199 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.1382, allocations: 12.38 kB / 0.5199 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.1386, allocations: 175.1 kB / 0.5201 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1386, allocations: 0 / 0.5201 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1386, allocations: 4 kB / 0.5201 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1386, allocations: 4 kB / 0.5201 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.1389, allocations: 91.89 kB / 0.5202 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1399, allocations: 0.8174 MB / 0.521 GB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.1401, allocations: 70.56 kB / 0.5211 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.017e-05/0.1402, allocations: 44.84 kB / 0.5211 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.1402, allocations: 0 / 0.5211 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.1403, allocations: 34.56 kB / 0.5211 GB, free: 6.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 4.939e-06/0.1403, allocations: 3.984 kB / 0.5211 GB, free: 6.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003829/0.1407, allocations: 125.6 kB / 0.5213 GB, free: 6.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.1407, allocations: 59.34 kB / 0.5213 GB, free: 6.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.141, allocations: 263 kB / 0.5216 GB, free: 5.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.141, allocations: 41.69 kB / 0.5216 GB, free: 5.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1411, allocations: 136 kB / 0.5217 GB, free: 5.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1412, allocations: 31.73 kB / 0.5218 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.817e-05/0.1413, allocations: 29.66 kB / 0.5218 GB, free: 5.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1414, allocations: 338.8 kB / 0.5221 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.1415, allocations: 23.98 kB / 0.5221 GB, free: 5.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.1416, allocations: 46.56 kB / 0.5222 GB, free: 5.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.1422, allocations: 162.4 kB / 0.5223 GB, free: 5.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1422, allocations: 4 kB / 0.5223 GB, free: 5.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002279/0.1424, allocations: 137.5 kB / 0.5225 GB, free: 4.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1424, allocations: 4 kB / 0.5225 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1424, allocations: 4 kB / 0.5225 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1424, allocations: 0 / 0.5225 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.1426, allocations: 27.92 kB / 0.5225 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1426, allocations: 7.938 kB / 0.5225 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.1427, allocations: 15.83 kB / 0.5225 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1427, allocations: 4 kB / 0.5225 GB, free: 4.867 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.0002642/0.143, allocations: 145.3 kB / 0.5227 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.143, allocations: 23.86 kB / 0.5227 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.1431, allocations: 25.73 kB / 0.5227 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1431, allocations: 4 kB / 0.5227 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.1431, allocations: 3.938 kB / 0.5227 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1431, allocations: 0 / 0.5227 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.1434, allocations: 237.6 kB / 0.523 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.1434, allocations: 7.984 kB / 0.523 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1435, allocations: 15.94 kB / 0.523 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1435, allocations: 4 kB / 0.523 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1436, allocations: 4 kB / 0.523 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1436, allocations: 0 / 0.523 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1436, allocations: 3.938 kB / 0.523 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.1439, allocations: 231.4 kB / 0.5232 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.144, allocations: 105 kB / 0.5233 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1441, allocations: 0 / 0.5233 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1442, allocations: 8 kB / 0.5233 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.1442, allocations: 11.92 kB / 0.5233 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.1442, allocations: 4 kB / 0.5233 GB, free: 3.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.1444, allocations: 190 kB / 0.5235 GB, free: 3.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1444, allocations: 7.938 kB / 0.5235 GB, free: 3.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1447, allocations: 39.94 kB / 0.5236 GB, free: 3.727 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.0007137/0.1454, allocations: 0.7631 MB / 0.5243 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1456, allocations: 72.11 kB / 0.5244 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1456, allocations: 0 / 0.5244 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.1456, allocations: 35.92 kB / 0.5244 GB, free: 2.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.1461, allocations: 59.84 kB / 0.5245 GB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.1489, allocations: 2.305 MB / 0.5267 GB, free: 388 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1493, allocations: 0.7323 MB / 0.5274 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001507/0.1495, allocations: 22.3 kB / 0.5275 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1496, allocations: 67.41 kB / 0.5275 GB, free: 15.53 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1496, allocations: 0 / 0.5275 GB, free: 15.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.1786, allocations: 4.673 MB / 0.5321 GB, free: 10.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/8.531, allocations: 0 / 0.5321 GB, free: 10.96 MB / 398.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.489072564058006] Failed to read output from testmodel.py, exit status != 0: 8.60152531391941 8.616601308 8.477041129 Calling exit ...