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.007054/0.007054, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7639/0.7639, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.615/1.615, allocations: 223.2 MB / 406.9 MB, free: 3.203 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.001394/0.001394, allocations: 100.6 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005951/0.0005954, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5829/0.5835, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9407/1.524, allocations: 394.4 MB / 1.035 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/1.525, allocations: 94.25 kB / 1.035 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 18.89/20.41, allocations: 4.702 GB / 5.737 GB, free: 57.18 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.106e-06/20.41, allocations: 0 / 5.737 GB, free: 57.18 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.002699/20.41, allocations: 411 kB / 5.737 GB, free: 57.12 MB / 0.823 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.06711/20.48, allocations: 16.48 MB / 5.753 GB, free: 51.18 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/20.48, allocations: 15.7 kB / 5.753 GB, free: 51.18 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/20.49, allocations: 1.893 MB / 5.755 GB, free: 50.28 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0544/20.55, allocations: 18.24 MB / 5.773 GB, free: 48.54 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002173/20.55, allocations: 0.9805 MB / 5.774 GB, free: 48.51 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0106/20.56, allocations: 1.297 MB / 5.775 GB, free: 48.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06348/20.63, allocations: 18.28 MB / 5.793 GB, free: 46.18 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009427/20.63, allocations: 48.22 kB / 5.793 GB, free: 46.15 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006195/20.63, allocations: 0.5378 MB / 5.794 GB, free: 46.14 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004676/20.63, allocations: 356.1 kB / 5.794 GB, free: 46.14 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0415/20.67, allocations: 15.61 MB / 5.809 GB, free: 41.98 MB / 0.823 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.9184/21.59, allocations: 81.11 MB / 5.888 GB, free: 36 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02482/21.62, allocations: 12 MB / 5.9 GB, free: 35.54 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07542/21.69, allocations: 28.31 MB / 5.928 GB, free: 29.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/21.69, allocations: 126.7 kB / 5.928 GB, free: 29.45 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01064/21.7, allocations: 0.7777 MB / 5.929 GB, free: 29.45 MB / 0.823 GB Notification: Performance of pre-optimization done (n=660): time 4.567e-05/21.7, allocations: 0 / 5.929 GB, free: 29.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=660): time 0.05303/21.76, allocations: 18 MB / 5.946 GB, free: 27.37 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/21.76, allocations: 120.8 kB / 5.946 GB, free: 27.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0345/21.79, allocations: 12.16 MB / 5.958 GB, free: 26.64 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003254/21.8, allocations: 188 kB / 5.958 GB, free: 26.61 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01128/21.81, allocations: 7.15 MB / 5.965 GB, free: 24.42 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00482/21.81, allocations: 2.322 MB / 5.968 GB, free: 22.96 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003161/21.81, allocations: 229.1 kB / 5.968 GB, free: 22.96 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.001752/21.82, allocations: 0.7737 MB / 5.969 GB, free: 22.64 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01317/21.83, allocations: 5.704 MB / 5.974 GB, free: 22.61 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01907/21.85, allocations: 9.589 MB / 5.984 GB, free: 18.03 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02065/21.87, allocations: 7.587 MB / 5.991 GB, free: 17.93 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004363/21.87, allocations: 38.81 kB / 5.991 GB, free: 17.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05236/21.92, allocations: 18.45 MB / 6.009 GB, free: 16.97 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0275/21.95, allocations: 69.06 MB / 6.076 GB, free: 25.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006085/21.95, allocations: 123.4 kB / 6.077 GB, free: 25.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1005/22.05, allocations: 11.87 MB / 6.088 GB, free: 25.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/22.06, allocations: 2.405 MB / 6.091 GB, free: 25.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02068/22.08, allocations: 20.31 MB / 6.11 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01897/22.1, allocations: 1.105 MB / 6.111 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004824/22.11, allocations: 0.5383 MB / 6.112 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/22.11, allocations: 5 kB / 6.112 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0446/22.15, allocations: 17.42 MB / 6.129 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006636/22.15, allocations: 120.3 kB / 6.129 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1041/22.26, allocations: 11.87 MB / 6.141 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01149/22.27, allocations: 2.387 MB / 6.143 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/22.29, allocations: 18.52 MB / 6.161 GB, free: 16.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01843/22.31, allocations: 1.042 MB / 6.162 GB, free: 16.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00489/22.31, allocations: 0.5407 MB / 6.163 GB, free: 16.71 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 () * 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.02066/22.34, allocations: 5.805 MB / 6.168 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006832/22.34, allocations: 1.169 MB / 6.169 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03703/22.38, allocations: 11.63 MB / 6.181 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.79e-05/22.38, allocations: 66.81 kB / 6.181 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.686e-05/22.38, allocations: 7.719 kB / 6.181 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02628/22.41, allocations: 9.628 MB / 6.19 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8993/23.31, allocations: 25.89 MB / 6.216 GB, free: 148.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.948e-05/23.31, allocations: 14.53 kB / 6.216 GB, free: 148.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007439/23.31, allocations: 1.143 MB / 6.217 GB, free: 148.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05295/23.37, allocations: 6.417 MB / 6.223 GB, free: 148.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00232/23.37, allocations: 185.4 kB / 6.223 GB, free: 148.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/23.38, allocations: 17.9 MB / 6.241 GB, free: 136.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.577e-05/23.38, allocations: 19.31 kB / 6.241 GB, free: 136.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04377/23.43, allocations: 21.44 MB / 6.262 GB, free: 130.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01465/23.44, allocations: 2.803 MB / 6.264 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007965/23.45, allocations: 158 kB / 6.264 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01481/23.46, allocations: 0.7613 MB / 6.265 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002925/23.47, allocations: 451.7 kB / 6.266 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0028/23.47, allocations: 294.5 kB / 6.266 GB, free: 130.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.02775/23.5, allocations: 9.3 MB / 6.275 GB, free: 130.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.342e-06/23.5, allocations: 0 / 6.275 GB, free: 130.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.05778/23.56, allocations: 7.908 MB / 6.283 GB, free: 129.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 () * 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.008686/23.56, allocations: 2.163 MB / 6.285 GB, free: 129.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.05946/23.62, allocations: 22.07 MB / 6.306 GB, free: 128.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.644e-05/23.62, allocations: 12.17 kB / 6.306 GB, free: 128.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01584/23.64, allocations: 5.433 MB / 6.312 GB, free: 127.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03981/23.68, allocations: 6.121 MB / 6.318 GB, free: 127.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1085/23.79, allocations: 37.11 MB / 6.354 GB, free: 114 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04324/23.83, allocations: 10.19 MB / 6.364 GB, free: 112.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.04004/23.87, allocations: 6.141 MB / 6.37 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007688/23.88, allocations: 0.8842 MB / 6.371 GB, free: 112.2 MB / 0.9167 GB Notification: Performance of SimCode: time 2.354e-06/23.88, allocations: 0 / 6.371 GB, free: 112.2 MB / 0.9167 GB Notification: Performance of Templates: time 2.051/25.93, allocations: 271.6 MB / 6.636 GB, free: 142.3 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)