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.001319/0.001319, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001584/0.001584, allocations: 212.6 kB / 23.01 MB, free: 4.992 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1603/0.1603, allocations: 24.04 MB / 337.2 MB, free: 11.32 MB / 270.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.002114/0.002114, allocations: 71.89 kB / 473.8 MB, free: 6.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3326, allocations: 59.58 MB / 0.5209 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003084/0.3357, allocations: 2.058 MB / 0.5229 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004619/0.3362, allocations: 198.4 kB / 0.5231 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.3363, allocations: 19.81 kB / 0.5231 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.972e-05/0.3364, allocations: 27.58 kB / 0.5231 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.3366, allocations: 101.8 kB / 0.5232 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.3368, allocations: 36.75 kB / 0.5233 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.337, allocations: 289.1 kB / 0.5236 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.3373, allocations: 106.6 kB / 0.5237 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.3375, allocations: 135.1 kB / 0.5238 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.3377, allocations: 78.34 kB / 0.5239 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.3377, allocations: 13.44 kB / 0.5239 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.444e-05/0.3378, allocations: 14.34 kB / 0.5239 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.3378, allocations: 42.09 kB / 0.5239 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3379, allocations: 90.31 kB / 0.524 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.3382, allocations: 219.4 kB / 0.5242 GB, free: 8.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3382, allocations: 4.562 kB / 0.5242 GB, free: 8.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3382, allocations: 0 / 0.5242 GB, free: 8.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3382, allocations: 1.156 kB / 0.5242 GB, free: 8.004 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.0006473/0.3389, allocations: 445.9 kB / 0.5247 GB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3389, allocations: 10.17 kB / 0.5247 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.3389, allocations: 42.05 kB / 0.5247 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.339, allocations: 32.14 kB / 0.5247 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.3393, allocations: 213.4 kB / 0.5249 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3393, allocations: 9.969 kB / 0.5249 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.3394, allocations: 12.89 kB / 0.525 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.3396, allocations: 168.8 kB / 0.5251 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3396, allocations: 0.9688 kB / 0.5251 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3396, allocations: 5.938 kB / 0.5251 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3397, allocations: 3.688 kB / 0.5251 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.3398, allocations: 92.7 kB / 0.5252 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.3405, allocations: 0.7615 MB / 0.526 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3407, allocations: 69.02 kB / 0.526 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.3408, allocations: 39.72 kB / 0.5261 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.3408, allocations: 1.984 kB / 0.5261 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.3408, allocations: 32.62 kB / 0.5261 GB, free: 6.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.3408, allocations: 0 / 0.5261 GB, free: 6.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002724/0.3411, allocations: 128.8 kB / 0.5262 GB, free: 6.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.3411, allocations: 56.69 kB / 0.5263 GB, free: 6.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.3414, allocations: 273.2 kB / 0.5265 GB, free: 6.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3414, allocations: 25.7 kB / 0.5266 GB, free: 6.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.3415, allocations: 146.9 kB / 0.5267 GB, free: 5.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.3415, allocations: 34.44 kB / 0.5267 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.3415, allocations: 27.92 kB / 0.5268 GB, free: 5.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.3416, allocations: 332.8 kB / 0.5271 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.3417, allocations: 27.5 kB / 0.5271 GB, free: 5.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.3417, allocations: 52.31 kB / 0.5272 GB, free: 5.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005396/0.3423, allocations: 156.4 kB / 0.5273 GB, free: 5.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3423, allocations: 0 / 0.5273 GB, free: 5.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002217/0.3425, allocations: 138.9 kB / 0.5274 GB, free: 5.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3425, allocations: 7.5 kB / 0.5274 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3425, allocations: 1.891 kB / 0.5274 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3425, allocations: 5.219 kB / 0.5274 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3427, allocations: 32.19 kB / 0.5275 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3427, allocations: 6.109 kB / 0.5275 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.964e-05/0.3428, allocations: 21.22 kB / 0.5275 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3428, allocations: 6.609 kB / 0.5275 GB, free: 5.359 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.0001514/0.343, allocations: 135.3 kB / 0.5276 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.343, allocations: 29.7 kB / 0.5277 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.3431, allocations: 23.75 kB / 0.5277 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3431, allocations: 2.156 kB / 0.5277 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3431, allocations: 3.938 kB / 0.5277 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3431, allocations: 0.6094 kB / 0.5277 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.3434, allocations: 203.3 kB / 0.5279 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3434, allocations: 0 / 0.5279 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.3435, allocations: 18.22 kB / 0.5279 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3435, allocations: 1.188 kB / 0.5279 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3435, allocations: 5.188 kB / 0.5279 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3435, allocations: 0.5156 kB / 0.5279 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3435, allocations: 9 kB / 0.5279 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.3438, allocations: 238.4 kB / 0.5282 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.3438, allocations: 24.77 kB / 0.5282 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.3439, allocations: 5.188 kB / 0.5282 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.344, allocations: 0.6094 kB / 0.5282 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.344, allocations: 12.77 kB / 0.5282 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.344, allocations: 2.875 kB / 0.5282 GB, free: 4.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.3442, allocations: 194.9 kB / 0.5284 GB, free: 4.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3442, allocations: 0 / 0.5284 GB, free: 4.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.3445, allocations: 37.56 kB / 0.5284 GB, free: 4.672 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.0004313/0.3449, allocations: 0.7659 MB / 0.5292 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3451, allocations: 74.02 kB / 0.5292 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3451, allocations: 0 / 0.5292 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.3451, allocations: 33.11 kB / 0.5293 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.3455, allocations: 57.62 kB / 0.5293 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.3479, allocations: 2.313 MB / 0.5316 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.878e-05/0.348, allocations: 121.4 kB / 0.5317 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.3481, allocations: 25.44 kB / 0.5317 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.3481, allocations: 66.38 kB / 0.5318 GB, free: 2.102 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3482, allocations: 4 kB / 0.5318 GB, free: 2.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.382, allocations: 5.5 MB / 0.5372 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.67, allocations: 3.719 kB / 0.5372 GB, free: 0.9531 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.458535296842456] Failed to read output from testmodel.py, exit status != 0: 11.77236425690353 11.789211882 11.447845067 Calling exit ...