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.002009/0.002009, allocations: 105.7 kB / 16.4 MB, free: 6.516 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.002253/0.002253, allocations: 198.8 kB / 19.36 MB, free: 3.727 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.398/1.398, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.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.09925/0.09925, allocations: 22.33 MB / 319.6 MB, free: 6.766 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.002821/0.002821, allocations: 67.88 kB / 445.8 MB, free: 8.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.149, allocations: 54.94 MB / 0.489 GB, free: 1.121 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002): time 0.006078/0.1552, allocations: 4.197 MB / 0.4931 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.1579, allocations: 1.158 MB / 0.4942 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.1582, allocations: 11.94 kB / 0.4942 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.1586, allocations: 106.9 kB / 0.4943 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006038/0.1592, allocations: 265.9 kB / 0.4946 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008482/0.16, allocations: 299.5 kB / 0.4948 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.1615, allocations: 1.194 MB / 0.496 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.1626, allocations: 0.6762 MB / 0.4967 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006548/0.1633, allocations: 482.6 kB / 0.4971 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008605/0.1642, allocations: 0.5995 MB / 0.4977 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.1644, allocations: 116 kB / 0.4978 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.1646, allocations: 124 kB / 0.4979 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.165, allocations: 327.1 kB / 0.4983 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005659/0.1655, allocations: 0.5328 MB / 0.4988 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.1669, allocations: 1.253 MB / 0.5 GB, free: 5.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1669, allocations: 0 / 0.5 GB, free: 5.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1669, allocations: 0 / 0.5 GB, free: 5.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.1669, allocations: 0 / 0.5 GB, free: 5.746 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.002918/0.1698, allocations: 1.274 MB / 0.5012 GB, free: 4.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1699, allocations: 8.031 kB / 0.5013 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.1701, allocations: 108.3 kB / 0.5014 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.171, allocations: 0.5232 MB / 0.5019 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.1712, allocations: 159.7 kB / 0.502 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.1714, allocations: 84.31 kB / 0.5021 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.1736, allocations: 1.011 MB / 0.5031 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.1737, allocations: 4 kB / 0.5031 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.815e-05/0.1738, allocations: 32 kB / 0.5031 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.1738, allocations: 20 kB / 0.5031 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.1759, allocations: 0.9017 MB / 0.504 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2617/0.4376, allocations: 3.549 MB / 0.5075 GB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.4394, allocations: 0.9006 MB / 0.5084 GB, free: 19.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.4405, allocations: 0.6236 MB / 0.509 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.192e-05/0.4406, allocations: 14.83 kB / 0.509 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.4406, allocations: 43.59 kB / 0.509 GB, free: 19.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=79): time 2.725e-06/0.4406, allocations: 0 / 0.509 GB, free: 19.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.006799/0.4474, allocations: 3.035 MB / 0.512 GB, free: 19.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.4475, allocations: 60.91 kB / 0.5121 GB, free: 19.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.448, allocations: 0.5042 MB / 0.5125 GB, free: 19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.4481, allocations: 40.42 kB / 0.5126 GB, free: 18.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.4482, allocations: 334.2 kB / 0.5129 GB, free: 18.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.4484, allocations: 316.2 kB / 0.5132 GB, free: 18.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.4487, allocations: 153.4 kB / 0.5134 GB, free: 18.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.4488, allocations: 386 kB / 0.5137 GB, free: 18.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.45, allocations: 0.5337 MB / 0.5142 GB, free: 18.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.4511, allocations: 0.6032 MB / 0.5148 GB, free: 18.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.4612, allocations: 3.038 MB / 0.5178 GB, free: 18.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/0.4613, allocations: 4.375 kB / 0.5178 GB, free: 18.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002623/0.4639, allocations: 1.269 MB / 0.519 GB, free: 17.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4639, allocations: 11.39 kB / 0.5191 GB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4639, allocations: 2.156 kB / 0.5191 GB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.464, allocations: 7.062 kB / 0.5191 GB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006776/0.4708, allocations: 1.027 MB / 0.5201 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.4708, allocations: 9.141 kB / 0.5201 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/0.4716, allocations: 76.61 kB / 0.5201 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-05/0.4717, allocations: 31.72 kB / 0.5202 GB, free: 17.93 MB / 382.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.0004171/0.4721, allocations: 253.6 kB / 0.5204 GB, free: 17.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.4722, allocations: 74.16 kB / 0.5205 GB, free: 17.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.4749, allocations: 1.2 MB / 0.5217 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.475, allocations: 9.328 kB / 0.5217 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.475, allocations: 0.5312 kB / 0.5217 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.475, allocations: 12.47 kB / 0.5217 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004541/0.4795, allocations: 2.391 MB / 0.524 GB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4796, allocations: 1.203 kB / 0.524 GB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006911/0.4865, allocations: 1.002 MB / 0.525 GB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-05/0.4865, allocations: 4.438 kB / 0.525 GB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.4866, allocations: 28.86 kB / 0.525 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.4867, allocations: 5.234 kB / 0.525 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.4867, allocations: 3.094 kB / 0.525 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.4904, allocations: 1.822 MB / 0.5268 GB, free: 16.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.4906, allocations: 150.5 kB / 0.527 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.4907, allocations: 25.11 kB / 0.527 GB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006979/0.4914, allocations: 65.73 kB / 0.527 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.4917, allocations: 106.4 kB / 0.5271 GB, free: 16.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.071e-05/0.4917, allocations: 29.33 kB / 0.5272 GB, free: 16.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004105/0.4922, allocations: 366.6 kB / 0.5275 GB, free: 15.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4922, allocations: 0 / 0.5275 GB, free: 15.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007405/0.4929, allocations: 232.3 kB / 0.5277 GB, free: 15.85 MB / 382.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.000168/0.4931, allocations: 138.9 kB / 0.5279 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002525/0.4956, allocations: 1.149 MB / 0.529 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.4956, allocations: 0 / 0.529 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.4968, allocations: 0.5863 MB / 0.5296 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.4975, allocations: 172.3 kB / 0.5297 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/0.5029, allocations: 2.787 MB / 0.5325 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.5034, allocations: 0.9585 MB / 0.5334 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006622/0.5041, allocations: 172.3 kB / 0.5336 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.5045, allocations: 76.91 kB / 0.5336 GB, free: 12.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5045, allocations: 1.375 kB / 0.5336 GB, free: 12.21 MB / 382.1 MB Notification: Performance of Templates: time 0.02093/0.5255, allocations: 12.53 MB / 0.5459 GB, free: 2.324 MB / 382.1 MB " [Timeout remaining time 659] 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.545965218916535]