Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSte.vol.1..T|tanSte.vol.2..T|tanSte.vol.3..T|tanSte.vol.4..T|tanDyn.vol.1..T|tanDyn.vol.2..T|tanDyn.vol.3..T|tanDyn.vol.4..T|tanDynSol.vol.1..T|tanDynSol.vol.2..T|tanDynSol.vol.3..T|tanDynSol.vol.4..T|senTemSte.T|senTemDyn.T|senTemDynSol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSte.vol.1..T|tanSte.vol.2..T|tanSte.vol.3..T|tanSte.vol.4..T|tanDyn.vol.1..T|tanDyn.vol.2..T|tanDyn.vol.3..T|tanDyn.vol.4..T|tanDynSol.vol.1..T|tanDynSol.vol.2..T|tanDynSol.vol.3..T|tanDynSol.vol.4..T|senTemSte.T|senTemDyn.T|senTemDynSol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 115.2 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 75.88 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8333/0.8347, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.1719/1.007, allocations: 151.9 MB / 1.237 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.06733/1.074, allocations: 44.17 MB / 1.28 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009923/1.084, allocations: 210.8 kB / 1.28 GB, free: 9.488 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008867/1.093, allocations: 2.535 MB / 1.283 GB, free: 6.938 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02055/1.114, allocations: 6.141 MB / 1.289 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01415/1.128, allocations: 4.843 MB / 1.293 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.05243/1.18, allocations: 43.94 MB / 1.336 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03177/1.212, allocations: 23.1 MB / 1.359 GB, free: 8.633 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03582/1.248, allocations: 15.94 MB / 1.375 GB, free: 8.738 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0271/1.275, allocations: 13.17 MB / 1.387 GB, free: 11.51 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.008755/1.284, allocations: 2.34 MB / 1.39 GB, free: 9.172 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02/1.304, allocations: 4.769 MB / 1.394 GB, free: 4.398 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.01173/1.316, allocations: 5.212 MB / 1.399 GB, free: 15.17 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0265/1.342, allocations: 10.79 MB / 1.41 GB, free: 4.336 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.05333/1.395, allocations: 31.88 MB / 1.441 GB, free: 4.375 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/1.396, allocations: 4 kB / 1.441 GB, free: 4.371 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.615e-06/1.396, allocations: 0 / 1.441 GB, free: 4.371 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.001336/1.397, allocations: 0 / 1.441 GB, free: 4.371 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.06825/1.465, allocations: 19.53 MB / 1.46 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/1.465, allocations: 12.02 kB / 1.46 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/1.478, allocations: 1.932 MB / 1.462 GB, free: 14.75 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04029/1.518, allocations: 15.32 MB / 1.477 GB, free: 15.34 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001222/1.519, allocations: 0.9698 MB / 1.478 GB, free: 14.37 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006527/1.526, allocations: 1.293 MB / 1.479 GB, free: 13.08 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05322/1.579, allocations: 19.29 MB / 1.498 GB, free: 9.078 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004837/1.58, allocations: 51.53 kB / 1.498 GB, free: 9.027 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003962/1.583, allocations: 0.5273 MB / 1.499 GB, free: 8.5 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000381/1.584, allocations: 359.9 kB / 1.499 GB, free: 8.148 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03955/1.623, allocations: 16.6 MB / 1.515 GB, free: 7.531 MB / 1.248 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 1.287/2.91, allocations: 86.69 MB / 1.6 GB, free: 380.9 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/2.929, allocations: 12.25 MB / 1.612 GB, free: 379 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009968/2.939, allocations: 6.225 MB / 1.618 GB, free: 376.7 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06133/3.001, allocations: 28.37 MB / 1.646 GB, free: 362.4 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/3.001, allocations: 127.3 kB / 1.646 GB, free: 362.3 MB / 1.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005601/3.006, allocations: 0.7413 MB / 1.646 GB, free: 362.2 MB / 1.311 GB Notification: Performance of pre-optimization done (n=651): time 2.278e-05/3.007, allocations: 0 / 1.646 GB, free: 362.2 MB / 1.311 GB Notification: Performance of matching and sorting (n=651): time 0.04456/3.051, allocations: 17.87 MB / 1.664 GB, free: 355.9 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/3.051, allocations: 118.8 kB / 1.664 GB, free: 355.8 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02661/3.078, allocations: 13.36 MB / 1.677 GB, free: 349.3 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001892/3.08, allocations: 186.3 kB / 1.677 GB, free: 349.2 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.006139/3.086, allocations: 7.228 MB / 1.684 GB, free: 342.9 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002862/3.089, allocations: 2.296 MB / 1.687 GB, free: 340.9 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004552/3.093, allocations: 2.396 MB / 1.689 GB, free: 339.6 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 4.599e-05/3.093, allocations: 305.1 kB / 1.689 GB, free: 339.3 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007259/3.101, allocations: 5.92 MB / 1.695 GB, free: 336.1 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009585/3.11, allocations: 9.902 MB / 1.705 GB, free: 327.8 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01763/3.128, allocations: 15.6 MB / 1.72 GB, free: 316.2 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/3.128, allocations: 34.91 kB / 1.72 GB, free: 316.2 MB / 1.311 GB Notification: Performance of matching and sorting (n=1503) (initialization): time 0.03029/3.158, allocations: 19.01 MB / 1.738 GB, free: 297.2 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 7.472e-05/3.158, allocations: 60 kB / 1.738 GB, free: 297.1 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/3.159, allocations: 128 kB / 1.739 GB, free: 297 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08904/3.248, allocations: 11.98 MB / 1.75 GB, free: 285 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009466/3.257, allocations: 2.444 MB / 1.753 GB, free: 282.6 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/3.273, allocations: 20.93 MB / 1.773 GB, free: 260.9 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01274/3.285, allocations: 0.7068 MB / 1.774 GB, free: 260.2 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00246/3.288, allocations: 0.5507 MB / 1.774 GB, free: 259.6 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01896/3.307, allocations: 11.1 MB / 1.785 GB, free: 248.5 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01292/3.32, allocations: 9.897 MB / 1.795 GB, free: 236.8 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01956/3.339, allocations: 15.59 MB / 1.81 GB, free: 219.4 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001279/3.34, allocations: 40 kB / 1.81 GB, free: 219.4 MB / 1.311 GB Notification: Performance of matching and sorting (n=1503) (initialization_lambda0): time 0.03952/3.379, allocations: 19 MB / 1.829 GB, free: 200.3 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/3.379, allocations: 63.88 kB / 1.829 GB, free: 200.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001765/3.379, allocations: 128 kB / 1.829 GB, free: 200.1 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09005/3.47, allocations: 11.97 MB / 1.841 GB, free: 188.1 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009299/3.479, allocations: 2.398 MB / 1.843 GB, free: 185.7 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0156/3.494, allocations: 19.15 MB / 1.862 GB, free: 165.9 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0139/3.508, allocations: 0.6825 MB / 1.862 GB, free: 165.2 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002878/3.511, allocations: 0.5546 MB / 1.863 GB, free: 164.6 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 573 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1269): * Single equations (assignments): 1251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(2,16), (2,16), (2,16), (2,16), (2,16), (2,16), (2,17), (2,17), (2,17), (2,17), (2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.004878/3.516, allocations: 0.8999 MB / 1.864 GB, free: 163.7 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005986/3.522, allocations: 1.173 MB / 1.865 GB, free: 162.5 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02465/3.547, allocations: 11.64 MB / 1.876 GB, free: 150.8 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01623/3.563, allocations: 9.659 MB / 1.886 GB, free: 141 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/3.563, allocations: 0 / 1.886 GB, free: 141 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008244/3.571, allocations: 2.591 MB / 1.888 GB, free: 138.4 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004649/3.576, allocations: 140 kB / 1.888 GB, free: 138.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009594/3.586, allocations: 391.3 kB / 1.889 GB, free: 137.9 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001534/3.587, allocations: 392.6 kB / 1.889 GB, free: 137.5 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02486/3.612, allocations: 12.16 MB / 1.901 GB, free: 125.3 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02523/3.637, allocations: 15.75 MB / 1.916 GB, free: 109.5 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006207/3.644, allocations: 4.547 MB / 1.921 GB, free: 104.9 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.0176/3.661, allocations: 9.166 MB / 1.93 GB, free: 95.78 MB / 1.311 GB Notification: Performance of Backend: time 1.233e-06/3.661, allocations: 0 / 1.93 GB, free: 95.78 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.04747/3.709, allocations: 19.94 MB / 1.949 GB, free: 75.99 MB / 1.311 GB Notification: Performance of SimCode: time 0.07347/3.782, allocations: 34.93 MB / 1.983 GB, free: 41.25 MB / 1.311 GB Notification: Performance of Templates: time 1.483/5.265, allocations: 312.5 MB / 2.288 GB, free: 341 MB / 1.389 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)