Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000897/0.0008969, allocations: 172.9 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4663/0.4663, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.3 MB / 348.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 93.2 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005291/0.0005292, allocations: 16 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4414, allocations: 71.01 MB / 0.5594 GB, free: 43.86 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.621, allocations: 383 MB / 0.9335 GB, free: 232.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.621, allocations: 95.61 kB / 0.9336 GB, free: 232.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 16.79/18.41, allocations: 4.661 GB / 5.595 GB, free: 48.17 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.023e-06/18.41, allocations: 0 / 5.595 GB, free: 48.17 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.003004/18.41, allocations: 399.3 kB / 5.595 GB, free: 48.12 MB / 0.7292 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.05454/18.47, allocations: 16.19 MB / 5.611 GB, free: 42.22 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/18.47, allocations: 10.69 kB / 5.611 GB, free: 42.22 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/18.48, allocations: 1.877 MB / 5.613 GB, free: 41.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04769/18.53, allocations: 17.48 MB / 5.63 GB, free: 39.03 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001232/18.53, allocations: 0.9747 MB / 5.631 GB, free: 39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006401/18.54, allocations: 1.301 MB / 5.632 GB, free: 38.99 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05619/18.59, allocations: 18.38 MB / 5.65 GB, free: 36.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00103/18.59, allocations: 42 kB / 5.65 GB, free: 36.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006595/18.6, allocations: 0.5371 MB / 5.65 GB, free: 36.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005002/18.6, allocations: 350.2 kB / 5.651 GB, free: 36.62 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04082/18.64, allocations: 15.61 MB / 5.666 GB, free: 36.36 MB / 0.7292 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.7269/19.37, allocations: 80.27 MB / 5.744 GB, free: 52.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0215/19.39, allocations: 11.87 MB / 5.756 GB, free: 51.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01312/19.4, allocations: 6.138 MB / 5.762 GB, free: 51.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0757/19.48, allocations: 27.97 MB / 5.789 GB, free: 45.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/19.48, allocations: 119.9 kB / 5.789 GB, free: 45.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01154/19.49, allocations: 0.7309 MB / 5.79 GB, free: 45.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=651): time 5.001e-05/19.49, allocations: 0 / 5.79 GB, free: 45.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=651): time 0.05225/19.54, allocations: 17.79 MB / 5.807 GB, free: 44.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/19.54, allocations: 121.7 kB / 5.808 GB, free: 43.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03432/19.58, allocations: 12.53 MB / 5.82 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.002939/19.58, allocations: 185.7 kB / 5.82 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.01031/19.59, allocations: 7.145 MB / 5.827 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.004626/19.6, allocations: 2.295 MB / 5.829 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003331/19.6, allocations: 234.9 kB / 5.829 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00186/19.6, allocations: 0.7704 MB / 5.83 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01264/19.61, allocations: 5.655 MB / 5.836 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01605/19.63, allocations: 9.581 MB / 5.845 GB, free: 34.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02462/19.65, allocations: 15.14 MB / 5.86 GB, free: 30.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003099/19.65, allocations: 33 kB / 5.86 GB, free: 30.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04409/19.7, allocations: 18.37 MB / 5.878 GB, free: 29.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002862/19.7, allocations: 3.712 MB / 5.881 GB, free: 24.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003486/19.7, allocations: 120.9 kB / 5.882 GB, free: 24.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08943/19.79, allocations: 11.84 MB / 5.893 GB, free: 24.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/19.8, allocations: 2.363 MB / 5.895 GB, free: 24.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/19.82, allocations: 20.23 MB / 5.915 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01513/19.83, allocations: 1.088 MB / 5.916 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003302/19.84, allocations: 0.536 MB / 5.917 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/19.84, allocations: 3.281 kB / 5.917 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03164/19.87, allocations: 17.34 MB / 5.934 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003604/19.87, allocations: 131.3 kB / 5.934 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08674/19.96, allocations: 11.84 MB / 5.945 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/19.97, allocations: 2.315 MB / 5.948 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/19.98, allocations: 18.44 MB / 5.966 GB, free: 7.992 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01499/20, allocations: 1.041 MB / 5.967 GB, free: 7.695 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003371/20, allocations: 0.5383 MB / 5.967 GB, free: 7.191 MB / 0.7605 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 (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.02034/20.02, allocations: 5.753 MB / 5.973 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005918/20.03, allocations: 1.146 MB / 5.974 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03444/20.06, allocations: 11.44 MB / 5.985 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-05/20.06, allocations: 65.59 kB / 5.985 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.523e-05/20.06, allocations: 4 kB / 5.985 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02325/20.09, allocations: 9.452 MB / 5.994 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08479/20.17, allocations: 25.46 MB / 6.019 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000103/20.17, allocations: 12.56 kB / 6.019 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007272/20.18, allocations: 1.146 MB / 6.02 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04827/20.23, allocations: 6.404 MB / 6.027 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002656/20.23, allocations: 187.2 kB / 6.027 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6305/20.86, allocations: 17.82 MB / 6.044 GB, free: 116.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-05/20.86, allocations: 20.91 kB / 6.044 GB, free: 116.6 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03209/20.89, allocations: 17.48 MB / 6.061 GB, free: 115.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01112/20.9, allocations: 2.662 MB / 6.064 GB, free: 114.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005554/20.91, allocations: 163.3 kB / 6.064 GB, free: 114.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01211/20.92, allocations: 0.7493 MB / 6.065 GB, free: 114.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002148/20.92, allocations: 439.1 kB / 6.065 GB, free: 114.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001895/20.93, allocations: 296.3 kB / 6.066 GB, free: 114.9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.02412/20.95, allocations: 8.53 MB / 6.074 GB, free: 114.6 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.62e-07/20.95, allocations: 0 / 6.074 GB, free: 114.6 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.06129/21.01, allocations: 7.822 MB / 6.082 GB, free: 114 MB / 0.8073 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 (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.009264/21.02, allocations: 2.082 MB / 6.084 GB, free: 113.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.05786/21.08, allocations: 21.96 MB / 6.105 GB, free: 112.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-05/21.08, allocations: 8.938 kB / 6.105 GB, free: 112.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01389/21.09, allocations: 5.387 MB / 6.11 GB, free: 112.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07686/21.17, allocations: 6.175 MB / 6.116 GB, free: 112.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07819/21.25, allocations: 36.92 MB / 6.152 GB, free: 98.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02558/21.27, allocations: 9.863 MB / 6.162 GB, free: 97.44 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.03134/21.3, allocations: 6.075 MB / 6.168 GB, free: 96.95 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005728/21.31, allocations: 0.8635 MB / 6.169 GB, free: 96.93 MB / 0.8073 GB Notification: Performance of SimCode: time 1.763e-06/21.31, allocations: 0 / 6.169 GB, free: 96.93 MB / 0.8073 GB Notification: Performance of Templates: time 1.082/22.39, allocations: 271 MB / 6.433 GB, free: 116.9 MB / 0.8073 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)