Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.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.001604/0.001604, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002122/0.002122, allocations: 189 kB / 22.22 MB, free: 5.105 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.484/1.484, allocations: 225.6 MB / 251 MB, free: 13.03 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.1224/0.1224, allocations: 22.7 MB / 329 MB, free: 2.387 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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 71.88 kB / 463.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1429, allocations: 58.06 MB / 0.5089 GB, free: 4.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003): time 0.004792/0.1477, allocations: 3.215 MB / 0.5121 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1498, allocations: 0.9158 MB / 0.513 GB, free: 300 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.15, allocations: 7.938 kB / 0.513 GB, free: 292 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.1502, allocations: 67.3 kB / 0.5131 GB, free: 224 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.1507, allocations: 182.7 kB / 0.5132 GB, free: 40 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2712/0.4218, allocations: 191.5 kB / 0.5134 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.4234, allocations: 0.7516 MB / 0.5141 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006915/0.4241, allocations: 356.1 kB / 0.5145 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005537/0.4247, allocations: 320 kB / 0.5148 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005704/0.4252, allocations: 397.4 kB / 0.5152 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.4254, allocations: 75.53 kB / 0.5152 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.4255, allocations: 78.25 kB / 0.5153 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.4257, allocations: 208.9 kB / 0.5155 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.4261, allocations: 342.5 kB / 0.5158 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007466/0.4268, allocations: 0.8026 MB / 0.5166 GB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4268, allocations: 1.156 kB / 0.5166 GB, free: 11.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4268, allocations: 0 / 0.5166 GB, free: 11.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4268, allocations: 0 / 0.5166 GB, free: 11.75 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002086/0.4289, allocations: 0.8349 MB / 0.5174 GB, free: 11.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.429, allocations: 11.62 kB / 0.5175 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.4292, allocations: 66.19 kB / 0.5175 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006777/0.4298, allocations: 332.3 kB / 0.5178 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.43, allocations: 108.5 kB / 0.5179 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.4301, allocations: 57.14 kB / 0.518 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.432, allocations: 0.6881 MB / 0.5187 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.432, allocations: 2 kB / 0.5187 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.625e-05/0.432, allocations: 18.59 kB / 0.5187 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.4321, allocations: 15.06 kB / 0.5187 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.4337, allocations: 0.6083 MB / 0.5193 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.4396, allocations: 2.527 MB / 0.5218 GB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.4409, allocations: 0.5419 MB / 0.5223 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009418/0.4418, allocations: 397.5 kB / 0.5227 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.467e-05/0.4419, allocations: 7.766 kB / 0.5227 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4419, allocations: 38.64 kB / 0.5227 GB, free: 9.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 4.238e-06/0.4419, allocations: 5.172 kB / 0.5227 GB, free: 9.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.006499/0.4484, allocations: 2.22 MB / 0.5249 GB, free: 8.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.4484, allocations: 57.62 kB / 0.5249 GB, free: 8.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.4489, allocations: 353.8 kB / 0.5253 GB, free: 8.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.449, allocations: 35.89 kB / 0.5253 GB, free: 8.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.4492, allocations: 231 kB / 0.5255 GB, free: 8.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.4493, allocations: 207.8 kB / 0.5257 GB, free: 7.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.4495, allocations: 98.64 kB / 0.5258 GB, free: 7.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.4496, allocations: 359 kB / 0.5262 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009674/0.4506, allocations: 378.2 kB / 0.5265 GB, free: 7.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009786/0.4516, allocations: 422.4 kB / 0.5269 GB, free: 7.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007336/0.4589, allocations: 2.021 MB / 0.5289 GB, free: 6.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4589, allocations: 0.5625 kB / 0.5289 GB, free: 6.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002162/0.4611, allocations: 0.869 MB / 0.5297 GB, free: 6.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.4611, allocations: 7.297 kB / 0.5298 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.4611, allocations: 1.188 kB / 0.5298 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/0.4612, allocations: 6.562 kB / 0.5298 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006816/0.468, allocations: 0.9116 MB / 0.5307 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.979e-05/0.468, allocations: 5.125 kB / 0.5307 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008115/0.4688, allocations: 61.53 kB / 0.5307 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.162e-05/0.4689, allocations: 20.58 kB / 0.5307 GB, free: 6.262 MB / 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 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: 7 * Number of states: 0 () * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0005183/0.4694, allocations: 207 kB / 0.5309 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.4695, allocations: 45.45 kB / 0.531 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.4718, allocations: 0.8459 MB / 0.5318 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.4718, allocations: 6.891 kB / 0.5318 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.4718, allocations: 0 / 0.5318 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.4719, allocations: 3.516 kB / 0.5318 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/0.4756, allocations: 1.776 MB / 0.5335 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4756, allocations: 2.359 kB / 0.5336 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006628/0.4822, allocations: 0.906 MB / 0.5344 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/0.4822, allocations: 2.094 kB / 0.5344 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.202e-05/0.4823, allocations: 19.45 kB / 0.5345 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.4823, allocations: 8.375 kB / 0.5345 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4823, allocations: 7.922 kB / 0.5345 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/0.4851, allocations: 1.294 MB / 0.5357 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.4853, allocations: 47.98 kB / 0.5358 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.4854, allocations: 13.22 kB / 0.5358 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.486, allocations: 60.27 kB / 0.5359 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.4862, allocations: 80.8 kB / 0.5359 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.4862, allocations: 20.36 kB / 0.5359 GB, free: 3.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.4865, allocations: 259.1 kB / 0.5362 GB, free: 3.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4865, allocations: 0 / 0.5362 GB, free: 3.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005856/0.4871, allocations: 147.3 kB / 0.5363 GB, free: 3.688 MB / 382.1 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: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 55 * 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.0001437/0.4872, allocations: 120.5 kB / 0.5365 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.4891, allocations: 0.7514 MB / 0.5372 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4891, allocations: 0 / 0.5372 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009388/0.4901, allocations: 425.9 kB / 0.5376 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.4907, allocations: 100.3 kB / 0.5377 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.4943, allocations: 1.809 MB / 0.5395 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.4947, allocations: 0.8565 MB / 0.5403 GB, free: 1.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004995/0.4952, allocations: 101.1 kB / 0.5404 GB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.4955, allocations: 52.05 kB / 0.5404 GB, free: 1.031 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4955, allocations: 0 / 0.5404 GB, free: 1.031 MB / 382.1 MB Notification: Performance of Templates: time 0.01994/0.5154, allocations: 8.938 MB / 0.5492 GB, free: 12.71 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.sim & ./AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.556296369060874] Failed to read output from testmodel.py, exit status != 0: 0.5261410474777222 0.53958981 0.10945827099999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe18170d7b0>