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.00182/0.00182, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.002393/0.002393, allocations: 208.4 kB / 23 MB, free: 4.621 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1086/0.1086, allocations: 24.04 MB / 337.2 MB, free: 11.33 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: translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001") [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.003341/0.003341, allocations: 71.89 kB / 474.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3928, allocations: 59.57 MB / 0.5214 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003763/0.3966, allocations: 2.067 MB / 0.5234 GB, free: 9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004478/0.397, allocations: 190.9 kB / 0.5236 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.3972, allocations: 15.91 kB / 0.5236 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.755e-05/0.3973, allocations: 31.89 kB / 0.5236 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.3975, allocations: 109.9 kB / 0.5237 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.3976, allocations: 36.3 kB / 0.5238 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.3979, allocations: 289.3 kB / 0.524 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.3982, allocations: 106.1 kB / 0.5241 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.3984, allocations: 131.6 kB / 0.5243 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.3986, allocations: 87.14 kB / 0.5244 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.3986, allocations: 12.72 kB / 0.5244 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.464e-05/0.3987, allocations: 13.97 kB / 0.5244 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.3987, allocations: 33.95 kB / 0.5244 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.3988, allocations: 86.53 kB / 0.5245 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.3991, allocations: 224.9 kB / 0.5247 GB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3992, allocations: 0 / 0.5247 GB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3992, allocations: 1.25 kB / 0.5247 GB, free: 8.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3992, allocations: 0 / 0.5247 GB, free: 8.309 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.0007188/0.3999, allocations: 449.9 kB / 0.5251 GB, free: 7.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3999, allocations: 10.55 kB / 0.5251 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.4, allocations: 24.52 kB / 0.5252 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.4004, allocations: 213.6 kB / 0.5254 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4004, allocations: 13.03 kB / 0.5254 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.4004, allocations: 16.72 kB / 0.5254 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.4007, allocations: 167 kB / 0.5256 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4007, allocations: 0 / 0.5256 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.4008, allocations: 6.094 kB / 0.5256 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4008, allocations: 3.375 kB / 0.5256 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.401, allocations: 89.84 kB / 0.5257 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008174/0.4018, allocations: 0.7026 MB / 0.5263 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.402, allocations: 75.66 kB / 0.5264 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.4021, allocations: 39.42 kB / 0.5265 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.4021, allocations: 1.062 kB / 0.5265 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.4021, allocations: 33.36 kB / 0.5265 GB, free: 6.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.4021, allocations: 0 / 0.5265 GB, free: 6.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003293/0.4024, allocations: 126.3 kB / 0.5266 GB, free: 6.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.4025, allocations: 61.5 kB / 0.5267 GB, free: 6.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.4028, allocations: 215.8 kB / 0.5269 GB, free: 6.551 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.4028, allocations: 25.7 kB / 0.5269 GB, free: 6.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.4029, allocations: 157.2 kB / 0.527 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.4029, allocations: 38.94 kB / 0.5271 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.403, allocations: 31.19 kB / 0.5271 GB, free: 6.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.4031, allocations: 334 kB / 0.5274 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.894e-05/0.4031, allocations: 24.33 kB / 0.5275 GB, free: 5.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.4032, allocations: 49.08 kB / 0.5275 GB, free: 5.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.4037, allocations: 159.5 kB / 0.5277 GB, free: 5.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4037, allocations: 5.469 kB / 0.5277 GB, free: 5.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002259/0.404, allocations: 136.1 kB / 0.5278 GB, free: 5.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.404, allocations: 5.344 kB / 0.5278 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.404, allocations: 1.719 kB / 0.5278 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.404, allocations: 1.156 kB / 0.5278 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.4042, allocations: 28.06 kB / 0.5278 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.4042, allocations: 1.906 kB / 0.5278 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/0.4043, allocations: 14.69 kB / 0.5278 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4043, allocations: 7.406 kB / 0.5278 GB, free: 5.773 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.000168/0.4045, allocations: 134.7 kB / 0.528 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.4045, allocations: 20.73 kB / 0.528 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.4045, allocations: 22.02 kB / 0.528 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4046, allocations: 4.594 kB / 0.528 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4046, allocations: 0.9688 kB / 0.528 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4046, allocations: 8.594 kB / 0.528 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.4048, allocations: 174.9 kB / 0.5282 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4048, allocations: 0 / 0.5282 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.4049, allocations: 18.81 kB / 0.5282 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4049, allocations: 1.031 kB / 0.5282 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4049, allocations: 1.125 kB / 0.5282 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.405, allocations: 1.984 kB / 0.5282 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.405, allocations: 0 / 0.5282 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.4053, allocations: 233.1 kB / 0.5284 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.4053, allocations: 18.69 kB / 0.5285 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.4053, allocations: 5.75 kB / 0.5285 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.4054, allocations: 4.656 kB / 0.5285 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.4055, allocations: 4.453 kB / 0.5285 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.4055, allocations: 6.5 kB / 0.5285 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.4056, allocations: 156.4 kB / 0.5286 GB, free: 5.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4056, allocations: 0 / 0.5286 GB, free: 5.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.4059, allocations: 54.7 kB / 0.5287 GB, free: 5.137 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.0001052/0.406, allocations: 97.89 kB / 0.5288 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.4062, allocations: 74.66 kB / 0.5288 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4062, allocations: 4.125 kB / 0.5288 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.4062, allocations: 28.53 kB / 0.5289 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.4066, allocations: 52.33 kB / 0.5289 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008937/0.4075, allocations: 0.4996 MB / 0.5294 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.4077, allocations: 122.8 kB / 0.5295 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.4078, allocations: 22.91 kB / 0.5296 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.4078, allocations: 16.5 kB / 0.5296 GB, free: 4.547 MB / 382.1 MB Notification: Performance of SimCode: time 5.72e-07/0.4078, allocations: 0 / 0.5296 GB, free: 4.547 MB / 382.1 MB Notification: Performance of Templates: time 0.006854/0.4147, allocations: 2.522 MB / 0.532 GB, free: 4.223 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.makefile [Timeout 660] (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 & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.197394436225295] Failed to read output from testmodel.py, exit status != 0: 0.4267046209424734 0.43857978900000005 0.036243971 Calling exit ...