Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001277/0.001277, allocations: 112.1 kB / 16.42 MB, free: 6.504 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.00129/0.001291, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.305/1.305, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 59.91 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7262, allocations: 157.4 MB / 1.208 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.1412/0.8674, allocations: 151.9 MB / 1.357 GB, free: 5.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.05617/0.9236, allocations: 44.17 MB / 1.4 GB, free: 9.129 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006883/0.9305, allocations: 210.8 kB / 1.4 GB, free: 8.922 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.007309/0.9379, allocations: 2.468 MB / 1.403 GB, free: 6.438 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01644/0.9544, allocations: 5.863 MB / 1.408 GB, free: 0.5469 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01153/0.9659, allocations: 4.815 MB / 1.413 GB, free: 11.75 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.04507/1.011, allocations: 43.88 MB / 1.456 GB, free: 15.76 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03122/1.042, allocations: 23.07 MB / 1.478 GB, free: 8.52 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03006/1.072, allocations: 15.94 MB / 1.494 GB, free: 8.625 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02248/1.095, allocations: 13.16 MB / 1.507 GB, free: 11.41 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.007683/1.103, allocations: 2.34 MB / 1.509 GB, free: 9.07 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01573/1.118, allocations: 4.777 MB / 1.514 GB, free: 4.293 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.008853/1.127, allocations: 5.216 MB / 1.519 GB, free: 15.06 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.02258/1.15, allocations: 10.79 MB / 1.529 GB, free: 4.227 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.04059/1.19, allocations: 31.87 MB / 1.56 GB, free: 4.266 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.19, allocations: 3.938 kB / 1.56 GB, free: 4.262 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.844e-06/1.19, allocations: 4 kB / 1.56 GB, free: 4.258 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001051/1.192, allocations: 0 / 1.56 GB, free: 4.258 MB / 1.279 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 1.119/2.311, allocations: 19.51 MB / 1.579 GB, free: 320.2 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/2.311, allocations: 8.969 kB / 1.58 GB, free: 320.2 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/2.321, allocations: 1.937 MB / 1.581 GB, free: 319.3 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03022/2.352, allocations: 15.32 MB / 1.596 GB, free: 310.4 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009931/2.353, allocations: 0.9736 MB / 1.597 GB, free: 310 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004707/2.357, allocations: 1.292 MB / 1.599 GB, free: 309.3 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0403/2.398, allocations: 19.29 MB / 1.617 GB, free: 289.4 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006495/2.398, allocations: 49.12 kB / 1.617 GB, free: 289.3 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00362/2.402, allocations: 0.5273 MB / 1.618 GB, free: 288.8 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002699/2.402, allocations: 349.5 kB / 1.618 GB, free: 288.4 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02866/2.431, allocations: 16.61 MB / 1.635 GB, free: 271.8 MB / 1.279 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.1068/2.538, allocations: 86.69 MB / 1.719 GB, free: 180.9 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0156/2.554, allocations: 12.25 MB / 1.731 GB, free: 168.6 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008011/2.562, allocations: 6.236 MB / 1.737 GB, free: 162.3 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05011/2.612, allocations: 28.36 MB / 1.765 GB, free: 132.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/2.612, allocations: 132.5 kB / 1.765 GB, free: 132.7 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005804/2.618, allocations: 0.7446 MB / 1.766 GB, free: 131.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=651): time 1.524e-05/2.618, allocations: 0 / 1.766 GB, free: 131.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=651): time 0.03494/2.653, allocations: 17.86 MB / 1.783 GB, free: 113.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/2.653, allocations: 120.5 kB / 1.783 GB, free: 113.5 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02243/2.675, allocations: 13.37 MB / 1.796 GB, free: 100.2 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.00183/2.677, allocations: 185.7 kB / 1.797 GB, free: 100 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.006122/2.683, allocations: 7.227 MB / 1.804 GB, free: 92.72 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002736/2.686, allocations: 2.3 MB / 1.806 GB, free: 90.39 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006055/2.692, allocations: 2.39 MB / 1.808 GB, free: 87.99 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.582e-05/2.692, allocations: 305.1 kB / 1.808 GB, free: 87.69 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00818/2.7, allocations: 5.925 MB / 1.814 GB, free: 81.76 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009745/2.71, allocations: 9.893 MB / 1.824 GB, free: 70.08 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0174/2.727, allocations: 15.61 MB / 1.839 GB, free: 52.67 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/2.728, allocations: 36 kB / 1.839 GB, free: 52.64 MB / 1.279 GB Notification: Performance of matching and sorting (n=1503) (initialization): time 0.03339/2.761, allocations: 19.01 MB / 1.858 GB, free: 33.55 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/2.761, allocations: 64.25 kB / 1.858 GB, free: 33.48 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/2.761, allocations: 124 kB / 1.858 GB, free: 33.36 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09293/2.854, allocations: 11.98 MB / 1.87 GB, free: 21.34 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009295/2.864, allocations: 2.434 MB / 1.872 GB, free: 18.91 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/2.879, allocations: 20.93 MB / 1.892 GB, free: 13.19 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/2.892, allocations: 0.7095 MB / 1.893 GB, free: 12.48 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002779/2.895, allocations: 0.5545 MB / 1.894 GB, free: 11.92 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02057/2.916, allocations: 11.11 MB / 1.905 GB, free: 0.8008 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01405/2.93, allocations: 9.889 MB / 1.914 GB, free: 5.129 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02299/2.953, allocations: 15.59 MB / 1.929 GB, free: 3.742 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001197/2.953, allocations: 36 kB / 1.929 GB, free: 3.707 MB / 1.326 GB Notification: Performance of matching and sorting (n=1503) (initialization_lambda0): time 0.0402/2.993, allocations: 19 MB / 1.948 GB, free: 0.6328 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/2.993, allocations: 60 kB / 1.948 GB, free: 0.5742 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001814/2.994, allocations: 124 kB / 1.948 GB, free: 464 kB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1011/3.095, allocations: 11.99 MB / 1.96 GB, free: 4.426 MB / 1.358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009706/3.104, allocations: 2.398 MB / 1.962 GB, free: 2.023 MB / 1.358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/3.123, allocations: 19.13 MB / 1.981 GB, free: 14.18 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01202/3.135, allocations: 0.6864 MB / 1.982 GB, free: 13.49 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002362/3.137, allocations: 0.5546 MB / 1.982 GB, free: 12.94 MB / 1.389 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.00385/3.141, allocations: 0.8987 MB / 1.983 GB, free: 12.03 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004505/3.145, allocations: 1.177 MB / 1.984 GB, free: 10.84 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02621/3.172, allocations: 11.65 MB / 1.996 GB, free: 15.1 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01846/3.19, allocations: 9.66 MB / 2.005 GB, free: 5.281 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/3.19, allocations: 3.938 kB / 2.005 GB, free: 5.277 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007611/3.198, allocations: 2.591 MB / 2.008 GB, free: 2.652 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003989/3.202, allocations: 132 kB / 2.008 GB, free: 2.523 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008096/3.21, allocations: 391.4 kB / 2.008 GB, free: 2.141 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001156/3.211, allocations: 376.7 kB / 2.008 GB, free: 1.77 MB / 1.404 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02505/3.236, allocations: 12.16 MB / 2.02 GB, free: 5.484 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.025/3.261, allocations: 15.75 MB / 2.036 GB, free: 5.613 MB / 1.436 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006573/3.268, allocations: 4.558 MB / 2.04 GB, free: 1.031 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.01819/3.286, allocations: 9.17 MB / 2.049 GB, free: 7.914 MB / 1.451 GB Notification: Performance of Backend: time 9.51e-07/3.286, allocations: 0 / 2.049 GB, free: 7.914 MB / 1.451 GB Notification: Performance of simCode: created initialization part: time 0.05095/3.337, allocations: 19.93 MB / 2.068 GB, free: 4.059 MB / 1.467 GB Notification: Performance of SimCode: time 0.07641/3.413, allocations: 34.93 MB / 2.103 GB, free: 1.309 MB / 1.498 GB Notification: Performance of Templates: time 1.539/4.952, allocations: 317.7 MB / 2.413 GB, free: 288.5 MB / 1.53 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)