Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.808/1.808, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.001787/0.001787, allocations: 181 kB / 377.1 MB, free: 1.531 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.741/1.741, allocations: 205.4 MB / 0.6367 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008882/0.000888, allocations: 86.09 kB / 0.751 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.000332, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.28, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.619/1.899, allocations: 421.7 MB / 1.4 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/1.899, allocations: 98.86 kB / 1.4 GB, free: 254.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 18.76/20.66, allocations: 4.613 GB / 6.013 GB, free: 87.39 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.446e-06/20.66, allocations: 1.188 kB / 6.013 GB, free: 87.39 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.004334/20.66, allocations: 397.2 kB / 6.014 GB, free: 87.34 MB / 1.073 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.07952/20.74, allocations: 16.37 MB / 6.029 GB, free: 81.53 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/20.74, allocations: 10.81 kB / 6.03 GB, free: 81.53 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/20.76, allocations: 1.88 MB / 6.031 GB, free: 80.64 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0552/20.81, allocations: 17.83 MB / 6.049 GB, free: 78.96 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001605/20.81, allocations: 0.9776 MB / 6.05 GB, free: 78.93 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007222/20.82, allocations: 1.298 MB / 6.051 GB, free: 78.92 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06506/20.88, allocations: 18.27 MB / 6.069 GB, free: 76.72 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001092/20.89, allocations: 44.62 kB / 6.069 GB, free: 76.71 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00706/20.89, allocations: 0.5312 MB / 6.069 GB, free: 76.71 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004416/20.89, allocations: 355 kB / 6.07 GB, free: 76.71 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04283/20.94, allocations: 15.62 MB / 6.085 GB, free: 76.62 MB / 1.073 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.1821/21.12, allocations: 80.81 MB / 6.164 GB, free: 58.68 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02838/21.15, allocations: 11.98 MB / 6.176 GB, free: 58.08 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08165/21.23, allocations: 28.32 MB / 6.203 GB, free: 50.52 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/21.23, allocations: 122.3 kB / 6.203 GB, free: 50.43 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01259/21.24, allocations: 0.7729 MB / 6.204 GB, free: 49.81 MB / 1.089 GB Notification: Performance of pre-optimization done (n=660): time 3.751e-05/21.24, allocations: 0 / 6.204 GB, free: 49.81 MB / 1.089 GB Notification: Performance of matching and sorting (n=660): time 0.05303/21.29, allocations: 18 MB / 6.222 GB, free: 42.64 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/21.29, allocations: 116.5 kB / 6.222 GB, free: 42.57 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04055/21.34, allocations: 12.03 MB / 6.234 GB, free: 38.32 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.003418/21.34, allocations: 186.6 kB / 6.234 GB, free: 38.17 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01148/21.35, allocations: 7.102 MB / 6.241 GB, free: 32.73 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.005123/21.36, allocations: 2.319 MB / 6.243 GB, free: 30.95 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003237/21.36, allocations: 229.6 kB / 6.243 GB, free: 30.77 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001987/21.36, allocations: 0.7802 MB / 6.244 GB, free: 30.26 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01292/21.37, allocations: 5.7 MB / 6.249 GB, free: 28.18 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01725/21.39, allocations: 9.584 MB / 6.259 GB, free: 21.1 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01588/21.41, allocations: 7.595 MB / 6.266 GB, free: 17.88 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001947/21.41, allocations: 32.91 kB / 6.266 GB, free: 17.88 MB / 1.089 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05138/21.46, allocations: 18.44 MB / 6.284 GB, free: 10.51 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.9796/22.44, allocations: 68.61 MB / 6.351 GB, free: 103.7 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005524/22.44, allocations: 119.9 kB / 6.351 GB, free: 103.7 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1132/22.55, allocations: 11.85 MB / 6.363 GB, free: 103.5 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01443/22.57, allocations: 2.406 MB / 6.365 GB, free: 103.5 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/22.59, allocations: 20.3 MB / 6.385 GB, free: 91.59 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02187/22.61, allocations: 1.104 MB / 6.386 GB, free: 91.59 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005106/22.61, allocations: 0.5487 MB / 6.387 GB, free: 91.59 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/22.61, allocations: 2.469 kB / 6.387 GB, free: 91.59 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04723/22.66, allocations: 17.41 MB / 6.404 GB, free: 91.27 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006496/22.66, allocations: 121 kB / 6.404 GB, free: 91.27 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1028/22.76, allocations: 11.87 MB / 6.415 GB, free: 91.14 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0121/22.78, allocations: 2.384 MB / 6.418 GB, free: 91.14 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01809/22.79, allocations: 18.52 MB / 6.436 GB, free: 80.95 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01928/22.81, allocations: 1.048 MB / 6.437 GB, free: 80.95 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004679/22.82, allocations: 0.5403 MB / 6.437 GB, free: 80.95 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * 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 (1242): * Single equations (assignments): 1224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {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.02002/22.84, allocations: 5.764 MB / 6.443 GB, free: 80.76 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006735/22.85, allocations: 1.151 MB / 6.444 GB, free: 80.76 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03723/22.88, allocations: 11.63 MB / 6.456 GB, free: 80.26 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001608/22.88, allocations: 64.34 kB / 6.456 GB, free: 80.26 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.031e-05/22.88, allocations: 6.719 kB / 6.456 GB, free: 80.26 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02472/22.91, allocations: 9.632 MB / 6.465 GB, free: 79.68 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08104/22.99, allocations: 25.84 MB / 6.49 GB, free: 78.36 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.316e-05/22.99, allocations: 12.75 kB / 6.49 GB, free: 78.36 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007223/23, allocations: 1.14 MB / 6.491 GB, free: 78.32 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05414/23.05, allocations: 6.414 MB / 6.498 GB, free: 78.1 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002406/23.05, allocations: 189.5 kB / 6.498 GB, free: 78.1 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/23.07, allocations: 17.9 MB / 6.515 GB, free: 66.08 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.421e-05/23.07, allocations: 25.98 kB / 6.515 GB, free: 66.07 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03815/23.11, allocations: 21.38 MB / 6.536 GB, free: 60.04 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0145/23.12, allocations: 2.787 MB / 6.539 GB, free: 59.33 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007536/23.13, allocations: 164.3 kB / 6.539 GB, free: 59.33 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01576/23.14, allocations: 0.7625 MB / 6.54 GB, free: 59.26 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002597/23.15, allocations: 448.1 kB / 6.54 GB, free: 59.22 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001643/23.15, allocations: 292.2 kB / 6.541 GB, free: 59.22 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02693/23.18, allocations: 9.195 MB / 6.55 GB, free: 58.9 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.032e-06/23.18, allocations: 4 kB / 6.55 GB, free: 58.9 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.05433/23.23, allocations: 7.908 MB / 6.557 GB, free: 58.38 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (570): * Single equations (assignments): 546 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007347/23.24, allocations: 2.146 MB / 6.559 GB, free: 57.71 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0537/23.29, allocations: 22.08 MB / 6.581 GB, free: 55.88 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.691e-05/23.29, allocations: 12.25 kB / 6.581 GB, free: 55.88 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01325/23.3, allocations: 5.43 MB / 6.586 GB, free: 55.32 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04041/23.34, allocations: 6.135 MB / 6.592 GB, free: 54.97 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08392/23.43, allocations: 36.91 MB / 6.628 GB, free: 40.83 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02417/23.45, allocations: 10.13 MB / 6.638 GB, free: 39.58 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.03461/23.49, allocations: 6.153 MB / 6.644 GB, free: 39.03 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007679/23.49, allocations: 0.8749 MB / 6.645 GB, free: 39.01 MB / 1.12 GB Notification: Performance of SimCode: time 1.543e-06/23.49, allocations: 4 kB / 6.645 GB, free: 39.01 MB / 1.12 GB Notification: Performance of Templates: time 2.338/25.83, allocations: 271.7 MB / 6.91 GB, free: 132.4 MB / 1.136 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)