Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.637/1.637, allocations: 288.4 MB / 304.3 MB, free: 8.074 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.0009402/0.0009403, allocations: 176.5 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.4 MB / 0.6316 GB, free: 9.926 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.0008855/0.0008854, allocations: 100 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 12.28 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1748, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.0251/0.2, allocations: 34.91 MB / 1.015 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.2157, allocations: 11.78 MB / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.2171, allocations: 43.69 kB / 1.026 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.2182, allocations: 421.2 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.2214, allocations: 1.35 MB / 1.028 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.2239, allocations: 0.9632 MB / 1.029 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007914/0.2318, allocations: 8.926 MB / 1.038 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003658/0.2355, allocations: 3.053 MB / 1.041 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003481/0.239, allocations: 2.14 MB / 1.043 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.2416, allocations: 2.151 MB / 1.045 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.2419, allocations: 132 kB / 1.045 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.2438, allocations: 0.9084 MB / 1.046 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005236/0.2443, allocations: 0.5797 MB / 1.046 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.2458, allocations: 1.495 MB / 1.048 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003604/0.2494, allocations: 4.014 MB / 1.052 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2494, allocations: 0 / 1.052 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2494, allocations: 4 kB / 1.052 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.083e-05/0.2495, allocations: 3.938 kB / 1.052 GB, free: 2.258 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.00486/0.2544, allocations: 2.969 MB / 1.055 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.2544, allocations: 8.031 kB / 1.055 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007752/0.2552, allocations: 356.7 kB / 1.055 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/0.2589, allocations: 2.584 MB / 1.058 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.259, allocations: 176.6 kB / 1.058 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/0.2593, allocations: 243.9 kB / 1.058 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004592/0.2639, allocations: 3.214 MB / 1.061 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/0.264, allocations: 11.94 kB / 1.061 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.2642, allocations: 96 kB / 1.061 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.796e-05/0.2643, allocations: 67.98 kB / 1.061 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003917/0.2682, allocations: 2.566 MB / 1.064 GB, free: 5.707 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.3618/0.63, allocations: 13.74 MB / 1.077 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.6327, allocations: 1.619 MB / 1.079 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/0.6345, allocations: 1.175 MB / 1.08 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/0.6352, allocations: 0.7255 MB / 1.081 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.6352, allocations: 55.06 kB / 1.081 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00123/0.6365, allocations: 185.2 kB / 1.081 GB, free: 79.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 4.369e-06/0.6365, allocations: 0 / 1.081 GB, free: 79.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.009304/0.6458, allocations: 3.47 MB / 1.084 GB, free: 77.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.6459, allocations: 143.4 kB / 1.084 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.6486, allocations: 1.952 MB / 1.086 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.6487, allocations: 54.48 kB / 1.086 GB, free: 77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009066/0.6496, allocations: 1.254 MB / 1.088 GB, free: 76.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.65, allocations: 439.2 kB / 1.088 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.65, allocations: 31.16 kB / 1.088 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6502, allocations: 377.8 kB / 1.088 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.6513, allocations: 0.7278 MB / 1.089 GB, free: 75.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.6526, allocations: 1.239 MB / 1.09 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/0.655, allocations: 2.022 MB / 1.092 GB, free: 73.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.6551, allocations: 8.312 kB / 1.092 GB, free: 73.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003586/0.6587, allocations: 2.402 MB / 1.095 GB, free: 72.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.6588, allocations: 0.5092 MB / 1.095 GB, free: 71.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.6589, allocations: 16.92 kB / 1.095 GB, free: 71.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.6609, allocations: 0.5093 MB / 1.096 GB, free: 71.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.6621, allocations: 347.4 kB / 1.096 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.665, allocations: 3.15 MB / 1.099 GB, free: 68.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.6669, allocations: 220.9 kB / 1.099 GB, free: 68.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.667, allocations: 83.31 kB / 1.099 GB, free: 68.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.667, allocations: 8.469 kB / 1.099 GB, free: 68.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003306/0.6704, allocations: 2.185 MB / 1.102 GB, free: 67.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.6704, allocations: 14.25 kB / 1.102 GB, free: 67.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/0.6709, allocations: 243.5 kB / 1.102 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.6722, allocations: 375.4 kB / 1.102 GB, free: 67.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.6754, allocations: 4.172 MB / 1.106 GB, free: 64.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.6772, allocations: 215.8 kB / 1.106 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.6773, allocations: 83.17 kB / 1.107 GB, free: 64.45 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.001613/0.6789, allocations: 1.007 MB / 1.108 GB, free: 63.92 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.6792, allocations: 205.2 kB / 1.108 GB, free: 63.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/0.6823, allocations: 2.065 MB / 1.11 GB, free: 62.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002202/0.6845, allocations: 1.663 MB / 1.111 GB, free: 61.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6845, allocations: 0 / 1.111 GB, free: 61.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008817/0.6854, allocations: 0.5163 MB / 1.112 GB, free: 61.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.6856, allocations: 27.59 kB / 1.112 GB, free: 61.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.6869, allocations: 189.2 kB / 1.112 GB, free: 61.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.6872, allocations: 108.9 kB / 1.112 GB, free: 61.22 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003761/0.6909, allocations: 2.14 MB / 1.114 GB, free: 60.11 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003394/0.6943, allocations: 2.881 MB / 1.117 GB, free: 58.47 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009161/0.6953, allocations: 0.7877 MB / 1.118 GB, free: 58.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00169/0.697, allocations: 1.328 MB / 1.119 GB, free: 57.3 MB / 0.6823 GB Notification: Performance of Backend: time 4.01e-07/0.697, allocations: 5.156 kB / 1.119 GB, free: 57.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005266/0.7022, allocations: 3.13 MB / 1.122 GB, free: 55.6 MB / 0.6823 GB Notification: Performance of SimCode: time 0.009171/0.7114, allocations: 7.194 MB / 1.129 GB, free: 51.01 MB / 0.6823 GB Notification: Performance of Templates: time 0.05864/0.7701, allocations: 48.51 MB / 1.177 GB, free: 4.277 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)