Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.917/2.917, allocations: 287.3 MB / 302.3 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 173.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 92.22 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004729, allocations: 12.53 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.04073/0.2613, allocations: 31.87 MB / 1.009 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02564/0.287, allocations: 11.07 MB / 1.02 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.2891, allocations: 43.69 kB / 1.02 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.2924, allocations: 0.657 MB / 1.021 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007056/0.2995, allocations: 1.556 MB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.3106, allocations: 2.555 MB / 1.025 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00917/0.3198, allocations: 4.446 MB / 1.029 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0056/0.3255, allocations: 2.747 MB / 1.032 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00509/0.3306, allocations: 1.837 MB / 1.034 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004043/0.3347, allocations: 1.552 MB / 1.035 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000732/0.3355, allocations: 132 kB / 1.035 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.3393, allocations: 0.675 MB / 1.036 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.3409, allocations: 0.5643 MB / 1.036 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.3427, allocations: 0.6447 MB / 1.037 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00747/0.3502, allocations: 3.932 MB / 1.041 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3502, allocations: 4 kB / 1.041 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3502, allocations: 0 / 1.041 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001434/0.3504, allocations: 0 / 1.041 GB, free: 11.98 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.009841/0.3602, allocations: 2.98 MB / 1.044 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3603, allocations: 8.031 kB / 1.044 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.3623, allocations: 356 kB / 1.044 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007562/0.3699, allocations: 2.357 MB / 1.047 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.3702, allocations: 180.6 kB / 1.047 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000819/0.371, allocations: 236 kB / 1.047 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009696/0.3807, allocations: 3.191 MB / 1.05 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.817e-05/0.3809, allocations: 11.94 kB / 1.05 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004224/0.3813, allocations: 99.98 kB / 1.05 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.3815, allocations: 67.98 kB / 1.05 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008549/0.39, allocations: 2.566 MB / 1.053 GB, free: 15.67 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02968/0.4198, allocations: 13.84 MB / 1.066 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6268/1.047, allocations: 1.613 MB / 1.068 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.048, allocations: 0.7202 MB / 1.068 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.835e-05/1.048, allocations: 49.36 kB / 1.069 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002343/1.05, allocations: 196 kB / 1.069 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 9.598e-06/1.05, allocations: 0 / 1.069 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.01825/1.069, allocations: 3.48 MB / 1.072 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/1.069, allocations: 142.4 kB / 1.072 GB, free: 84.65 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00569/1.074, allocations: 2.091 MB / 1.074 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004232/1.075, allocations: 62.28 kB / 1.074 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.077, allocations: 1.25 MB / 1.076 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008104/1.077, allocations: 447.3 kB / 1.076 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.078, allocations: 31.12 kB / 1.076 GB, free: 82.65 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002032/1.078, allocations: 375.3 kB / 1.076 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002223/1.08, allocations: 0.736 MB / 1.077 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0027/1.083, allocations: 1.239 MB / 1.078 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/1.085, allocations: 0.9519 MB / 1.079 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-05/1.086, allocations: 4.562 kB / 1.079 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007825/1.093, allocations: 2.425 MB / 1.082 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001323/1.095, allocations: 5.703 MB / 1.087 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.628e-05/1.095, allocations: 15.64 kB / 1.087 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004014/1.099, allocations: 0.5189 MB / 1.088 GB, free: 73.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/1.102, allocations: 350.7 kB / 1.088 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/1.107, allocations: 3.157 MB / 1.091 GB, free: 71.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003745/1.11, allocations: 239.1 kB / 1.091 GB, free: 71.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004336/1.111, allocations: 83.17 kB / 1.091 GB, free: 71.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.111, allocations: 3.25 kB / 1.091 GB, free: 71.17 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006668/1.118, allocations: 2.198 MB / 1.094 GB, free: 70.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.787e-05/1.118, allocations: 14.05 kB / 1.094 GB, free: 70.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/1.119, allocations: 241.4 kB / 1.094 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/1.122, allocations: 371.1 kB / 1.094 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006289/1.128, allocations: 4.22 MB / 1.098 GB, free: 66.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/1.132, allocations: 218.6 kB / 1.099 GB, free: 66.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/1.132, allocations: 81.88 kB / 1.099 GB, free: 66.78 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.00289/1.135, allocations: 1.01 MB / 1.1 GB, free: 66.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007937/1.136, allocations: 205.4 kB / 1.1 GB, free: 66.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006231/1.142, allocations: 2.073 MB / 1.102 GB, free: 65.33 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/1.142, allocations: 12.7 kB / 1.102 GB, free: 65.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.142, allocations: 7.969 kB / 1.102 GB, free: 65.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004448/1.147, allocations: 1.673 MB / 1.103 GB, free: 64.67 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.161, allocations: 4.708 MB / 1.108 GB, free: 62.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.161, allocations: 1.219 kB / 1.108 GB, free: 62.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/1.163, allocations: 196.8 kB / 1.108 GB, free: 62.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/1.166, allocations: 448.2 kB / 1.109 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/1.166, allocations: 37.84 kB / 1.109 GB, free: 62.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005041/1.171, allocations: 3.087 MB / 1.112 GB, free: 60.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.171, allocations: 4.438 kB / 1.112 GB, free: 60.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007988/1.179, allocations: 3.054 MB / 1.115 GB, free: 58.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/1.181, allocations: 0.5416 MB / 1.115 GB, free: 58.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008655/1.182, allocations: 36.27 kB / 1.115 GB, free: 58.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003508/1.186, allocations: 200.5 kB / 1.115 GB, free: 58.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005067/1.186, allocations: 108.5 kB / 1.116 GB, free: 58.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/1.186, allocations: 54.12 kB / 1.116 GB, free: 58.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003666/1.19, allocations: 1.453 MB / 1.117 GB, free: 57.51 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.51e-07/1.19, allocations: 0 / 1.117 GB, free: 57.51 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007367/1.198, allocations: 1.491 MB / 1.118 GB, free: 57.18 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/1.199, allocations: 378.7 kB / 1.119 GB, free: 57 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009263/1.208, allocations: 3.371 MB / 1.122 GB, free: 55.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.208, allocations: 2.562 kB / 1.122 GB, free: 55.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002664/1.211, allocations: 1.031 MB / 1.123 GB, free: 54.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01078/1.222, allocations: 1.134 MB / 1.124 GB, free: 54.06 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/1.24, allocations: 6.28 MB / 1.13 GB, free: 50.11 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003209/1.243, allocations: 2.205 MB / 1.133 GB, free: 48.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006675/1.25, allocations: 0.9652 MB / 1.133 GB, free: 47.06 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/1.251, allocations: 171.4 kB / 1.134 GB, free: 46.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.794e-06/1.251, allocations: 0 / 1.134 GB, free: 46.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.116/1.367, allocations: 45.48 MB / 1.178 GB, free: 1.82 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)