Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.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.001467/0.001467, allocations: 84.23 kB / 20.23 MB, free: 4.18 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.001542/0.001542, allocations: 157.3 kB / 23.53 MB, free: 0.8789 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.536/1.536, allocations: 177.2 MB / 203.9 MB, free: 5.598 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.108/0.108, allocations: 18.14 MB / 278.5 MB, free: 11.33 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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 356.5 MB, free: 9.383 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.258e-05, allocations: 4.984 kB / 356.5 MB, free: 9.379 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002): time 0.007949/0.007982, allocations: 3.748 MB / 360.3 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.01153, allocations: 1.181 MB / 361.5 MB, free: 4.422 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003794/0.01191, allocations: 8 kB / 361.5 MB, free: 4.414 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.01231, allocations: 106.9 kB / 361.6 MB, free: 4.309 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009205/0.01323, allocations: 293.6 kB / 361.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.01442, allocations: 303.4 kB / 362.1 MB, free: 3.723 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.01658, allocations: 1.229 MB / 363.4 MB, free: 2.488 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.01786, allocations: 0.5793 MB / 364 MB, free: 1.895 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.01889, allocations: 466.9 kB / 364.4 MB, free: 1.438 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.02004, allocations: 0.4987 MB / 364.9 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.02031, allocations: 120 kB / 365 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.02061, allocations: 120 kB / 365.1 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004737/0.02108, allocations: 335 kB / 365.5 MB, free: 384 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007333/0.02181, allocations: 403.2 kB / 365.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.02404, allocations: 1.332 MB / 367.2 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.02404, allocations: 0 / 367.2 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.02405, allocations: 0 / 367.2 MB, free: 14.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.02407, allocations: 0 / 367.2 MB, free: 14.64 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004337/0.0284, allocations: 1.199 MB / 368.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.02847, allocations: 12.92 kB / 368.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004855/0.02895, allocations: 176.3 kB / 368.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.03019, allocations: 469.2 kB / 369 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/0.03047, allocations: 155.7 kB / 369.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.03073, allocations: 88.33 kB / 369.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.03415, allocations: 1.086 MB / 370.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.03418, allocations: 192 / 370.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.03433, allocations: 36.12 kB / 370.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/0.03437, allocations: 27.94 kB / 370.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.03754, allocations: 0.8861 MB / 371.3 MB, free: 10.43 MB / 346.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(tube.w) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.04847, allocations: 3.115 MB / 374.4 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.0516, allocations: 0.8638 MB / 375.3 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.05369, allocations: 0.5924 MB / 375.9 MB, free: 5.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.256e-05/0.05378, allocations: 16.59 kB / 375.9 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/0.05384, allocations: 43.22 kB / 375.9 MB, free: 5.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=79): time 3.717e-06/0.05384, allocations: 112 / 375.9 MB, free: 5.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=85): time 0.01315/0.067, allocations: 3.114 MB / 379.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.06707, allocations: 60.41 kB / 379.1 MB, free: 2.512 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008035/0.06787, allocations: 405.9 kB / 379.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.06799, allocations: 41.7 kB / 379.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/0.06839, allocations: 337 kB / 379.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004708/0.06886, allocations: 329.2 kB / 380.2 MB, free: 1.398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004553/0.06932, allocations: 154.6 kB / 380.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002486/0.06957, allocations: 370.8 kB / 380.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.07091, allocations: 0.5396 MB / 381.3 MB, free: 336 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.07236, allocations: 0.6134 MB / 381.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.08369, allocations: 3.07 MB / 384.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.0837, allocations: 0 / 384.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003312/0.08701, allocations: 1.309 MB / 386.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.08704, allocations: 11.94 kB / 386.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.08705, allocations: 0 / 386.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.08707, allocations: 8 kB / 386.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007003/0.09408, allocations: 1.034 MB / 387.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-05/0.09412, allocations: 11.94 kB / 387.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/0.09501, allocations: 75.92 kB / 387.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.09512, allocations: 35.98 kB / 387.4 MB, free: 10.08 MB / 362.7 MB Warning: Assuming fixed start value for the following 7 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real HnoTank.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 HnoTank.Tfo:VARIABLE(min = 0.0 start = HnoTank.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.tubeNoTank.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (114): * Single equations (assignments): 114 * 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.0005583/0.09568, allocations: 246 kB / 387.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.09591, allocations: 91.56 kB / 387.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.09902, allocations: 1.197 MB / 389 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.09904, allocations: 15.98 kB / 389 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.09906, allocations: 3.984 kB / 389 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.09907, allocations: 3.984 kB / 389 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/0.1045, allocations: 2.187 MB / 391.2 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.1045, allocations: 4 kB / 391.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007036/0.1116, allocations: 1.011 MB / 392.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.911e-05/0.1116, allocations: 4 kB / 392.2 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.1117, allocations: 27.98 kB / 392.2 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.1117, allocations: 4 kB / 392.2 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1117, allocations: 4 kB / 392.2 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004672/0.1164, allocations: 1.858 MB / 394.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.1166, allocations: 59.55 kB / 394.1 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.1167, allocations: 23.98 kB / 394.2 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/0.1174, allocations: 71.92 kB / 394.2 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/0.1177, allocations: 116.3 kB / 394.3 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.779e-05/0.1178, allocations: 27.98 kB / 394.4 MB, free: 3.031 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003903/0.1182, allocations: 283.2 kB / 394.6 MB, free: 2.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1182, allocations: 0 / 394.6 MB, free: 2.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007554/0.119, allocations: 228 kB / 394.9 MB, free: 2.531 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 17 (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],tubeNoTank.T[1],tubeNoTank.T[2],tubeNoTank.T[3],tubeNoTank.T[4],tubeNoTank.T[5],HnoTank.Tfo,HnoTank.Ec) * 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 simulation (87): * Single equations (assignments): 87 * 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.0002012/0.1192, allocations: 135.1 kB / 395 MB, free: 2.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002779/0.1219, allocations: 1.095 MB / 396.1 MB, free: 1.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1219, allocations: 0 / 396.1 MB, free: 1.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.1233, allocations: 0.5705 MB / 396.7 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007995/0.1241, allocations: 159.9 kB / 396.8 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006008/0.1301, allocations: 2.482 MB / 399.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.1306, allocations: 372.4 kB / 399.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006801/0.1313, allocations: 157.1 kB / 399.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/0.1316, allocations: 72.47 kB / 399.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1316, allocations: 0 / 399.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of Templates: time 0.02171/0.1534, allocations: 11.53 MB / 411.4 MB, free: 2.016 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.sim & ./AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0783423989778385]