Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.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.001407/0.001407, 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.001938/0.001938, allocations: 210.9 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1116/0.1116, allocations: 24.04 MB / 337.2 MB, free: 11.42 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.Stratified_storage_tank_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") [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.003178/0.003178, allocations: 59.91 kB / 475.1 MB, free: 5.113 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3913, allocations: 59.57 MB / 0.5222 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003): time 0.004326/0.3956, allocations: 2.927 MB / 0.525 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3973, allocations: 0.9028 MB / 0.5259 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.3975, allocations: 7.594 kB / 0.5259 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3978, allocations: 67.52 kB / 0.526 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.3981, allocations: 180.1 kB / 0.5261 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.3987, allocations: 194.4 kB / 0.5263 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007018/0.3995, allocations: 0.7441 MB / 0.5271 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.4, allocations: 362.6 kB / 0.5274 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.4004, allocations: 323.7 kB / 0.5277 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005081/0.4009, allocations: 354.4 kB / 0.528 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.401, allocations: 77.72 kB / 0.5281 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.4011, allocations: 76.78 kB / 0.5282 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.4013, allocations: 206 kB / 0.5284 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.4016, allocations: 294.9 kB / 0.5287 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008676/0.4024, allocations: 0.7991 MB / 0.5294 GB, free: 6.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4025, allocations: 0 / 0.5294 GB, free: 6.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4025, allocations: 0 / 0.5294 GB, free: 6.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.4025, allocations: 2.141 kB / 0.5295 GB, free: 6.527 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001874/0.4043, allocations: 0.8379 MB / 0.5303 GB, free: 5.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.4044, allocations: 10.42 kB / 0.5303 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.4045, allocations: 70.16 kB / 0.5303 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.4051, allocations: 339.9 kB / 0.5307 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.4053, allocations: 114.5 kB / 0.5308 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.4054, allocations: 49.33 kB / 0.5308 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.407, allocations: 0.7416 MB / 0.5316 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.407, allocations: 1.062 kB / 0.5316 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.407, allocations: 19.44 kB / 0.5316 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.4071, allocations: 12.44 kB / 0.5316 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.4086, allocations: 0.599 MB / 0.5322 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.4133, allocations: 2.268 MB / 0.5344 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.4145, allocations: 0.5362 MB / 0.5349 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008797/0.4154, allocations: 397.2 kB / 0.5353 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.449e-05/0.4154, allocations: 10.5 kB / 0.5353 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.4155, allocations: 41.7 kB / 0.5353 GB, free: 3.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.186e-06/0.4155, allocations: 0 / 0.5353 GB, free: 3.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.006104/0.4216, allocations: 2.213 MB / 0.5375 GB, free: 2.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.4216, allocations: 61.41 kB / 0.5376 GB, free: 2.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.4219, allocations: 280.5 kB / 0.5378 GB, free: 2.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.422, allocations: 36.45 kB / 0.5379 GB, free: 2.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.4221, allocations: 245.1 kB / 0.5381 GB, free: 2.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.4222, allocations: 201.8 kB / 0.5383 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.4224, allocations: 93.89 kB / 0.5384 GB, free: 1.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.4225, allocations: 350.2 kB / 0.5387 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008864/0.4234, allocations: 380.9 kB / 0.5391 GB, free: 1.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009046/0.4243, allocations: 419.8 kB / 0.5395 GB, free: 1.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006852/0.4312, allocations: 2.03 MB / 0.5415 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.4312, allocations: 4 kB / 0.5415 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002229/0.4334, allocations: 0.849 MB / 0.5423 GB, free: 68 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4334, allocations: 17.67 kB / 0.5423 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.4335, allocations: 1.562 kB / 0.5423 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.314e-05/0.4335, allocations: 7.828 kB / 0.5423 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005872/0.4394, allocations: 0.9142 MB / 0.5432 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/0.4394, allocations: 7.734 kB / 0.5432 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.4401, allocations: 54.5 kB / 0.5433 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-05/0.4402, allocations: 21.55 kB / 0.5433 GB, free: 15.7 MB / 398.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"cold height\" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0005057/0.4407, allocations: 200.2 kB / 0.5435 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.4408, allocations: 45.52 kB / 0.5435 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.443, allocations: 0.8444 MB / 0.5443 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.4431, allocations: 5.188 kB / 0.5443 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4431, allocations: 0 / 0.5443 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4431, allocations: 1.406 kB / 0.5443 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/0.447, allocations: 1.601 MB / 0.5459 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.447, allocations: 5.188 kB / 0.5459 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006196/0.4532, allocations: 0.9065 MB / 0.5468 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/0.4532, allocations: 3.656 kB / 0.5468 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.96e-05/0.4533, allocations: 18.64 kB / 0.5468 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.4533, allocations: 2.781 kB / 0.5468 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4533, allocations: 1.375 kB / 0.5468 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/0.4565, allocations: 1.292 MB / 0.5481 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.4567, allocations: 38.28 kB / 0.5481 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.4568, allocations: 13.75 kB / 0.5481 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/0.4574, allocations: 56.77 kB / 0.5482 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.4576, allocations: 80.14 kB / 0.5483 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.4577, allocations: 23.86 kB / 0.5483 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002447/0.4579, allocations: 196 kB / 0.5485 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4579, allocations: 1.156 kB / 0.5485 GB, free: 12.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006946/0.4586, allocations: 145.1 kB / 0.5486 GB, free: 12.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 55 * 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.0002412/0.4588, allocations: 130.3 kB / 0.5487 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002357/0.4612, allocations: 0.7608 MB / 0.5495 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4612, allocations: 0 / 0.5495 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.4622, allocations: 409.5 kB / 0.5499 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.4629, allocations: 84.86 kB / 0.55 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/0.4674, allocations: 1.806 MB / 0.5517 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.4678, allocations: 262.1 kB / 0.552 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005197/0.4683, allocations: 83.66 kB / 0.5521 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.4686, allocations: 47.33 kB / 0.5521 GB, free: 10.47 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4686, allocations: 0 / 0.5521 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Templates: time 0.01775/0.4864, allocations: 8.535 MB / 0.5604 GB, free: 3.668 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.sim & ./AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.494352467358112] Failed to read output from testmodel.py, exit status != 0: 0.4980703219771385 0.5120074640000001 0.10620856000000001 Calling exit ...