Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.31/1.31, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 183.8 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 0.5785 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007868/0.0007868, allocations: 96.78 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003657, allocations: 13.41 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2045, allocations: 106.3 MB / 0.9012 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8038/1.008, allocations: 413.1 MB / 1.305 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/1.009, allocations: 100.4 kB / 1.305 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 14.33/15.34, allocations: 4.461 GB / 5.765 GB, free: 95.64 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.484e-06/15.34, allocations: 0 / 5.765 GB, free: 95.64 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.002619/15.34, allocations: 399.2 kB / 5.766 GB, free: 95.59 MB / 1.01 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.052/15.39, allocations: 16.18 MB / 5.782 GB, free: 89.79 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/15.39, allocations: 11.12 kB / 5.782 GB, free: 89.79 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/15.4, allocations: 1.88 MB / 5.784 GB, free: 88.89 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04511/15.45, allocations: 17.41 MB / 5.801 GB, free: 86.74 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001244/15.45, allocations: 0.9746 MB / 5.801 GB, free: 86.71 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005843/15.46, allocations: 1.305 MB / 5.803 GB, free: 86.7 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05095/15.51, allocations: 18.28 MB / 5.821 GB, free: 84.44 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009241/15.51, allocations: 48.47 kB / 5.821 GB, free: 84.44 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005688/15.51, allocations: 0.528 MB / 5.821 GB, free: 84.44 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004192/15.51, allocations: 355.1 kB / 5.821 GB, free: 84.43 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03745/15.55, allocations: 15.61 MB / 5.837 GB, free: 84.34 MB / 1.01 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.1366/15.69, allocations: 80.18 MB / 5.915 GB, free: 49.77 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/15.71, allocations: 11.88 MB / 5.927 GB, free: 49.16 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01112/15.72, allocations: 6.144 MB / 5.933 GB, free: 48.92 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06157/15.78, allocations: 27.82 MB / 5.96 GB, free: 34.23 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/15.78, allocations: 113.4 kB / 5.96 GB, free: 34.14 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008361/15.79, allocations: 0.7245 MB / 5.961 GB, free: 33.56 MB / 1.01 GB Notification: Performance of pre-optimization done (n=651): time 1.95e-05/15.79, allocations: 0 / 5.961 GB, free: 33.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=651): time 0.04033/15.83, allocations: 17.8 MB / 5.978 GB, free: 26.51 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/15.83, allocations: 115 kB / 5.978 GB, free: 26.44 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03098/15.86, allocations: 12.53 MB / 5.99 GB, free: 22.06 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.002384/15.86, allocations: 186.3 kB / 5.991 GB, free: 21.91 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.008412/15.87, allocations: 7.145 MB / 5.997 GB, free: 16.43 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00358/15.87, allocations: 2.292 MB / 6 GB, free: 14.67 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002312/15.88, allocations: 229.6 kB / 6 GB, free: 14.49 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001269/15.88, allocations: 0.7696 MB / 6.001 GB, free: 13.98 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01014/15.89, allocations: 5.654 MB / 6.006 GB, free: 11.92 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01356/15.9, allocations: 9.585 MB / 6.016 GB, free: 3.145 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02399/15.93, allocations: 15.13 MB / 6.03 GB, free: 3.828 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/15.93, allocations: 36 kB / 6.03 GB, free: 3.793 MB / 1.026 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.7076/16.63, allocations: 19.12 MB / 6.049 GB, free: 112.5 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.003577/16.64, allocations: 3.714 MB / 6.053 GB, free: 108.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003223/16.64, allocations: 120 kB / 6.053 GB, free: 108.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08616/16.72, allocations: 11.84 MB / 6.064 GB, free: 107.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009711/16.73, allocations: 2.365 MB / 6.067 GB, free: 107.9 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/16.75, allocations: 20.22 MB / 6.086 GB, free: 96 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01417/16.76, allocations: 1.087 MB / 6.087 GB, free: 96 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00279/16.77, allocations: 0.5412 MB / 6.088 GB, free: 96 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/16.77, allocations: 4.781 kB / 6.088 GB, free: 96 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03064/16.8, allocations: 17.36 MB / 6.105 GB, free: 95.68 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004282/16.8, allocations: 119.8 kB / 6.105 GB, free: 95.68 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08319/16.88, allocations: 11.84 MB / 6.117 GB, free: 95.52 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009227/16.89, allocations: 2.316 MB / 6.119 GB, free: 95.52 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/16.9, allocations: 18.43 MB / 6.137 GB, free: 85.19 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01329/16.92, allocations: 1.035 MB / 6.138 GB, free: 85.15 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002867/16.92, allocations: 0.5408 MB / 6.138 GB, free: 85.15 MB / 1.026 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.0121/16.93, allocations: 5.76 MB / 6.144 GB, free: 84.79 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003499/16.94, allocations: 1.151 MB / 6.145 GB, free: 84.75 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02035/16.96, allocations: 11.4 MB / 6.156 GB, free: 84.16 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.767e-05/16.96, allocations: 64.91 kB / 6.156 GB, free: 84.16 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/16.96, allocations: 4.531 kB / 6.156 GB, free: 84.16 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0127/16.97, allocations: 9.435 MB / 6.166 GB, free: 83.54 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04782/17.02, allocations: 25.3 MB / 6.19 GB, free: 82.07 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/17.02, allocations: 13.03 kB / 6.19 GB, free: 82.07 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004664/17.02, allocations: 1.142 MB / 6.191 GB, free: 82 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04403/17.07, allocations: 6.414 MB / 6.198 GB, free: 81.55 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001782/17.07, allocations: 191.6 kB / 6.198 GB, free: 81.54 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/17.08, allocations: 17.82 MB / 6.215 GB, free: 69.4 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/17.08, allocations: 21.59 kB / 6.215 GB, free: 69.39 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02608/17.11, allocations: 17.48 MB / 6.232 GB, free: 67.23 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008831/17.11, allocations: 2.614 MB / 6.235 GB, free: 66.52 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004089/17.12, allocations: 161.4 kB / 6.235 GB, free: 66.52 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01086/17.13, allocations: 0.745 MB / 6.236 GB, free: 66.45 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002272/17.13, allocations: 447.1 kB / 6.236 GB, free: 66.41 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001192/17.13, allocations: 275.5 kB / 6.236 GB, free: 66.41 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01906/17.15, allocations: 8.527 MB / 6.245 GB, free: 66.09 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.01e-07/17.15, allocations: 0 / 6.245 GB, free: 66.09 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03463/17.19, allocations: 7.732 MB / 6.252 GB, free: 65.57 MB / 1.026 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.005442/17.19, allocations: 2.068 MB / 6.254 GB, free: 64.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.04467/17.24, allocations: 21.96 MB / 6.276 GB, free: 63.06 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.207e-05/17.24, allocations: 4.438 kB / 6.276 GB, free: 63.06 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01094/17.25, allocations: 5.382 MB / 6.281 GB, free: 62.5 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05942/17.31, allocations: 6.134 MB / 6.287 GB, free: 62.19 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.061/17.37, allocations: 36.87 MB / 6.323 GB, free: 48.05 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01481/17.38, allocations: 9.859 MB / 6.333 GB, free: 42.12 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02334/17.41, allocations: 6.072 MB / 6.339 GB, free: 38.17 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004502/17.41, allocations: 0.8517 MB / 6.339 GB, free: 37.37 MB / 1.026 GB Notification: Performance of SimCode: time 1.102e-06/17.41, allocations: 0 / 6.339 GB, free: 37.37 MB / 1.026 GB Notification: Performance of Templates: time 1.517/18.93, allocations: 268.8 MB / 6.602 GB, free: 106 MB / 1.042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)