Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001304/0.001304, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001244/0.001244, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.00165, allocations: 67.89 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7546/0.7562, allocations: 151.6 MB / 1.167 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.1343/0.8905, allocations: 151.9 MB / 1.316 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05535/0.9459, allocations: 44.17 MB / 1.359 GB, free: 15.08 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007533/0.9535, allocations: 206.8 kB / 1.359 GB, free: 14.88 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.007013/0.9606, allocations: 2.543 MB / 1.361 GB, free: 12.32 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01648/0.9771, allocations: 6.137 MB / 1.367 GB, free: 6.152 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01231/0.9894, allocations: 4.846 MB / 1.372 GB, free: 1.324 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.04747/1.037, allocations: 43.94 MB / 1.415 GB, free: 5.266 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03431/1.071, allocations: 23.08 MB / 1.438 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0304/1.102, allocations: 15.94 MB / 1.453 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02162/1.123, allocations: 13.16 MB / 1.466 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.007187/1.131, allocations: 2.34 MB / 1.468 GB, free: 14.55 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01555/1.146, allocations: 4.777 MB / 1.473 GB, free: 9.777 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.009444/1.156, allocations: 5.22 MB / 1.478 GB, free: 4.543 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.02574/1.181, allocations: 10.79 MB / 1.489 GB, free: 9.707 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.04435/1.226, allocations: 31.88 MB / 1.52 GB, free: 9.746 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/1.226, allocations: 3.938 kB / 1.52 GB, free: 9.742 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.873e-06/1.226, allocations: 0 / 1.52 GB, free: 9.742 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.001172/1.227, allocations: 0 / 1.52 GB, free: 9.742 MB / 1.248 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.05807/1.285, allocations: 19.52 MB / 1.539 GB, free: 6.09 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.285, allocations: 12.92 kB / 1.539 GB, free: 6.078 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009901/1.295, allocations: 1.94 MB / 1.541 GB, free: 4.117 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03547/1.331, allocations: 15.32 MB / 1.556 GB, free: 4.723 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/1.332, allocations: 0.9699 MB / 1.557 GB, free: 3.75 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004946/1.337, allocations: 1.297 MB / 1.558 GB, free: 2.453 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.156/2.492, allocations: 19.29 MB / 1.577 GB, free: 345.7 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003328/2.493, allocations: 49.28 kB / 1.577 GB, free: 345.7 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002125/2.495, allocations: 0.5316 MB / 1.577 GB, free: 345.3 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002229/2.495, allocations: 356.7 kB / 1.578 GB, free: 345.3 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02771/2.523, allocations: 16.61 MB / 1.594 GB, free: 336.9 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.1098/2.633, allocations: 86.68 MB / 1.679 GB, free: 247.6 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01622/2.649, allocations: 12.25 MB / 1.69 GB, free: 235.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008376/2.657, allocations: 6.225 MB / 1.697 GB, free: 229.1 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05472/2.712, allocations: 28.36 MB / 1.724 GB, free: 199.8 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.752e-05/2.712, allocations: 127.7 kB / 1.724 GB, free: 199.7 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005132/2.717, allocations: 0.7483 MB / 1.725 GB, free: 198.9 MB / 1.279 GB Notification: Performance of pre-optimization done (n=651): time 1.519e-05/2.717, allocations: 0 / 1.725 GB, free: 198.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=651): time 0.03878/2.756, allocations: 17.87 MB / 1.743 GB, free: 180.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/2.756, allocations: 116.5 kB / 1.743 GB, free: 180.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.023/2.779, allocations: 13.36 MB / 1.756 GB, free: 167.3 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001746/2.781, allocations: 181.7 kB / 1.756 GB, free: 167.1 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.005888/2.787, allocations: 7.235 MB / 1.763 GB, free: 159.8 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.002705/2.79, allocations: 2.302 MB / 1.765 GB, free: 157.6 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005929/2.796, allocations: 2.384 MB / 1.768 GB, free: 155.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.125e-05/2.796, allocations: 309.1 kB / 1.768 GB, free: 154.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008372/2.804, allocations: 5.925 MB / 1.774 GB, free: 148.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009158/2.813, allocations: 9.898 MB / 1.783 GB, free: 137.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/2.829, allocations: 15.6 MB / 1.799 GB, free: 119.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.821e-05/2.829, allocations: 36 kB / 1.799 GB, free: 119.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=1503) (initialization): time 0.02749/2.857, allocations: 19 MB / 1.817 GB, free: 100.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 9.742e-05/2.857, allocations: 64.03 kB / 1.817 GB, free: 100.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001537/2.857, allocations: 124 kB / 1.817 GB, free: 100.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09191/2.949, allocations: 11.98 MB / 1.829 GB, free: 88.52 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009265/2.958, allocations: 2.438 MB / 1.831 GB, free: 86.08 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/2.973, allocations: 20.94 MB / 1.852 GB, free: 64.36 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01147/2.985, allocations: 0.7057 MB / 1.853 GB, free: 63.66 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/2.987, allocations: 0.5546 MB / 1.853 GB, free: 63.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01697/3.004, allocations: 11.11 MB / 1.864 GB, free: 51.98 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01063/3.015, allocations: 9.885 MB / 1.874 GB, free: 40.32 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01866/3.033, allocations: 15.59 MB / 1.889 GB, free: 22.93 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001173/3.034, allocations: 36 kB / 1.889 GB, free: 22.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=1503) (initialization_lambda0): time 0.03766/3.071, allocations: 19.01 MB / 1.907 GB, free: 3.812 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/3.071, allocations: 60 kB / 1.907 GB, free: 3.754 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001904/3.072, allocations: 124 kB / 1.908 GB, free: 3.633 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0952/3.167, allocations: 11.97 MB / 1.919 GB, free: 7.613 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00988/3.177, allocations: 2.394 MB / 1.922 GB, free: 5.215 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/3.196, allocations: 19.14 MB / 1.94 GB, free: 1.363 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01254/3.208, allocations: 0.6904 MB / 1.941 GB, free: 0.6719 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002618/3.211, allocations: 0.5507 MB / 1.941 GB, free: 124 kB / 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.0043/3.215, allocations: 0.9062 MB / 1.942 GB, free: 15.21 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004592/3.22, allocations: 1.169 MB / 1.944 GB, free: 14.02 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02625/3.246, allocations: 11.65 MB / 1.955 GB, free: 2.277 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01898/3.265, allocations: 9.659 MB / 1.964 GB, free: 8.465 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-05/3.265, allocations: 0 / 1.964 GB, free: 8.465 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008171/3.273, allocations: 2.595 MB / 1.967 GB, free: 5.836 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00428/3.278, allocations: 132 kB / 1.967 GB, free: 5.707 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008896/3.287, allocations: 383.5 kB / 1.967 GB, free: 5.332 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001473/3.288, allocations: 388.7 kB / 1.968 GB, free: 4.949 MB / 1.342 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02765/3.316, allocations: 12.16 MB / 1.98 GB, free: 8.66 MB / 1.358 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02689/3.343, allocations: 15.75 MB / 1.995 GB, free: 8.789 MB / 1.373 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007084/3.35, allocations: 4.551 MB / 1.999 GB, free: 4.215 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.01858/3.368, allocations: 9.174 MB / 2.008 GB, free: 11.09 MB / 1.389 GB Notification: Performance of Backend: time 5.91e-07/3.368, allocations: 0 / 2.008 GB, free: 11.09 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.0484/3.417, allocations: 19.92 MB / 2.028 GB, free: 7.25 MB / 1.404 GB Notification: Performance of SimCode: time 0.07104/3.488, allocations: 34.93 MB / 2.062 GB, free: 4.461 MB / 1.436 GB Notification: Performance of Templates: time 1.488/4.976, allocations: 312.5 MB / 2.367 GB, free: 297.3 MB / 1.483 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)