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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 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.09722/0.09722, allocations: 22.68 MB / 327.2 MB, free: 7.242 MB / 254.1 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.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_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 0.0019/0.0019, allocations: 70.55 kB / 460.6 MB, free: 40.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09873, allocations: 58.03 MB / 0.5065 GB, free: 6.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002): time 0.003818/0.1025, allocations: 4.225 MB / 0.5106 GB, free: 2.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1043, allocations: 1.173 MB / 0.5118 GB, free: 1.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.1046, allocations: 8 kB / 0.5118 GB, free: 1.141 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.1048, allocations: 110.9 kB / 0.5119 GB, free: 1.031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004414/0.1053, allocations: 269.9 kB / 0.5121 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006591/0.1059, allocations: 311.4 kB / 0.5124 GB, free: 472 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.107, allocations: 1.19 MB / 0.5136 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008206/0.1078, allocations: 0.5513 MB / 0.5141 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.1084, allocations: 486.5 kB / 0.5146 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007444/0.1091, allocations: 0.6073 MB / 0.5152 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.1093, allocations: 120 kB / 0.5153 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.1095, allocations: 124 kB / 0.5154 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002986/0.1098, allocations: 327 kB / 0.5157 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005058/0.1103, allocations: 0.5212 MB / 0.5163 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.1116, allocations: 1.257 MB / 0.5175 GB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1116, allocations: 0 / 0.5175 GB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1116, allocations: 0 / 0.5175 GB, free: 11.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.1116, allocations: 3.984 kB / 0.5175 GB, free: 11.27 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002919/0.1145, allocations: 1.28 MB / 0.5187 GB, free: 9.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1146, allocations: 8.75 kB / 0.5187 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.1147, allocations: 104.3 kB / 0.5188 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007967/0.1155, allocations: 0.527 MB / 0.5194 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.1157, allocations: 155.7 kB / 0.5195 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.1159, allocations: 84.33 kB / 0.5196 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.1181, allocations: 1.015 MB / 0.5206 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1181, allocations: 0 / 0.5206 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.613e-05/0.1182, allocations: 32 kB / 0.5206 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.1183, allocations: 20 kB / 0.5206 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.1204, allocations: 0.8978 MB / 0.5215 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007246/0.1276, allocations: 3.559 MB / 0.525 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.1296, allocations: 0.8697 MB / 0.5258 GB, free: 2.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.1308, allocations: 0.5895 MB / 0.5264 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.652e-05/0.1309, allocations: 20.58 kB / 0.5264 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.1309, allocations: 43.16 kB / 0.5265 GB, free: 1.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.976e-06/0.1309, allocations: 4 kB / 0.5265 GB, free: 1.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.007611/0.1386, allocations: 3.024 MB / 0.5294 GB, free: 14.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1386, allocations: 64.41 kB / 0.5295 GB, free: 14.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007004/0.1393, allocations: 0.5144 MB / 0.53 GB, free: 14.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-05/0.1394, allocations: 37.7 kB / 0.53 GB, free: 14.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.1396, allocations: 329 kB / 0.5303 GB, free: 13.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.1399, allocations: 317.2 kB / 0.5306 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/0.1402, allocations: 150.6 kB / 0.5308 GB, free: 13.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.1404, allocations: 390.7 kB / 0.5312 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.1416, allocations: 0.5356 MB / 0.5317 GB, free: 12.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.1429, allocations: 0.6022 MB / 0.5323 GB, free: 11.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/0.1531, allocations: 3.038 MB / 0.5352 GB, free: 8.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1531, allocations: 0 / 0.5352 GB, free: 8.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002743/0.1558, allocations: 1.278 MB / 0.5365 GB, free: 7.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1559, allocations: 4 kB / 0.5365 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1559, allocations: 4 kB / 0.5365 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.1559, allocations: 8 kB / 0.5365 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006394/0.1623, allocations: 1.03 MB / 0.5375 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.1623, allocations: 8 kB / 0.5375 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008067/0.1631, allocations: 67.92 kB / 0.5376 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/0.1632, allocations: 35.98 kB / 0.5376 GB, free: 6.281 MB / 398.1 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (112): * Single equations (assignments): 112 * 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.0005128/0.1637, allocations: 255.4 kB / 0.5379 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.1639, allocations: 71.53 kB / 0.5379 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/0.1667, allocations: 1.201 MB / 0.5391 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.1667, allocations: 8 kB / 0.5391 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1667, allocations: 0 / 0.5391 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1667, allocations: 3.984 kB / 0.5391 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004607/0.1713, allocations: 2.38 MB / 0.5414 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1713, allocations: 0 / 0.5414 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006425/0.1777, allocations: 1.011 MB / 0.5424 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.06e-05/0.1777, allocations: 4 kB / 0.5424 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/0.1779, allocations: 23.98 kB / 0.5424 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.1779, allocations: 7.984 kB / 0.5425 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1779, allocations: 11.94 kB / 0.5425 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/0.1817, allocations: 1.811 MB / 0.5442 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.1819, allocations: 152.5 kB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.182, allocations: 24 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007113/0.1827, allocations: 71.91 kB / 0.5445 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/0.183, allocations: 100.5 kB / 0.5446 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.421e-05/0.1831, allocations: 27.98 kB / 0.5446 GB, free: 14.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004435/0.1835, allocations: 366.8 kB / 0.5449 GB, free: 14.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1835, allocations: 0 / 0.5449 GB, free: 14.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006577/0.1842, allocations: 232 kB / 0.5452 GB, free: 14.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (85): * Single equations (assignments): 85 * 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.0001831/0.1843, allocations: 136 kB / 0.5453 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.1868, allocations: 1.088 MB / 0.5464 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1868, allocations: 4.125 kB / 0.5464 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.188, allocations: 0.5541 MB / 0.5469 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.1888, allocations: 176.6 kB / 0.5471 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005753/0.1945, allocations: 2.784 MB / 0.5498 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.1951, allocations: 0.9621 MB / 0.5507 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006628/0.1958, allocations: 169.9 kB / 0.5509 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.1961, allocations: 71.41 kB / 0.551 GB, free: 8.375 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1961, allocations: 0 / 0.551 GB, free: 8.375 MB / 414.1 MB Notification: Performance of Templates: time 0.02105/0.2172, allocations: 12.97 MB / 0.5636 GB, free: 11.51 MB / 430.1 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.188722753897309]