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.0008632/0.0008632, allocations: 87.56 kB / 20.97 MB, free: 3.586 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.000887/0.000887, allocations: 177.3 kB / 24.28 MB, free: 284 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.9618/0.9618, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.07207/0.07207, allocations: 18.14 MB / 279.2 MB, free: 11.36 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.994e-06/1.994e-06, allocations: 0 / 358 MB, free: 7.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.244e-05, allocations: 9.266 kB / 358 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.004916/0.004949, allocations: 3.164 MB / 361.2 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.007135, allocations: 0.9311 MB / 362.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.007451, allocations: 7.938 kB / 362.1 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.007688, allocations: 63.34 kB / 362.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.008145, allocations: 178.5 kB / 362.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006796/0.008825, allocations: 199.6 kB / 362.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009805/0.009805, allocations: 0.7638 MB / 363.3 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007721/0.01058, allocations: 386.2 kB / 363.7 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007567/0.01133, allocations: 303.3 kB / 364 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.01197, allocations: 319.2 kB / 364.3 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.01218, allocations: 80 kB / 364.4 MB, free: 1 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.01233, allocations: 76 kB / 364.5 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.01253, allocations: 219.4 kB / 364.7 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.01285, allocations: 255.4 kB / 364.9 MB, free: 472 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007797/0.01363, allocations: 0.5452 MB / 365.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01364, allocations: 4 kB / 365.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.01364, allocations: 0 / 365.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.063e-05/0.01366, allocations: 0 / 365.5 MB, free: 15.91 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.00184/0.0155, allocations: 0.9322 MB / 366.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.01555, allocations: 12.92 kB / 366.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.01577, allocations: 108.6 kB / 366.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/0.01636, allocations: 328.1 kB / 366.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.01649, allocations: 112.9 kB / 367 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.01659, allocations: 52.33 kB / 367 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.01764, allocations: 0.4911 MB / 367.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.01766, allocations: 192 / 367.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.01772, allocations: 24.12 kB / 367.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.01774, allocations: 12 kB / 367.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006903/0.01843, allocations: 285.8 kB / 367.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/0.02188, allocations: 1.991 MB / 369.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.02235, allocations: 324.2 kB / 370.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.02261, allocations: 196.4 kB / 370.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.02265, allocations: 8.375 kB / 370.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.02268, allocations: 41.77 kB / 370.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 3.086e-06/0.02268, allocations: 0 / 370.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.002128/0.02481, allocations: 1.317 MB / 371.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.02484, allocations: 55.91 kB / 371.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.02506, allocations: 318.3 kB / 372.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.0251, allocations: 37.7 kB / 372.1 MB, free: 9.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.02523, allocations: 283.9 kB / 372.4 MB, free: 8.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/0.02563, allocations: 198.8 kB / 372.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.02575, allocations: 104 kB / 372.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.02588, allocations: 0.5157 MB / 373.2 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.02615, allocations: 190.2 kB / 373.4 MB, free: 7.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.02641, allocations: 252.5 kB / 373.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.02714, allocations: 0.533 MB / 374.2 MB, free: 6.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.02714, allocations: 0 / 374.2 MB, free: 6.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0006532/0.02779, allocations: 0.505 MB / 374.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.02782, allocations: 14.91 kB / 374.7 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.02782, allocations: 0 / 374.7 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.02784, allocations: 7.938 kB / 374.7 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/0.03002, allocations: 0.6283 MB / 375.3 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.03003, allocations: 4 kB / 375.3 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.03025, allocations: 39.95 kB / 375.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.03028, allocations: 20 kB / 375.4 MB, free: 5.691 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.0002395/0.03052, allocations: 216.9 kB / 375.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.0306, allocations: 59.7 kB / 375.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006605/0.03126, allocations: 0.4936 MB / 376.1 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.03127, allocations: 8 kB / 376.1 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.03127, allocations: 3.984 kB / 376.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.03128, allocations: 0 / 376.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.03278, allocations: 1.243 MB / 377.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.03278, allocations: 4.094 kB / 377.4 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/0.03493, allocations: 0.6086 MB / 378 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.03494, allocations: 4 kB / 378 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.03499, allocations: 19.98 kB / 378 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.035, allocations: 0 / 378 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.035, allocations: 4 kB / 378 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009156/0.03592, allocations: 0.7998 MB / 378.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.03597, allocations: 39.75 kB / 378.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/0.03603, allocations: 12.14 kB / 378.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.03623, allocations: 39.95 kB / 378.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.03636, allocations: 80.34 kB / 379 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.03639, allocations: 15.98 kB / 379 MB, free: 1.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.03653, allocations: 219 kB / 379.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03653, allocations: 3.938 kB / 379.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003854/0.03691, allocations: 151.9 kB / 379.4 MB, free: 1.57 MB / 298.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.0001448/0.03706, allocations: 114.7 kB / 379.5 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008782/0.03794, allocations: 443.3 kB / 379.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.03794, allocations: 0 / 379.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.03822, allocations: 235.4 kB / 380.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.03859, allocations: 109.4 kB / 380.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.041, allocations: 1.5 MB / 381.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.311e-05/0.04108, allocations: 129.7 kB / 381.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.04131, allocations: 75.27 kB / 382 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.04147, allocations: 52.48 kB / 382 MB, free: 14.85 MB / 314.7 MB Notification: Performance of SimCode: time 1.883e-06/0.04147, allocations: 0 / 382 MB, free: 14.85 MB / 314.7 MB Notification: Performance of Templates: time 0.009759/0.05123, allocations: 7.812 MB / 389.8 MB, free: 7.129 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=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.0630713521968573]