Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001085, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8711/0.8711, allocations: 133.4 MB / 146.7 MB, free: 10.76 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008606, allocations: 94.02 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.972e-05, allocations: 3.25 kB / 0.56 GB, free: 87.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1995, allocations: 82.31 MB / 0.6404 GB, free: 7.824 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.625/1.824, allocations: 394.4 MB / 1.026 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.825, allocations: 90.86 kB / 1.026 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 20.17/21.99, allocations: 4.689 GB / 5.715 GB, free: 35.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.735e-06/21.99, allocations: 0 / 5.715 GB, free: 35.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.004011/22, allocations: 418 kB / 5.715 GB, free: 34.95 MB / 0.8073 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.05002/22.05, allocations: 13.7 MB / 5.729 GB, free: 29.94 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/22.05, allocations: 7.875 kB / 5.729 GB, free: 29.94 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/22.06, allocations: 1.887 MB / 5.731 GB, free: 29.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05158/22.11, allocations: 18.15 MB / 5.748 GB, free: 24.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001438/22.12, allocations: 0.9816 MB / 5.749 GB, free: 23.58 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008414/22.12, allocations: 1.304 MB / 5.751 GB, free: 22.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06931/22.19, allocations: 18.06 MB / 5.768 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008206/22.19, allocations: 43.58 kB / 5.768 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005654/22.2, allocations: 0.5312 MB / 5.769 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003239/22.2, allocations: 355.9 kB / 5.769 GB, free: 4.031 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03948/22.24, allocations: 15.33 MB / 5.784 GB, free: 4.695 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.9118/23.15, allocations: 80.84 MB / 5.863 GB, free: 40.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02278/23.17, allocations: 11.86 MB / 5.875 GB, free: 40.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01233/23.19, allocations: 6.034 MB / 5.88 GB, free: 39.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07631/23.26, allocations: 28.75 MB / 5.909 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/23.26, allocations: 127.9 kB / 5.909 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00957/23.27, allocations: 0.7768 MB / 5.909 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=651): time 3.956e-05/23.27, allocations: 0 / 5.909 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=651): time 0.02344/23.3, allocations: 10.16 MB / 5.919 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/23.3, allocations: 122.4 kB / 5.919 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02934/23.33, allocations: 12.03 MB / 5.931 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.004027/23.33, allocations: 185.3 kB / 5.931 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.009755/23.34, allocations: 7.17 MB / 5.938 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.004209/23.34, allocations: 2.292 MB / 5.941 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/23.35, allocations: 230.9 kB / 5.941 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0009015/23.35, allocations: 0.779 MB / 5.942 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009747/23.36, allocations: 5.571 MB / 5.947 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01398/23.37, allocations: 9.453 MB / 5.956 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/23.39, allocations: 7.511 MB / 5.964 GB, free: 22.49 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002189/23.39, allocations: 34.25 kB / 5.964 GB, free: 22.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.0549/23.44, allocations: 18.2 MB / 5.981 GB, free: 21.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.03279/23.47, allocations: 69.07 MB / 6.049 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007158/23.47, allocations: 120.5 kB / 6.049 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1129/23.59, allocations: 11.87 MB / 6.061 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0173/23.6, allocations: 2.395 MB / 6.063 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02768/23.63, allocations: 20.18 MB / 6.083 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02689/23.66, allocations: 1.094 MB / 6.084 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005496/23.66, allocations: 0.5409 MB / 6.084 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/23.66, allocations: 6.156 kB / 6.084 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05712/23.72, allocations: 17.17 MB / 6.101 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006417/23.72, allocations: 119.1 kB / 6.101 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1334/23.86, allocations: 11.88 MB / 6.113 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01091/23.87, allocations: 2.371 MB / 6.115 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8724/24.74, allocations: 18.37 MB / 6.133 GB, free: 145.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02083/24.76, allocations: 1.041 MB / 6.134 GB, free: 145.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006336/24.77, allocations: 0.5396 MB / 6.135 GB, free: 145.3 MB / 0.9167 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 () * 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.006888/24.77, allocations: 0.7809 MB / 6.135 GB, free: 145.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005588/24.78, allocations: 1.161 MB / 6.136 GB, free: 145.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02906/24.81, allocations: 11.32 MB / 6.147 GB, free: 144.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.641e-05/24.81, allocations: 64.16 kB / 6.148 GB, free: 144.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.378e-05/24.81, allocations: 5.656 kB / 6.148 GB, free: 144.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01869/24.83, allocations: 9.333 MB / 6.157 GB, free: 144.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06754/24.89, allocations: 25.6 MB / 6.182 GB, free: 142.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.04e-05/24.89, allocations: 11.47 kB / 6.182 GB, free: 142.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005838/24.9, allocations: 1.135 MB / 6.183 GB, free: 142.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04761/24.95, allocations: 6.417 MB / 6.189 GB, free: 142.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002193/24.95, allocations: 189.2 kB / 6.189 GB, free: 142.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/24.96, allocations: 17.78 MB / 6.207 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/24.96, allocations: 18.94 kB / 6.207 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0357/25, allocations: 21.09 MB / 6.227 GB, free: 124.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01384/25.01, allocations: 2.783 MB / 6.23 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007493/25.02, allocations: 160.1 kB / 6.23 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01778/25.04, allocations: 0.7497 MB / 6.231 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003038/25.04, allocations: 446.8 kB / 6.231 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003171/25.05, allocations: 289.5 kB / 6.231 GB, free: 123.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.03665/25.08, allocations: 9.185 MB / 6.24 GB, free: 123.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.81e-07/25.08, allocations: 0 / 6.24 GB, free: 123.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.05895/25.14, allocations: 7.91 MB / 6.248 GB, free: 122.6 MB / 0.9167 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 () * 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.008023/25.15, allocations: 2.14 MB / 6.25 GB, free: 122.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.05846/25.21, allocations: 22.01 MB / 6.272 GB, free: 121.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.322e-05/25.21, allocations: 6.281 kB / 6.272 GB, free: 121.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01288/25.22, allocations: 5.311 MB / 6.277 GB, free: 120.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03917/25.26, allocations: 6.117 MB / 6.283 GB, free: 120.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08642/25.35, allocations: 27.53 MB / 6.31 GB, free: 114.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02507/25.37, allocations: 10.21 MB / 6.32 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.05678/25.43, allocations: 9.348 MB / 6.329 GB, free: 112.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006203/25.43, allocations: 0.6934 MB / 6.33 GB, free: 112.8 MB / 0.9167 GB Notification: Performance of SimCode: time 2.124e-06/25.43, allocations: 3.281 kB / 6.33 GB, free: 112.8 MB / 0.9167 GB Notification: Performance of Templates: time 2.29/27.72, allocations: 290 MB / 6.613 GB, free: 137.5 MB / 0.9168 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)