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.001077/0.001077, allocations: 174.6 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/package.mo): time 0.7311/0.7311, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.734/1.734, allocations: 221.3 MB / 396.8 MB, free: 9.117 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.0009959/0.000996, allocations: 95.8 kB / 479 MB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.023e-05/4.03e-05, allocations: 4 kB / 0.5551 GB, free: 86.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1995, allocations: 81.59 MB / 0.6347 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.593/1.793, allocations: 394.1 MB / 1.02 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/1.793, allocations: 96.75 kB / 1.02 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 21.14/22.94, allocations: 4.689 GB / 5.709 GB, free: 132 kB / 0.8073 GB Notification: Performance of FrontEnd: time 2.425e-06/22.94, allocations: 0 / 5.709 GB, free: 132 kB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.236/24.17, allocations: 401.9 kB / 5.709 GB, free: 39.2 MB / 0.8074 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.05449/24.23, allocations: 13.7 MB / 5.723 GB, free: 36.99 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/24.23, allocations: 10.41 kB / 5.723 GB, free: 36.99 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/24.24, allocations: 1.884 MB / 5.725 GB, free: 36.09 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05571/24.3, allocations: 18.15 MB / 5.742 GB, free: 34.39 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001412/24.3, allocations: 0.9742 MB / 5.743 GB, free: 34.37 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007231/24.31, allocations: 1.3 MB / 5.745 GB, free: 34.36 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.057/24.36, allocations: 18.05 MB / 5.762 GB, free: 32.18 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009879/24.37, allocations: 45.45 kB / 5.762 GB, free: 32.17 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005843/24.37, allocations: 0.5331 MB / 5.763 GB, free: 32.17 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005241/24.37, allocations: 355 kB / 5.763 GB, free: 32.17 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04561/24.42, allocations: 15.33 MB / 5.778 GB, free: 32.08 MB / 0.8074 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.1529/24.57, allocations: 80.85 MB / 5.857 GB, free: 30.6 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02116/24.59, allocations: 11.85 MB / 5.869 GB, free: 30.12 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01033/24.6, allocations: 6.041 MB / 5.875 GB, free: 30.05 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07849/24.68, allocations: 28.75 MB / 5.903 GB, free: 23.42 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/24.68, allocations: 122.9 kB / 5.903 GB, free: 23.38 MB / 0.8387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01053/24.69, allocations: 0.7742 MB / 5.904 GB, free: 22.88 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=651): time 3.729e-05/24.69, allocations: 3.438 kB / 5.904 GB, free: 22.88 MB / 0.8387 GB Notification: Performance of matching and sorting (n=651): time 0.02909/24.72, allocations: 10.16 MB / 5.913 GB, free: 21.9 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/24.72, allocations: 123.6 kB / 5.914 GB, free: 21.83 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0305/24.75, allocations: 12.04 MB / 5.925 GB, free: 21 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.00295/24.75, allocations: 187.8 kB / 5.926 GB, free: 20.97 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00966/24.76, allocations: 7.166 MB / 5.933 GB, free: 16.31 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00422/24.77, allocations: 2.297 MB / 5.935 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002741/24.77, allocations: 228.9 kB / 5.935 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.001614/24.77, allocations: 0.7733 MB / 5.936 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01179/24.78, allocations: 5.568 MB / 5.941 GB, free: 11.8 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0156/24.8, allocations: 9.451 MB / 5.95 GB, free: 4.895 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0164/24.82, allocations: 7.512 MB / 5.958 GB, free: 2.285 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002242/24.82, allocations: 33.59 kB / 5.958 GB, free: 2.285 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04993/24.87, allocations: 18.2 MB / 5.976 GB, free: 11.77 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.701/25.57, allocations: 69.05 MB / 6.043 GB, free: 81.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005236/25.57, allocations: 121.2 kB / 6.043 GB, free: 81.83 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09616/25.66, allocations: 11.87 MB / 6.055 GB, free: 81.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01144/25.68, allocations: 2.403 MB / 6.057 GB, free: 81.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/25.69, allocations: 20.16 MB / 6.077 GB, free: 69.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01652/25.71, allocations: 1.097 MB / 6.078 GB, free: 69.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003555/25.71, allocations: 0.5373 MB / 6.078 GB, free: 69.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/25.71, allocations: 5.812 kB / 6.078 GB, free: 69.77 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04205/25.75, allocations: 17.17 MB / 6.095 GB, free: 69.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005929/25.76, allocations: 122.7 kB / 6.095 GB, free: 69.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09127/25.85, allocations: 11.87 MB / 6.107 GB, free: 69.15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/25.86, allocations: 2.381 MB / 6.109 GB, free: 69.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01707/25.87, allocations: 18.37 MB / 6.127 GB, free: 58.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01711/25.89, allocations: 1.04 MB / 6.128 GB, free: 58.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003996/25.89, allocations: 0.5437 MB / 6.129 GB, free: 58.89 MB / 0.8855 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.005929/25.9, allocations: 0.7878 MB / 6.129 GB, free: 58.77 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005692/25.91, allocations: 1.159 MB / 6.131 GB, free: 58.72 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03075/25.94, allocations: 11.32 MB / 6.142 GB, free: 58.15 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001098/25.94, allocations: 72.3 kB / 6.142 GB, free: 58.15 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.171e-05/25.94, allocations: 3.281 kB / 6.142 GB, free: 58.15 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02367/25.96, allocations: 9.325 MB / 6.151 GB, free: 57.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07614/26.04, allocations: 25.6 MB / 6.176 GB, free: 56.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.027e-05/26.04, allocations: 13.34 kB / 6.176 GB, free: 56.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006269/26.04, allocations: 1.129 MB / 6.177 GB, free: 56.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0484/26.09, allocations: 6.423 MB / 6.183 GB, free: 55.73 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002064/26.09, allocations: 182.5 kB / 6.183 GB, free: 55.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/26.11, allocations: 17.78 MB / 6.201 GB, free: 43.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.527e-05/26.11, allocations: 22 kB / 6.201 GB, free: 43.66 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03532/26.14, allocations: 21.08 MB / 6.221 GB, free: 37.31 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0124/26.16, allocations: 2.791 MB / 6.224 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006415/26.16, allocations: 165.1 kB / 6.224 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01519/26.18, allocations: 0.7479 MB / 6.225 GB, free: 36.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002422/26.18, allocations: 444.3 kB / 6.225 GB, free: 36.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002388/26.18, allocations: 290.5 kB / 6.226 GB, free: 36.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.02337/26.21, allocations: 9.18 MB / 6.235 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.11e-07/26.21, allocations: 5.859 kB / 6.235 GB, free: 36.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.04272/26.25, allocations: 7.903 MB / 6.242 GB, free: 35.59 MB / 0.8855 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.006816/26.26, allocations: 2.153 MB / 6.244 GB, free: 34.98 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.05016/26.31, allocations: 22.01 MB / 6.266 GB, free: 33.21 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.224e-05/26.31, allocations: 8.594 kB / 6.266 GB, free: 33.21 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01263/26.32, allocations: 5.318 MB / 6.271 GB, free: 32.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03571/26.35, allocations: 6.114 MB / 6.277 GB, free: 32.36 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07747/26.43, allocations: 27.53 MB / 6.304 GB, free: 18.34 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02814/26.46, allocations: 10.19 MB / 6.314 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.04125/26.5, allocations: 9.358 MB / 6.323 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004688/26.51, allocations: 0.6868 MB / 6.324 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of SimCode: time 1.193e-06/26.51, allocations: 1.969 kB / 6.324 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of Templates: time 1.142/27.65, allocations: 291.4 MB / 6.608 GB, free: 10.41 MB / 0.8855 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)