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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 107.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 189.9 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 249.9 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0978/0.0978, allocations: 22.69 MB / 327.7 MB, free: 7.293 MB / 254.1 MB [Timeout remaining time 90] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001909/0.001909, allocations: 71.45 kB / 461 MB, free: 41.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07847/0.08038, allocations: 58.02 MB / 0.5069 GB, free: 6.816 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.002982/0.08336, allocations: 3.195 MB / 0.51 GB, free: 3.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.08453, allocations: 0.9119 MB / 0.5109 GB, free: 2.676 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.08466, allocations: 4 kB / 0.5109 GB, free: 2.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.08483, allocations: 67.36 kB / 0.5109 GB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.08508, allocations: 166.7 kB / 0.5111 GB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.08547, allocations: 199.6 kB / 0.5113 GB, free: 2.246 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.08591, allocations: 0.7522 MB / 0.512 GB, free: 1.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003531/0.08626, allocations: 369.8 kB / 0.5124 GB, free: 1.125 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.08648, allocations: 315.1 kB / 0.5127 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.08681, allocations: 390.7 kB / 0.5131 GB, free: 444 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.0869, allocations: 76 kB / 0.5131 GB, free: 368 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.605e-05/0.08699, allocations: 80 kB / 0.5132 GB, free: 288 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.08712, allocations: 203.4 kB / 0.5134 GB, free: 84 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.08747, allocations: 334.6 kB / 0.5137 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008133/0.08828, allocations: 0.8055 MB / 0.5145 GB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.08829, allocations: 0 / 0.5145 GB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.08829, allocations: 0 / 0.5145 GB, free: 14.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.0883, allocations: 0 / 0.5145 GB, free: 14.95 MB / 382.1 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.001948/0.09025, allocations: 0.9116 MB / 0.5154 GB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.09028, allocations: 12.03 kB / 0.5154 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.09042, allocations: 64.56 kB / 0.5155 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.09098, allocations: 392.4 kB / 0.5158 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.09114, allocations: 104.9 kB / 0.5159 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.09125, allocations: 60.33 kB / 0.516 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.09289, allocations: 0.6819 MB / 0.5167 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.09291, allocations: 0 / 0.5167 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/0.09297, allocations: 20 kB / 0.5167 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.09299, allocations: 15.94 kB / 0.5167 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.09453, allocations: 0.605 MB / 0.5173 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005462/0.09999, allocations: 2.56 MB / 0.5198 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.1012, allocations: 0.5276 MB / 0.5203 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008846/0.1021, allocations: 389.4 kB / 0.5207 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.1021, allocations: 8.859 kB / 0.5207 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1021, allocations: 38.94 kB / 0.5207 GB, free: 8.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.903e-06/0.1022, allocations: 0 / 0.5207 GB, free: 8.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.005793/0.1079, allocations: 2.17 MB / 0.5228 GB, free: 6.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.108, allocations: 59.84 kB / 0.5229 GB, free: 6.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/0.1084, allocations: 361.6 kB / 0.5232 GB, free: 5.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.285e-05/0.1085, allocations: 37.7 kB / 0.5233 GB, free: 5.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1087, allocations: 236.7 kB / 0.5235 GB, free: 5.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.1088, allocations: 190.4 kB / 0.5237 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.109, allocations: 90.23 kB / 0.5238 GB, free: 5.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1092, allocations: 354.8 kB / 0.5241 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008703/0.1101, allocations: 374.7 kB / 0.5245 GB, free: 4.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008893/0.111, allocations: 404 kB / 0.5249 GB, free: 4.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00681/0.1178, allocations: 1.974 MB / 0.5268 GB, free: 2.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1178, allocations: 4 kB / 0.5268 GB, free: 2.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00198/0.1198, allocations: 0.8421 MB / 0.5276 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1198, allocations: 10.03 kB / 0.5276 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1198, allocations: 4 kB / 0.5276 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1198, allocations: 4 kB / 0.5276 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005663/0.1255, allocations: 0.9012 MB / 0.5285 GB, free: 264 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.1255, allocations: 4 kB / 0.5285 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005573/0.126, allocations: 51.94 kB / 0.5286 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.1261, allocations: 23.98 kB / 0.5286 GB, free: 184 kB / 382.1 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (66): * Single equations (assignments): 66 * 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.0003881/0.1265, allocations: 211.2 kB / 0.5288 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.1266, allocations: 51.66 kB / 0.5288 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.1286, allocations: 0.821 MB / 0.5296 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1286, allocations: 4 kB / 0.5296 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1286, allocations: 0 / 0.5296 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1286, allocations: 7.984 kB / 0.5296 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.1321, allocations: 1.74 MB / 0.5313 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1321, allocations: 4 kB / 0.5314 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005591/0.1377, allocations: 0.8817 MB / 0.5322 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.1377, allocations: 4 kB / 0.5322 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-05/0.1378, allocations: 11.98 kB / 0.5322 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.1378, allocations: 4 kB / 0.5322 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1378, allocations: 0 / 0.5322 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.1406, allocations: 1.262 MB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.1407, allocations: 120.8 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.1408, allocations: 12 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.1413, allocations: 51.94 kB / 0.5336 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.1415, allocations: 72.33 kB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.1415, allocations: 15.98 kB / 0.5337 GB, free: 10.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003071/0.1419, allocations: 263.1 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1419, allocations: 0 / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.1424, allocations: 144 kB / 0.5341 GB, free: 10.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (51): * Single equations (assignments): 51 * 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.0001667/0.1425, allocations: 119.3 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.1444, allocations: 0.7319 MB / 0.5349 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1444, allocations: 0 / 0.5349 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008854/0.1453, allocations: 402.4 kB / 0.5353 GB, free: 9.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.1459, allocations: 109.5 kB / 0.5354 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.1501, allocations: 1.903 MB / 0.5373 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.1506, allocations: 0.8509 MB / 0.5381 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/0.151, allocations: 55.41 kB / 0.5382 GB, free: 6.18 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.151, allocations: 0 / 0.5382 GB, free: 6.18 MB / 398.1 MB Notification: Performance of Templates: time 0.01182/0.1628, allocations: 7.383 MB / 0.5454 GB, free: 14.83 MB / 414.1 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_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe 2>&1) [Timeout 480]