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.001046/0.001046, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001134/0.001134, allocations: 163.6 kB / 24.86 MB, free: 8.766 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.06424/0.06424, allocations: 18.14 MB / 280 MB, free: 11.14 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 1.633e-06/1.633e-06, allocations: 0 / 359.4 MB, free: 7.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.01e-05, allocations: 2.312 kB / 359.4 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.003526/0.003557, allocations: 3.148 MB / 362.5 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.005185, allocations: 0.9194 MB / 363.5 MB, free: 3.641 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.005397, allocations: 7.938 kB / 363.5 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.005583, allocations: 67.34 kB / 363.5 MB, free: 3.566 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.005902, allocations: 178.5 kB / 363.7 MB, free: 3.391 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.006428, allocations: 203.6 kB / 363.9 MB, free: 3.191 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006974/0.007125, allocations: 0.7715 MB / 364.7 MB, free: 2.418 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.007603, allocations: 366.2 kB / 365 MB, free: 2.059 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.0081, allocations: 307.3 kB / 365.3 MB, free: 1.758 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.008496, allocations: 319.2 kB / 365.6 MB, free: 1.445 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.496e-05/0.008581, allocations: 72 kB / 365.7 MB, free: 1.375 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.00866, allocations: 76 kB / 365.8 MB, free: 1.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.008797, allocations: 219.4 kB / 366 MB, free: 1.086 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.009037, allocations: 259.4 kB / 366.3 MB, free: 0.832 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004847/0.009522, allocations: 0.5335 MB / 366.8 MB, free: 304 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.009526, allocations: 0 / 366.8 MB, free: 304 kB / 330.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.009526, allocations: 0 / 366.8 MB, free: 304 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.009536, allocations: 0 / 366.8 MB, free: 304 kB / 330.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.001159/0.01069, allocations: 0.9323 MB / 367.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.01073, allocations: 8.922 kB / 367.7 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.01086, allocations: 108.6 kB / 367.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.01123, allocations: 315 kB / 368.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.01133, allocations: 112.9 kB / 368.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/0.01141, allocations: 48.38 kB / 368.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/0.01193, allocations: 450.9 kB / 368.7 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.01195, allocations: 192 / 368.7 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.01199, allocations: 24.12 kB / 368.8 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.012, allocations: 15.98 kB / 368.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.01231, allocations: 230.8 kB / 369 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.01492, allocations: 1.906 MB / 370.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.01529, allocations: 288.7 kB / 371.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.01548, allocations: 172.4 kB / 371.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.01552, allocations: 16.36 kB / 371.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.01554, allocations: 37.77 kB / 371.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 1.432e-06/0.01554, allocations: 0 / 371.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.001757/0.0173, allocations: 1.133 MB / 372.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.01733, allocations: 59.89 kB / 372.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.0175, allocations: 310.2 kB / 372.9 MB, free: 9.941 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.01754, allocations: 33.7 kB / 372.9 MB, free: 9.902 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01766, allocations: 291.9 kB / 373.2 MB, free: 9.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.01777, allocations: 194.3 kB / 373.4 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.0179, allocations: 111.9 kB / 373.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01803, allocations: 0.5234 MB / 374 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.01821, allocations: 150.2 kB / 374.2 MB, free: 8.617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.01841, allocations: 220.4 kB / 374.4 MB, free: 8.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.01896, allocations: 469.7 kB / 374.9 MB, free: 7.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01896, allocations: 4 kB / 374.9 MB, free: 7.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005247/0.01949, allocations: 449.1 kB / 375.3 MB, free: 7.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.01951, allocations: 4 kB / 375.3 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.01952, allocations: 7.938 kB / 375.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.01953, allocations: 4 kB / 375.3 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/0.02169, allocations: 0.6206 MB / 375.9 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.0217, allocations: 7.984 kB / 376 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.0219, allocations: 35.97 kB / 376 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.02193, allocations: 16 kB / 376 MB, free: 6.734 MB / 346.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.0002283/0.02216, allocations: 213.7 kB / 376.2 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.02225, allocations: 51.77 kB / 376.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.02277, allocations: 453.4 kB / 376.7 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.02278, allocations: 8 kB / 376.7 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.02278, allocations: 4 kB / 376.7 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.02279, allocations: 3.984 kB / 376.7 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.02411, allocations: 1.123 MB / 377.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.02411, allocations: 4 kB / 377.9 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/0.02626, allocations: 0.6049 MB / 378.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/0.02627, allocations: 144 / 378.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/0.02632, allocations: 23.98 kB / 378.5 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.02632, allocations: 4 kB / 378.5 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.02633, allocations: 3.984 kB / 378.5 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/0.0271, allocations: 0.7216 MB / 379.2 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.02714, allocations: 43.73 kB / 379.3 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.02719, allocations: 12 kB / 379.3 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.02738, allocations: 31.97 kB / 379.3 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.02749, allocations: 72.36 kB / 379.4 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.02751, allocations: 15.98 kB / 379.4 MB, free: 3.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.915e-05/0.02761, allocations: 211 kB / 379.6 MB, free: 3.059 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02761, allocations: 3.938 kB / 379.6 MB, free: 3.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000343/0.02796, allocations: 144 kB / 379.7 MB, free: 2.914 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: 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.0001239/0.02808, allocations: 111.2 kB / 379.8 MB, free: 2.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.02854, allocations: 383.1 kB / 380.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02854, allocations: 0 / 380.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.02876, allocations: 216 kB / 380.4 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.02909, allocations: 107.3 kB / 380.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.03124, allocations: 1.429 MB / 382 MB, free: 0.625 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.376e-05/0.03132, allocations: 133.7 kB / 382.1 MB, free: 488 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.03154, allocations: 67.28 kB / 382.2 MB, free: 420 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.03185, allocations: 178.1 kB / 382.3 MB, free: 240 kB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03186, allocations: 0 / 382.3 MB, free: 240 kB / 346.7 MB Notification: Performance of Templates: time 0.0103/0.04215, allocations: 8.631 MB / 391 MB, free: 7.699 MB / 362.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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.074916884303093]