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.0007268/0.0007268, allocations: 84.44 kB / 20.71 MB, free: 3.848 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.0007317/0.0007317, allocations: 165.2 kB / 23.98 MB, free: 0.5742 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 0.8069/0.8069, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.05972/0.05972, allocations: 18.12 MB / 278.8 MB, free: 11.51 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_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: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 417.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.584e-05, allocations: 11.06 kB / 417.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003): time 0.002202/0.002218, allocations: 2.924 MB / 420 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009457/0.003163, allocations: 0.9116 MB / 420.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.003279, allocations: 12.94 kB / 421 MB, free: 9.488 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.00342, allocations: 66.55 kB / 421 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.003637, allocations: 187.4 kB / 421.2 MB, free: 9.316 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.003985, allocations: 198 kB / 421.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00045/0.004435, allocations: 0.7713 MB / 422.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.004781, allocations: 355.5 kB / 422.5 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.005056, allocations: 305.2 kB / 422.8 MB, free: 8.539 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.005367, allocations: 319.4 kB / 423.1 MB, free: 8.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.886e-05/0.005445, allocations: 77.28 kB / 423.2 MB, free: 8.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-05/0.005526, allocations: 77.72 kB / 423.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.005637, allocations: 212.5 kB / 423.5 MB, free: 8.305 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.005801, allocations: 258.2 kB / 423.7 MB, free: 8.184 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.006353, allocations: 0.8465 MB / 424.6 MB, free: 7.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006355, allocations: 1.125 kB / 424.6 MB, free: 7.855 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006356, allocations: 0 / 424.6 MB, free: 7.855 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.006363, allocations: 0 / 424.6 MB, free: 7.855 MB / 330.7 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.00104/0.007403, allocations: 0.8383 MB / 425.4 MB, free: 7.316 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.007431, allocations: 14.98 kB / 425.4 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.007516, allocations: 65.27 kB / 425.5 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.007852, allocations: 331.8 kB / 425.8 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.007932, allocations: 106.3 kB / 425.9 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.008008, allocations: 58.22 kB / 426 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009154/0.008923, allocations: 0.7332 MB / 426.7 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.008937, allocations: 1.281 kB / 426.7 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.008977, allocations: 20.78 kB / 426.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.008985, allocations: 15.5 kB / 426.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008747/0.00986, allocations: 0.5989 MB / 427.4 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.01252, allocations: 2.275 MB / 429.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006995/0.01322, allocations: 0.5443 MB / 430.2 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.01372, allocations: 399.6 kB / 430.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.01376, allocations: 6.406 kB / 430.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.01377, allocations: 41.81 kB / 430.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 1.713e-06/0.01377, allocations: 0 / 430.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=54): time 0.0033/0.01707, allocations: 2.218 MB / 432.8 MB, free: 3.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.01709, allocations: 57.12 kB / 432.9 MB, free: 3.805 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.01726, allocations: 276.2 kB / 433.2 MB, free: 3.648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.01729, allocations: 36.28 kB / 433.2 MB, free: 3.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.01736, allocations: 236.7 kB / 433.4 MB, free: 3.418 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.603e-05/0.01745, allocations: 197.9 kB / 433.6 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.01757, allocations: 105.3 kB / 433.7 MB, free: 3.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.936e-05/0.01761, allocations: 349 kB / 434.1 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.0181, allocations: 382.5 kB / 434.4 MB, free: 2.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.01859, allocations: 425.7 kB / 434.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.02192, allocations: 2.025 MB / 436.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.02192, allocations: 7.938 kB / 436.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00107/0.02299, allocations: 0.8524 MB / 437.7 MB, free: 1.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.02301, allocations: 9.562 kB / 437.7 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.02301, allocations: 2.156 kB / 437.7 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.02303, allocations: 3.469 kB / 437.7 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/0.02576, allocations: 0.9144 MB / 438.7 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.02577, allocations: 3.875 kB / 438.7 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.026, allocations: 62.48 kB / 438.7 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.02603, allocations: 21.48 kB / 438.7 MB, free: 0.7227 MB / 330.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: 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.0001882/0.02622, allocations: 205.6 kB / 438.9 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.02627, allocations: 38.86 kB / 439 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.02729, allocations: 0.8354 MB / 439.8 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.02729, allocations: 5.5 kB / 439.8 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.02729, allocations: 1.375 kB / 439.8 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.0273, allocations: 7.984 kB / 439.8 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.02927, allocations: 1.618 MB / 441.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02927, allocations: 0 / 441.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002862/0.03213, allocations: 0.9051 MB / 442.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.03213, allocations: 0 / 442.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.03217, allocations: 19.98 kB / 442.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.03217, allocations: 4 kB / 442.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.03217, allocations: 0 / 442.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.03377, allocations: 1.295 MB / 443.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.03381, allocations: 35.75 kB / 443.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.03387, allocations: 16 kB / 443.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.0341, allocations: 55.94 kB / 443.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.03421, allocations: 80.34 kB / 443.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.03424, allocations: 19.98 kB / 443.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.03436, allocations: 195.1 kB / 444.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03436, allocations: 0 / 444.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002909/0.03465, allocations: 152 kB / 444.2 MB, free: 12.05 MB / 346.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: 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 9.477e-05/0.03474, allocations: 131.5 kB / 444.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.03577, allocations: 0.7559 MB / 445.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.03577, allocations: 192 / 445.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.03628, allocations: 411 kB / 445.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.03659, allocations: 89.8 kB / 445.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.03845, allocations: 1.6 MB / 447.2 MB, free: 9.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.0386, allocations: 254.6 kB / 447.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.03881, allocations: 56.47 kB / 447.5 MB, free: 8.691 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03881, allocations: 0 / 447.5 MB, free: 8.691 MB / 346.7 MB Notification: Performance of Templates: time 0.005624/0.04444, allocations: 7.346 MB / 454.8 MB, free: 1.367 MB / 346.7 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: 4.19372833520174] Failed to read output from testmodel.py, exit status != 0: 0.04907084070146084 0.056259476 0.048409769000000005 Calling exit ...