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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001491/0.001492, allocations: 107.8 kB / 16.41 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.001615/0.001615, allocations: 192.3 kB / 17.35 MB, free: 5.707 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.599/2.599, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 63.91 kB / 1.07 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7325, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.1399/0.8725, allocations: 151.9 MB / 1.375 GB, free: 5.102 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0556/0.9281, allocations: 44.19 MB / 1.418 GB, free: 8.797 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007294/0.9355, allocations: 206.8 kB / 1.418 GB, free: 8.594 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00762/0.9432, allocations: 2.539 MB / 1.42 GB, free: 6.039 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0167/0.9599, allocations: 6.14 MB / 1.426 GB, free: 15.87 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01201/0.9719, allocations: 4.852 MB / 1.431 GB, free: 11.04 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.04508/1.017, allocations: 43.89 MB / 1.474 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02904/1.046, allocations: 23.05 MB / 1.497 GB, free: 7.82 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02783/1.074, allocations: 15.92 MB / 1.512 GB, free: 7.941 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02119/1.095, allocations: 13.16 MB / 1.525 GB, free: 10.73 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.007823/1.103, allocations: 2.344 MB / 1.527 GB, free: 8.383 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01555/1.119, allocations: 4.773 MB / 1.532 GB, free: 3.605 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.008693/1.127, allocations: 5.216 MB / 1.537 GB, free: 14.38 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.02042/1.148, allocations: 10.8 MB / 1.548 GB, free: 3.535 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 1.278/2.425, allocations: 31.96 MB / 1.579 GB, free: 93.51 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/2.425, allocations: 0 / 1.579 GB, free: 93.51 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.084e-06/2.425, allocations: 0 / 1.579 GB, free: 93.51 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001245/2.427, allocations: 1.625 kB / 1.579 GB, free: 93.51 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 0.06551/2.492, allocations: 20.01 MB / 1.598 GB, free: 86.72 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/2.492, allocations: 10.12 kB / 1.598 GB, free: 86.72 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/2.506, allocations: 2.02 MB / 1.6 GB, free: 85.73 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0336/2.54, allocations: 15.4 MB / 1.615 GB, free: 83.63 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009031/2.541, allocations: 0.9719 MB / 1.616 GB, free: 83.6 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006942/2.548, allocations: 1.294 MB / 1.618 GB, free: 83.59 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04937/2.597, allocations: 19.28 MB / 1.636 GB, free: 81.39 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005451/2.598, allocations: 57.97 kB / 1.636 GB, free: 81.39 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005284/2.603, allocations: 0.5263 MB / 1.637 GB, free: 81.39 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003727/2.603, allocations: 353.5 kB / 1.637 GB, free: 81.38 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0349/2.638, allocations: 16.61 MB / 1.654 GB, free: 81.29 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.12/2.758, allocations: 86.83 MB / 1.738 GB, free: 16.91 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/2.775, allocations: 12.25 MB / 1.75 GB, free: 4.691 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008886/2.784, allocations: 6.222 MB / 1.756 GB, free: 14.46 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05936/2.843, allocations: 28.41 MB / 1.784 GB, free: 1.172 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/2.844, allocations: 124.7 kB / 1.784 GB, free: 1.039 MB / 1.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006174/2.85, allocations: 0.7706 MB / 1.785 GB, free: 268 kB / 1.311 GB Notification: Performance of pre-optimization done (n=651): time 1.464e-05/2.85, allocations: 0 / 1.785 GB, free: 268 kB / 1.311 GB Notification: Performance of matching and sorting (n=651): time 0.04762/2.897, allocations: 17.93 MB / 1.802 GB, free: 13.97 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/2.898, allocations: 116.5 kB / 1.803 GB, free: 13.84 MB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02822/2.926, allocations: 13.37 MB / 1.816 GB, free: 0.5195 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.002582/2.928, allocations: 181.7 kB / 1.816 GB, free: 344 kB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.008425/2.937, allocations: 7.421 MB / 1.823 GB, free: 8.934 MB / 1.358 GB Notification: Performance of collectInitialBindings (initialization): time 0.003862/2.941, allocations: 2.41 MB / 1.825 GB, free: 6.555 MB / 1.358 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009268/2.95, allocations: 2.401 MB / 1.828 GB, free: 4.145 MB / 1.358 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/2.95, allocations: 301.1 kB / 1.828 GB, free: 3.848 MB / 1.358 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01247/2.963, allocations: 5.925 MB / 1.834 GB, free: 13.91 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01525/2.978, allocations: 9.898 MB / 1.844 GB, free: 2.297 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0249/3.003, allocations: 15.6 MB / 1.859 GB, free: 1.422 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/3.003, allocations: 40 kB / 1.859 GB, free: 1.383 MB / 1.389 GB Notification: Performance of matching and sorting (n=1503) (initialization): time 0.04414/3.047, allocations: 19.06 MB / 1.877 GB, free: 15.03 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001875/3.047, allocations: 60 kB / 1.877 GB, free: 14.97 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002474/3.048, allocations: 127.9 kB / 1.878 GB, free: 14.84 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09839/3.146, allocations: 11.97 MB / 1.889 GB, free: 2.836 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/3.157, allocations: 2.447 MB / 1.892 GB, free: 0.5625 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/3.177, allocations: 20.95 MB / 1.912 GB, free: 10.96 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01669/3.194, allocations: 0.706 MB / 1.913 GB, free: 10.26 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003212/3.197, allocations: 0.5585 MB / 1.913 GB, free: 9.699 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02295/3.22, allocations: 11.1 MB / 1.924 GB, free: 14.59 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01582/3.236, allocations: 9.894 MB / 1.934 GB, free: 2.973 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02508/3.261, allocations: 15.59 MB / 1.949 GB, free: 2.113 MB / 1.483 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001372/3.261, allocations: 36 kB / 1.949 GB, free: 2.078 MB / 1.483 GB Notification: Performance of matching and sorting (n=1503) (initialization_lambda0): time 0.04487/3.306, allocations: 19.06 MB / 1.968 GB, free: 15.73 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001941/3.306, allocations: 60 kB / 1.968 GB, free: 15.67 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002753/3.306, allocations: 124 kB / 1.968 GB, free: 15.55 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09556/3.402, allocations: 11.98 MB / 1.98 GB, free: 3.539 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/3.413, allocations: 2.397 MB / 1.982 GB, free: 1.309 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/3.432, allocations: 19.15 MB / 2.001 GB, free: 13.57 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01441/3.446, allocations: 0.6945 MB / 2.001 GB, free: 12.87 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003203/3.45, allocations: 0.5546 MB / 2.002 GB, free: 12.32 MB / 1.545 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.005816/3.456, allocations: 0.8972 MB / 2.003 GB, free: 11.58 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005715/3.461, allocations: 1.234 MB / 2.004 GB, free: 10.34 MB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02764/3.489, allocations: 11.64 MB / 2.015 GB, free: 14.65 MB / 1.561 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01863/3.508, allocations: 9.662 MB / 2.025 GB, free: 4.867 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/3.508, allocations: 0 / 2.025 GB, free: 4.867 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008638/3.516, allocations: 2.648 MB / 2.027 GB, free: 2.191 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004567/3.521, allocations: 140 kB / 2.027 GB, free: 2.055 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009185/3.53, allocations: 387.4 kB / 2.028 GB, free: 1.676 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001596/3.532, allocations: 384.6 kB / 2.028 GB, free: 1.297 MB / 1.561 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02809/3.56, allocations: 12.17 MB / 2.04 GB, free: 5.156 MB / 1.576 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02863/3.588, allocations: 15.81 MB / 2.056 GB, free: 5.23 MB / 1.592 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00683/3.595, allocations: 4.541 MB / 2.06 GB, free: 0.668 MB / 1.592 GB Notification: Performance of sorting global known variables: time 0.01844/3.614, allocations: 9.177 MB / 2.069 GB, free: 7.543 MB / 1.608 GB Notification: Performance of Backend: time 1.232e-06/3.614, allocations: 0 / 2.069 GB, free: 7.543 MB / 1.608 GB Notification: Performance of simCode: created initialization part: time 0.05659/3.67, allocations: 19.96 MB / 2.088 GB, free: 4.465 MB / 1.623 GB Notification: Performance of SimCode: time 0.08155/3.752, allocations: 35.42 MB / 2.123 GB, free: 1.254 MB / 1.654 GB Notification: Performance of Templates: time 1.147/4.899, allocations: 312.5 MB / 2.428 GB, free: 0.5026 GB / 1.717 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)