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.001513/0.001514, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7805/0.7805, allocations: 130.7 MB / 138.7 MB, free: 3.523 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.851/1.851, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.001494/0.001494, allocations: 96.06 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.538e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.579, allocations: 81.57 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9845/1.564, allocations: 393.5 MB / 1.012 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.564, allocations: 93.38 kB / 1.012 GB, free: 15 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 21.3/22.86, allocations: 4.667 GB / 5.68 GB, free: 48.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.435e-06/22.86, allocations: 2.062 kB / 5.68 GB, free: 48.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.003082/22.87, allocations: 414.3 kB / 5.68 GB, free: 48.46 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.0503/22.92, allocations: 13.69 MB / 5.694 GB, free: 43.53 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/22.92, allocations: 14.73 kB / 5.694 GB, free: 43.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/22.93, allocations: 1.888 MB / 5.696 GB, free: 42.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05094/22.98, allocations: 18.15 MB / 5.713 GB, free: 40.63 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009641/22.98, allocations: 404.5 kB / 5.714 GB, free: 40.63 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006821/22.99, allocations: 0.7632 MB / 5.714 GB, free: 40.63 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03866/23.03, allocations: 14.46 MB / 5.728 GB, free: 34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0589/23.09, allocations: 16.13 MB / 5.744 GB, free: 19.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001002/23.09, allocations: 43.56 kB / 5.744 GB, free: 19.64 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006211/23.09, allocations: 24 kB / 5.744 GB, free: 19.62 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004063/23.09, allocations: 358.2 kB / 5.745 GB, free: 19.28 MB / 0.8073 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.9292/24.02, allocations: 78.54 MB / 5.821 GB, free: 35.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0195/24.04, allocations: 11.29 MB / 5.832 GB, free: 35.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/24.05, allocations: 5.819 MB / 5.838 GB, free: 35.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07188/24.12, allocations: 28.31 MB / 5.866 GB, free: 28.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/24.13, allocations: 129 kB / 5.866 GB, free: 28.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01008/24.14, allocations: 0.5484 MB / 5.866 GB, free: 28.47 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=651): time 4.691e-05/24.14, allocations: 4.969 kB / 5.866 GB, free: 28.47 MB / 0.8073 GB Notification: Performance of matching and sorting (n=651): time 0.02864/24.16, allocations: 10.49 MB / 5.877 GB, free: 27.53 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/24.16, allocations: 117.1 kB / 5.877 GB, free: 27.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02579/24.19, allocations: 10.83 MB / 5.887 GB, free: 26.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.002774/24.19, allocations: 34.83 kB / 5.887 GB, free: 26.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00908/24.2, allocations: 7.132 MB / 5.894 GB, free: 24.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00476/24.21, allocations: 2.205 MB / 5.896 GB, free: 22.81 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002481/24.21, allocations: 0 / 5.896 GB, free: 22.81 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.001167/24.21, allocations: 0.7707 MB / 5.897 GB, free: 22.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01011/24.22, allocations: 5.353 MB / 5.902 GB, free: 22.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01383/24.23, allocations: 9.167 MB / 5.911 GB, free: 17.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02348/24.26, allocations: 9.472 MB / 5.921 GB, free: 17.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002985/24.26, allocations: 34.22 kB / 5.921 GB, free: 17.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05624/24.31, allocations: 19.11 MB / 5.939 GB, free: 16.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.02957/24.34, allocations: 67.19 MB / 6.005 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006619/24.34, allocations: 119.2 kB / 6.005 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01422/24.36, allocations: 4.046 MB / 6.009 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01167/24.37, allocations: 2.4 MB / 6.011 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/24.39, allocations: 20.63 MB / 6.031 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02038/24.41, allocations: 0.8693 MB / 6.032 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004801/24.42, allocations: 0.5406 MB / 6.033 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/24.42, allocations: 2.75 kB / 6.033 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04587/24.46, allocations: 17.9 MB / 6.05 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004669/24.46, allocations: 120.1 kB / 6.05 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/24.48, allocations: 4.052 MB / 6.054 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01103/24.49, allocations: 2.371 MB / 6.057 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02248/24.51, allocations: 18.83 MB / 6.075 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01906/24.53, allocations: 0.8199 MB / 6.076 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004308/24.53, allocations: 0.5379 MB / 6.076 GB, free: 12.53 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 () * 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.007911/24.54, allocations: 454.7 kB / 6.077 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006986/24.55, allocations: 1.099 MB / 6.078 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03135/24.58, allocations: 11.45 MB / 6.089 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.373e-05/24.58, allocations: 64.5 kB / 6.089 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/24.58, allocations: 12.2 kB / 6.089 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02068/24.6, allocations: 9.66 MB / 6.099 GB, free: 3.746 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8494/25.45, allocations: 24.41 MB / 6.122 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/25.45, allocations: 16.19 kB / 6.122 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005691/25.46, allocations: 1.13 MB / 6.124 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007715/25.46, allocations: 2.482 MB / 6.126 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002093/25.47, allocations: 91.52 kB / 6.126 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01677/25.48, allocations: 17.93 MB / 6.144 GB, free: 139.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.829e-05/25.48, allocations: 19.53 kB / 6.144 GB, free: 139.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03722/25.52, allocations: 21.04 MB / 6.164 GB, free: 134 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01099/25.53, allocations: 2.725 MB / 6.167 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006283/25.54, allocations: 56.08 kB / 6.167 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.013/25.55, allocations: 0.6265 MB / 6.168 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002262/25.55, allocations: 444.3 kB / 6.168 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001396/25.55, allocations: 289.5 kB / 6.168 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01931/25.57, allocations: 8.095 MB / 6.176 GB, free: 133 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.71e-07/25.57, allocations: 0.875 kB / 6.176 GB, free: 133 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.05162/25.63, allocations: 7.537 MB / 6.183 GB, free: 132.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 () * 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.006885/25.63, allocations: 2.061 MB / 6.185 GB, free: 132 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.04676/25.68, allocations: 20.62 MB / 6.206 GB, free: 131 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.38e-05/25.68, allocations: 8.125 kB / 6.206 GB, free: 131 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01102/25.69, allocations: 4.967 MB / 6.21 GB, free: 130.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03392/25.72, allocations: 5.359 MB / 6.216 GB, free: 130.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07427/25.8, allocations: 26.95 MB / 6.242 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02041/25.82, allocations: 10.19 MB / 6.252 GB, free: 124 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.03814/25.86, allocations: 8.517 MB / 6.26 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003963/25.86, allocations: 0.6717 MB / 6.261 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of SimCode: time 9.92e-07/25.86, allocations: 0 / 6.261 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of Templates: time 1.205/27.07, allocations: 247.3 MB / 6.502 GB, free: 138.2 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)