Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00843/0.00843, allocations: 170.6 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7998/0.7998, allocations: 132.3 MB / 148.1 MB, free: 244 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 223.2 MB / 403.2 MB, free: 6.762 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009051/0.0009056, allocations: 94.08 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 8 kB / 0.5641 GB, free: 2.109 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4702/0.4705, allocations: 81.57 MB / 0.6437 GB, free: 39.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9131/1.384, allocations: 394.2 MB / 1.029 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/1.384, allocations: 100.8 kB / 1.029 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 18.47/19.85, allocations: 4.702 GB / 5.731 GB, free: 42.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.585e-06/19.85, allocations: 0 / 5.731 GB, free: 42.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.002742/19.85, allocations: 413.6 kB / 5.731 GB, free: 42.58 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.06742/19.92, allocations: 16.49 MB / 5.747 GB, free: 36.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/19.92, allocations: 10.28 kB / 5.747 GB, free: 36.63 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/19.94, allocations: 1.89 MB / 5.749 GB, free: 35.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05478/19.99, allocations: 18.24 MB / 5.767 GB, free: 33.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001621/19.99, allocations: 0.9744 MB / 5.768 GB, free: 33.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007581/20, allocations: 1.301 MB / 5.769 GB, free: 33.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06535/20.07, allocations: 18.27 MB / 5.787 GB, free: 31.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001376/20.07, allocations: 58.61 kB / 5.787 GB, free: 31.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007273/20.08, allocations: 0.53 MB / 5.788 GB, free: 31.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005508/20.08, allocations: 349.9 kB / 5.788 GB, free: 31.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04369/20.12, allocations: 15.61 MB / 5.803 GB, free: 30.92 MB / 0.8073 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.9388/21.06, allocations: 80.89 MB / 5.882 GB, free: 43.52 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02241/21.08, allocations: 11.98 MB / 5.894 GB, free: 43.06 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07584/21.16, allocations: 28.31 MB / 5.922 GB, free: 37.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/21.16, allocations: 122.7 kB / 5.922 GB, free: 36.98 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01165/21.17, allocations: 0.7794 MB / 5.922 GB, free: 36.98 MB / 0.823 GB Notification: Performance of pre-optimization done (n=660): time 5.869e-05/21.17, allocations: 0.5312 kB / 5.922 GB, free: 36.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=660): time 0.05131/21.22, allocations: 18 MB / 5.94 GB, free: 34.96 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/21.22, allocations: 119.6 kB / 5.94 GB, free: 34.89 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03413/21.25, allocations: 12.17 MB / 5.952 GB, free: 34.23 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.004733/21.26, allocations: 185.3 kB / 5.952 GB, free: 34.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01269/21.27, allocations: 7.155 MB / 5.959 GB, free: 32.06 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00504/21.28, allocations: 2.321 MB / 5.961 GB, free: 30.61 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003235/21.28, allocations: 231.8 kB / 5.962 GB, free: 30.61 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.001744/21.28, allocations: 0.772 MB / 5.962 GB, free: 30.28 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01257/21.29, allocations: 5.698 MB / 5.968 GB, free: 30.25 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0169/21.31, allocations: 9.589 MB / 5.977 GB, free: 25.67 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0173/21.33, allocations: 7.6 MB / 5.985 GB, free: 25.57 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003146/21.33, allocations: 34.22 kB / 5.985 GB, free: 25.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05065/21.38, allocations: 18.45 MB / 6.003 GB, free: 24.61 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.02924/21.41, allocations: 69.06 MB / 6.07 GB, free: 17.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006325/21.41, allocations: 123 kB / 6.07 GB, free: 17.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1049/21.51, allocations: 11.86 MB / 6.082 GB, free: 16.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/21.53, allocations: 2.407 MB / 6.084 GB, free: 16.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0217/21.55, allocations: 20.31 MB / 6.104 GB, free: 20.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01936/21.57, allocations: 1.1 MB / 6.105 GB, free: 20.63 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005632/21.57, allocations: 0.541 MB / 6.106 GB, free: 20.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/21.57, allocations: 3.188 kB / 6.106 GB, free: 20.63 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05069/21.62, allocations: 17.42 MB / 6.123 GB, free: 20.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006719/21.62, allocations: 120.2 kB / 6.123 GB, free: 20.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1117/21.74, allocations: 11.86 MB / 6.135 GB, free: 19.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01191/21.75, allocations: 2.392 MB / 6.137 GB, free: 19.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/21.77, allocations: 18.52 MB / 6.155 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0205/21.79, allocations: 1.045 MB / 6.156 GB, free: 8.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004341/21.79, allocations: 0.5396 MB / 6.156 GB, free: 8.52 MB / 0.9011 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.01922/21.81, allocations: 5.804 MB / 6.162 GB, free: 8.09 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006664/21.82, allocations: 1.171 MB / 6.163 GB, free: 7.465 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03707/21.86, allocations: 11.63 MB / 6.175 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.514e-05/21.86, allocations: 68.33 kB / 6.175 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.256e-05/21.86, allocations: 10.23 kB / 6.175 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.8498/22.71, allocations: 9.628 MB / 6.184 GB, free: 135.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07895/22.79, allocations: 25.88 MB / 6.209 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.615e-05/22.79, allocations: 12.69 kB / 6.209 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006719/22.79, allocations: 1.145 MB / 6.211 GB, free: 134.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05439/22.85, allocations: 6.411 MB / 6.217 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002312/22.85, allocations: 188.1 kB / 6.217 GB, free: 134.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/22.86, allocations: 17.88 MB / 6.234 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.077e-05/22.86, allocations: 29.25 kB / 6.234 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04875/22.91, allocations: 21.44 MB / 6.255 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01549/22.93, allocations: 2.807 MB / 6.258 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009029/22.94, allocations: 164.3 kB / 6.258 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01532/22.95, allocations: 0.7588 MB / 6.259 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00257/22.95, allocations: 441.9 kB / 6.259 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002556/22.96, allocations: 295.9 kB / 6.26 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.02694/22.98, allocations: 9.302 MB / 6.269 GB, free: 116 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.31e-07/22.98, allocations: 0.75 kB / 6.269 GB, free: 116 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0485/23.03, allocations: 7.914 MB / 6.277 GB, free: 115.4 MB / 0.9011 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.007948/23.04, allocations: 2.164 MB / 6.279 GB, free: 115 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.06227/23.1, allocations: 22.07 MB / 6.3 GB, free: 114 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.832e-05/23.1, allocations: 10.92 kB / 6.3 GB, free: 114 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01455/23.12, allocations: 5.439 MB / 6.306 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03821/23.15, allocations: 6.113 MB / 6.312 GB, free: 113.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09776/23.25, allocations: 37.1 MB / 6.348 GB, free: 99.83 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02874/23.28, allocations: 10.19 MB / 6.358 GB, free: 98.56 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.03486/23.32, allocations: 6.143 MB / 6.364 GB, free: 98.07 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007263/23.32, allocations: 0.8836 MB / 6.365 GB, free: 98.06 MB / 0.9011 GB Notification: Performance of SimCode: time 1.272e-06/23.32, allocations: 1.641 kB / 6.365 GB, free: 98.06 MB / 0.9011 GB Notification: Performance of Templates: time 1.316/24.64, allocations: 271.6 MB / 6.63 GB, free: 126.1 MB / 0.9011 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)