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.001076/0.001076, allocations: 75.59 kB / 20.8 MB, free: 3.715 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.0008805/0.0008805, allocations: 170 kB / 24.09 MB, free: 428 kB / 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.9134/0.9134, allocations: 177.1 MB / 204.4 MB, free: 5.711 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.06071/0.06071, allocations: 18.12 MB / 279 MB, free: 11.49 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 / 417.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.506e-05, allocations: 3.703 kB / 417.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.002938/0.002973, allocations: 2.914 MB / 420.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.004288, allocations: 0.9039 MB / 421.2 MB, free: 9.395 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.004453, allocations: 3.875 kB / 421.2 MB, free: 9.395 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.004639, allocations: 71.45 kB / 421.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.004912, allocations: 184.1 kB / 421.4 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005316/0.005444, allocations: 201 kB / 421.6 MB, free: 9.109 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006459/0.00609, allocations: 0.766 MB / 422.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004992/0.006589, allocations: 350 kB / 422.7 MB, free: 8.578 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.006973, allocations: 303.9 kB / 423 MB, free: 8.449 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.007362, allocations: 319.6 kB / 423.3 MB, free: 8.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.007465, allocations: 76.97 kB / 423.4 MB, free: 8.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.822e-05/0.007563, allocations: 77.88 kB / 423.5 MB, free: 8.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.007706, allocations: 214.8 kB / 423.7 MB, free: 8.211 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.007919, allocations: 260.5 kB / 423.9 MB, free: 8.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007618/0.008681, allocations: 0.8454 MB / 424.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.008683, allocations: 0 / 424.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.008685, allocations: 0 / 424.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.008696, allocations: 0 / 424.8 MB, free: 7.762 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001269/0.009965, allocations: 0.8296 MB / 425.6 MB, free: 7.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.01, allocations: 10.3 kB / 425.6 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.01011, allocations: 65.72 kB / 425.7 MB, free: 7.199 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.01051, allocations: 336.5 kB / 426 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.153e-05/0.0106, allocations: 110.1 kB / 426.1 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.01068, allocations: 54.33 kB / 426.2 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.01187, allocations: 0.7346 MB / 426.9 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.01189, allocations: 0.875 kB / 426.9 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.01194, allocations: 20.5 kB / 426.9 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.01196, allocations: 11.69 kB / 427 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.01309, allocations: 0.6046 MB / 427.6 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00323/0.01632, allocations: 2.292 MB / 429.9 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/0.01713, allocations: 0.5229 MB / 430.4 MB, free: 4.871 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/0.01773, allocations: 393 kB / 430.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.01777, allocations: 5.781 kB / 430.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.0178, allocations: 38.12 kB / 430.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 2.665e-06/0.0178, allocations: 1.406 kB / 430.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.003755/0.02156, allocations: 2.181 MB / 433 MB, free: 3.824 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.02158, allocations: 57.56 kB / 433 MB, free: 3.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.02179, allocations: 281.5 kB / 433.3 MB, free: 3.602 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.02182, allocations: 32.27 kB / 433.3 MB, free: 3.566 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.0219, allocations: 241 kB / 433.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.983e-05/0.022, allocations: 196.2 kB / 433.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.02213, allocations: 97.33 kB / 433.9 MB, free: 3.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.02219, allocations: 348.9 kB / 434.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.02275, allocations: 369.5 kB / 434.6 MB, free: 2.703 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.02332, allocations: 428.9 kB / 435 MB, free: 2.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003538/0.02686, allocations: 2.009 MB / 437 MB, free: 1.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.02686, allocations: 0 / 437 MB, free: 1.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001142/0.028, allocations: 0.8436 MB / 437.8 MB, free: 1.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.02802, allocations: 10.81 kB / 437.9 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.02803, allocations: 5.156 kB / 437.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.02805, allocations: 4.594 kB / 437.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/0.03081, allocations: 0.903 MB / 438.8 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.03082, allocations: 4.438 kB / 438.8 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.03107, allocations: 61.27 kB / 438.8 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.03111, allocations: 22.77 kB / 438.9 MB, free: 0.6992 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: 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.0002296/0.03134, allocations: 214.7 kB / 439.1 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.03139, allocations: 42.89 kB / 439.1 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.03248, allocations: 0.8175 MB / 439.9 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.03249, allocations: 9.484 kB / 439.9 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.03249, allocations: 0 / 439.9 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.0325, allocations: 0 / 439.9 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.03464, allocations: 1.609 MB / 441.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.03464, allocations: 4 kB / 441.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/0.0374, allocations: 0.8895 MB / 442.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.03741, allocations: 4 kB / 442.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.03745, allocations: 15.98 kB / 442.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.03746, allocations: 4 kB / 442.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.03746, allocations: 0 / 442.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.03907, allocations: 1.271 MB / 443.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.03912, allocations: 39.75 kB / 443.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.03917, allocations: 12 kB / 443.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.03941, allocations: 59.92 kB / 443.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.03953, allocations: 76.36 kB / 443.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.03955, allocations: 15.98 kB / 443.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001379/0.03969, allocations: 203 kB / 444.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03969, allocations: 0 / 444.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003764/0.04007, allocations: 147.9 kB / 444.3 MB, free: 12.09 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.0001214/0.04019, allocations: 111.3 kB / 444.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.04124, allocations: 0.7519 MB / 445.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.04124, allocations: 0 / 445.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.04176, allocations: 415 kB / 445.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.04209, allocations: 79 kB / 445.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.04429, allocations: 1.653 MB / 447.3 MB, free: 9.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.04444, allocations: 258 kB / 447.5 MB, free: 8.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002399/0.04468, allocations: 87.27 kB / 447.6 MB, free: 8.684 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.04483, allocations: 48.48 kB / 447.6 MB, free: 8.637 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.04483, allocations: 0 / 447.6 MB, free: 8.637 MB / 346.7 MB Notification: Performance of Templates: time 0.008574/0.0534, allocations: 7.772 MB / 455.4 MB, free: 0.957 MB / 346.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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.1491153491660953] Failed to read output from testmodel.py, exit status != 0: 0.059037246741354465 0.06668262200000001 0.056439004 Calling exit ...