Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.001094/0.001094, allocations: 180.5 kB / 373 MB, free: 10.15 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.618/1.618, allocations: 205.4 MB / 0.6317 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007031/0.0007034, allocations: 90.31 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005601/0.0005605, allocations: 20 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2662, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.342, allocations: 420.8 MB / 1.392 GB, free: 8.262 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.342, allocations: 88.7 kB / 1.392 GB, free: 8.215 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 16.92/18.26, allocations: 4.585 GB / 5.976 GB, free: 66.5 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.023e-06/18.26, allocations: 2.969 kB / 5.976 GB, free: 66.5 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.002875/18.27, allocations: 399.8 kB / 5.977 GB, free: 66.45 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.0634/18.33, allocations: 16.19 MB / 5.992 GB, free: 60.88 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/18.33, allocations: 8.531 kB / 5.992 GB, free: 60.88 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/18.34, allocations: 1.885 MB / 5.994 GB, free: 59.99 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04637/18.39, allocations: 17.48 MB / 6.011 GB, free: 57.83 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001067/18.39, allocations: 0.9713 MB / 6.012 GB, free: 57.8 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005625/18.4, allocations: 1.303 MB / 6.014 GB, free: 57.79 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04578/18.44, allocations: 18.38 MB / 6.032 GB, free: 55.59 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006443/18.44, allocations: 42.81 kB / 6.032 GB, free: 55.58 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004564/18.45, allocations: 0.535 MB / 6.032 GB, free: 55.58 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004554/18.45, allocations: 352.6 kB / 6.032 GB, free: 55.58 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03549/18.48, allocations: 15.61 MB / 6.048 GB, free: 55.49 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.1434/18.63, allocations: 80.25 MB / 6.126 GB, free: 38.01 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/18.65, allocations: 11.87 MB / 6.138 GB, free: 37.48 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009975/18.66, allocations: 6.148 MB / 6.144 GB, free: 37.4 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06433/18.72, allocations: 27.96 MB / 6.171 GB, free: 30.82 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/18.72, allocations: 119.3 kB / 6.171 GB, free: 30.77 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01055/18.73, allocations: 0.7278 MB / 6.172 GB, free: 30.31 MB / 1.089 GB Notification: Performance of pre-optimization done (n=651): time 4.316e-05/18.73, allocations: 0 / 6.172 GB, free: 30.31 MB / 1.089 GB Notification: Performance of matching and sorting (n=651): time 0.04731/18.78, allocations: 17.79 MB / 6.189 GB, free: 27.9 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.449e-05/18.78, allocations: 122.8 kB / 6.189 GB, free: 27.83 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03748/18.82, allocations: 12.52 MB / 6.202 GB, free: 27 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002628/18.82, allocations: 187.5 kB / 6.202 GB, free: 26.97 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.008846/18.83, allocations: 7.148 MB / 6.209 GB, free: 24.19 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.003954/18.83, allocations: 2.29 MB / 6.211 GB, free: 22.75 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002055/18.83, allocations: 229 kB / 6.211 GB, free: 22.75 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001011/18.84, allocations: 0.7688 MB / 6.212 GB, free: 22.43 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01052/18.85, allocations: 5.659 MB / 6.217 GB, free: 22.4 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01445/18.86, allocations: 9.589 MB / 6.227 GB, free: 17.82 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02548/18.89, allocations: 15.13 MB / 6.242 GB, free: 13.29 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002564/18.89, allocations: 34.41 kB / 6.242 GB, free: 13.29 MB / 1.089 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.0446/18.93, allocations: 18.38 MB / 6.26 GB, free: 7.957 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.003407/18.93, allocations: 3.709 MB / 6.263 GB, free: 18.79 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003791/18.93, allocations: 119.9 kB / 6.263 GB, free: 18.79 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09513/19.03, allocations: 11.84 MB / 6.275 GB, free: 17.19 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/19.04, allocations: 2.366 MB / 6.277 GB, free: 16.95 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/19.06, allocations: 20.23 MB / 6.297 GB, free: 1.484 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01827/19.08, allocations: 1.085 MB / 6.298 GB, free: 1.168 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003784/19.09, allocations: 0.5419 MB / 6.299 GB, free: 1.074 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/19.09, allocations: 3.969 kB / 6.299 GB, free: 1.074 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04945/19.13, allocations: 17.83 MB / 6.316 GB, free: 12.09 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004536/19.14, allocations: 118.3 kB / 6.316 GB, free: 12.09 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09719/19.23, allocations: 11.85 MB / 6.328 GB, free: 10.47 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/19.24, allocations: 2.315 MB / 6.33 GB, free: 10.23 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01999/19.26, allocations: 18.44 MB / 6.348 GB, free: 12.58 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01889/19.28, allocations: 1.04 MB / 6.349 GB, free: 12.29 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004455/19.29, allocations: 0.5446 MB / 6.349 GB, free: 12.2 MB / 1.135 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 (1233): * Single equations (assignments): 1215 * 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.01938/19.31, allocations: 5.753 MB / 6.355 GB, free: 9.574 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00674/19.31, allocations: 1.158 MB / 6.356 GB, free: 8.953 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03731/19.35, allocations: 11.39 MB / 6.367 GB, free: 2.555 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.93e-05/19.35, allocations: 64 kB / 6.367 GB, free: 2.492 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.001e-05/19.35, allocations: 4 kB / 6.367 GB, free: 2.488 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043/20.39, allocations: 9.72 MB / 6.377 GB, free: 112.7 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08742/20.48, allocations: 25.44 MB / 6.402 GB, free: 111.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.706e-05/20.48, allocations: 12.28 kB / 6.402 GB, free: 111.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007179/20.49, allocations: 1.145 MB / 6.403 GB, free: 111.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05792/20.55, allocations: 6.413 MB / 6.409 GB, free: 111.3 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002948/20.55, allocations: 185.1 kB / 6.409 GB, free: 111.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01543/20.56, allocations: 17.82 MB / 6.427 GB, free: 99.39 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/20.56, allocations: 21.84 kB / 6.427 GB, free: 99.39 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03686/20.6, allocations: 17.48 MB / 6.444 GB, free: 97.93 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01338/20.61, allocations: 2.653 MB / 6.446 GB, free: 97.83 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007224/20.62, allocations: 158.7 kB / 6.447 GB, free: 97.83 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01492/20.64, allocations: 0.7513 MB / 6.447 GB, free: 97.83 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002845/20.64, allocations: 448.9 kB / 6.448 GB, free: 97.81 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0026/20.64, allocations: 290.9 kB / 6.448 GB, free: 97.81 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.02467/20.67, allocations: 8.526 MB / 6.456 GB, free: 97.49 MB / 1.135 GB Notification: Performance of sort global known variables: time 4e-07/20.67, allocations: 0 / 6.456 GB, free: 97.49 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.04649/20.71, allocations: 7.827 MB / 6.464 GB, free: 97.03 MB / 1.135 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 (561): * Single equations (assignments): 537 * 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.008147/20.72, allocations: 2.084 MB / 6.466 GB, free: 96.59 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.05441/20.78, allocations: 21.96 MB / 6.487 GB, free: 95.62 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.185e-05/20.78, allocations: 9.406 kB / 6.487 GB, free: 95.62 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.01239/20.79, allocations: 5.39 MB / 6.493 GB, free: 95.21 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07391/20.86, allocations: 6.167 MB / 6.499 GB, free: 95.12 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07847/20.94, allocations: 36.93 MB / 6.535 GB, free: 82.43 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0204/20.96, allocations: 9.859 MB / 6.544 GB, free: 81.29 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.02928/20.99, allocations: 6.088 MB / 6.55 GB, free: 80.75 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005878/21, allocations: 0.8596 MB / 6.551 GB, free: 80.73 MB / 1.135 GB Notification: Performance of SimCode: time 1.092e-06/21, allocations: 0 / 6.551 GB, free: 80.73 MB / 1.135 GB Notification: Performance of Templates: time 1.927/22.92, allocations: 271 MB / 6.816 GB, free: 126.6 MB / 1.151 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)