Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_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.001403/0.001403, allocations: 80.23 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001638/0.001638, allocations: 157.7 kB / 23.53 MB, free: 0.8984 MB / 18.57 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.512/1.512, allocations: 177.2 MB / 203.9 MB, free: 5.574 MB / 186.7 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.1102/0.1102, allocations: 18.14 MB / 278.5 MB, free: 11.31 MB / 266.7 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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 357.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.796e-05, allocations: 5.125 kB / 357.3 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.00695/0.006988, allocations: 2.922 MB / 360.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.009958, allocations: 0.9195 MB / 361.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003152/0.01027, allocations: 7.938 kB / 361.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.01062, allocations: 63.36 kB / 361.2 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007715/0.01139, allocations: 186.4 kB / 361.4 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.01248, allocations: 199.6 kB / 361.6 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.01408, allocations: 0.7599 MB / 362.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008886/0.01497, allocations: 374.2 kB / 362.7 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006909/0.01566, allocations: 303.3 kB / 363 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.01642, allocations: 319.2 kB / 363.3 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.0166, allocations: 76 kB / 363.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.0168, allocations: 76 kB / 363.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.01714, allocations: 215.4 kB / 363.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004686/0.01761, allocations: 251.5 kB / 363.9 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.01916, allocations: 0.8491 MB / 364.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.01917, allocations: 0 / 364.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01917, allocations: 0 / 364.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.01918, allocations: 4 kB / 364.8 MB, free: 15.87 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003164/0.02234, allocations: 0.8324 MB / 365.6 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.02239, allocations: 12.92 kB / 365.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/0.02276, allocations: 112.6 kB / 365.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009432/0.0237, allocations: 333.2 kB / 366.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.02393, allocations: 112.9 kB / 366.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.02411, allocations: 56.33 kB / 366.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.02676, allocations: 0.7325 MB / 367 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.02678, allocations: 192 / 367 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.02689, allocations: 28.11 kB / 367 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.02691, allocations: 12 kB / 367 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.02942, allocations: 0.6011 MB / 367.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008668/0.03809, allocations: 2.285 MB / 369.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.04037, allocations: 0.512 MB / 370.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.0421, allocations: 393.4 kB / 370.8 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.902e-05/0.04217, allocations: 8.375 kB / 370.8 MB, free: 9.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.04223, allocations: 42.88 kB / 370.8 MB, free: 9.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 3.406e-06/0.04223, allocations: 0 / 370.8 MB, free: 9.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.0113/0.05353, allocations: 2.194 MB / 373 MB, free: 7.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.05361, allocations: 63.91 kB / 373.1 MB, free: 7.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.05415, allocations: 276.2 kB / 373.4 MB, free: 7.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.269e-05/0.05424, allocations: 33.7 kB / 373.4 MB, free: 7.051 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.05454, allocations: 241.1 kB / 373.6 MB, free: 6.812 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.05485, allocations: 194.9 kB / 373.8 MB, free: 6.621 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.05518, allocations: 98.28 kB / 373.9 MB, free: 6.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000312/0.05549, allocations: 350.8 kB / 374.3 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.05711, allocations: 375.2 kB / 374.6 MB, free: 5.793 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.05886, allocations: 417.7 kB / 375 MB, free: 5.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/0.07195, allocations: 2.008 MB / 377.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.926e-06/0.07196, allocations: 4 kB / 377.1 MB, free: 3.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003974/0.07593, allocations: 0.8603 MB / 377.9 MB, free: 2.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.07597, allocations: 11.92 kB / 377.9 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.07599, allocations: 8.156 kB / 377.9 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.351e-05/0.07602, allocations: 8 kB / 377.9 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01082/0.08684, allocations: 0.8895 MB / 378.8 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.742e-05/0.08687, allocations: 7.938 kB / 378.8 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000982/0.08785, allocations: 59.92 kB / 378.9 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.08795, allocations: 20 kB / 378.9 MB, free: 1.457 MB / 298.7 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: 8 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0006223/0.08857, allocations: 198.5 kB / 379.1 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/0.08884, allocations: 71.59 kB / 379.2 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.09269, allocations: 0.8215 MB / 380 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.09271, allocations: 4 kB / 380 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.09272, allocations: 8 kB / 380 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.09273, allocations: 3.984 kB / 380 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006766/0.0995, allocations: 1.587 MB / 381.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.09951, allocations: 0 / 381.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01106/0.1106, allocations: 0.8934 MB / 382.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.066e-05/0.1106, allocations: 0 / 382.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/0.1108, allocations: 19.98 kB / 382.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/0.1108, allocations: 4 kB / 382.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.1108, allocations: 7.938 kB / 382.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00589/0.1167, allocations: 1.279 MB / 383.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.1169, allocations: 39.75 kB / 383.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.1171, allocations: 12 kB / 383.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000966/0.118, allocations: 59.92 kB / 383.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/0.1184, allocations: 80.38 kB / 384 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.1185, allocations: 19.98 kB / 384 MB, free: 12.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004663/0.119, allocations: 199.1 kB / 384.2 MB, free: 12.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.119, allocations: 0 / 384.2 MB, free: 12.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001047/0.12, allocations: 147.9 kB / 384.4 MB, free: 11.92 MB / 314.7 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.0002897/0.1203, allocations: 115.2 kB / 384.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.124, allocations: 0.7442 MB / 385.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.124, allocations: 3.938 kB / 385.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.1259, allocations: 419 kB / 385.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.127, allocations: 105 kB / 385.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007938/0.1349, allocations: 1.673 MB / 387.4 MB, free: 8.824 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.1354, allocations: 254 kB / 387.7 MB, free: 8.555 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007425/0.1362, allocations: 87.27 kB / 387.7 MB, free: 8.469 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004312/0.1366, allocations: 52.47 kB / 387.8 MB, free: 8.418 MB / 314.7 MB Notification: Performance of SimCode: time 1.694e-06/0.1366, allocations: 0 / 387.8 MB, free: 8.418 MB / 314.7 MB Notification: Performance of Templates: time 0.0249/0.1615, allocations: 7.793 MB / 395.6 MB, free: 0.7188 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001 -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_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.869133212021552]