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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001456/0.001456, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4856/0.4856, allocations: 92 MB / 108.5 MB, free: 13.06 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.496/1.496, allocations: 223.2 MB / 354.3 MB, free: 12.16 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.001109/0.001109, allocations: 103.1 kB / 427.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004839, allocations: 8 kB / 0.4982 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1957, allocations: 72.31 MB / 0.5689 GB, free: 1.926 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/1.467, allocations: 384.7 MB / 0.9446 GB, free: 82.55 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/1.467, allocations: 94.58 kB / 0.9447 GB, free: 82.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 18.39/19.85, allocations: 4.712 GB / 5.657 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/19.85, allocations: 0 / 5.657 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.003409/19.86, allocations: 407.7 kB / 5.657 GB, free: 34.02 MB / 0.7448 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.0704/19.93, allocations: 16.47 MB / 5.673 GB, free: 28.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/19.93, allocations: 9.094 kB / 5.673 GB, free: 28.17 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01423/19.94, allocations: 1.894 MB / 5.675 GB, free: 27.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04862/19.99, allocations: 18.24 MB / 5.693 GB, free: 25.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001319/19.99, allocations: 0.9724 MB / 5.694 GB, free: 25.55 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00675/20, allocations: 1.297 MB / 5.695 GB, free: 25.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06527/20.06, allocations: 18.28 MB / 5.713 GB, free: 23.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001189/20.06, allocations: 51.59 kB / 5.713 GB, free: 23.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006816/20.07, allocations: 0.5302 MB / 5.714 GB, free: 23.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005795/20.07, allocations: 353.4 kB / 5.714 GB, free: 23.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04348/20.12, allocations: 15.61 MB / 5.729 GB, free: 23.24 MB / 0.7448 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.159/20.27, allocations: 80.84 MB / 5.808 GB, free: 21.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02018/20.29, allocations: 11.98 MB / 5.82 GB, free: 21.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0684/20.36, allocations: 28.31 MB / 5.848 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/20.36, allocations: 120.8 kB / 5.848 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01247/20.38, allocations: 0.7805 MB / 5.848 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=660): time 4.495e-05/20.38, allocations: 1.125 kB / 5.848 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=660): time 0.05228/20.43, allocations: 18 MB / 5.866 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/20.43, allocations: 122.5 kB / 5.866 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03419/20.46, allocations: 12.17 MB / 5.878 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.003168/20.47, allocations: 185.6 kB / 5.878 GB, free: 2.832 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.01176/20.48, allocations: 7.148 MB / 5.885 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.005189/20.48, allocations: 2.32 MB / 5.887 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003079/20.49, allocations: 231.8 kB / 5.888 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.001835/20.49, allocations: 0.781 MB / 5.888 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01294/20.5, allocations: 5.693 MB / 5.894 GB, free: 8.801 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01695/20.52, allocations: 9.592 MB / 5.903 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6647/21.18, allocations: 7.779 MB / 5.911 GB, free: 73.82 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/21.18, allocations: 33.91 kB / 5.911 GB, free: 73.82 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.04632/21.23, allocations: 18.45 MB / 5.929 GB, free: 73.48 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.01803/21.25, allocations: 69.06 MB / 5.996 GB, free: 18.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005753/21.25, allocations: 120.3 kB / 5.997 GB, free: 18.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.101/21.35, allocations: 11.86 MB / 6.008 GB, free: 18.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/21.36, allocations: 2.401 MB / 6.01 GB, free: 18.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02043/21.38, allocations: 20.32 MB / 6.03 GB, free: 22.21 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01729/21.4, allocations: 1.101 MB / 6.031 GB, free: 22.21 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003556/21.4, allocations: 0.5428 MB / 6.032 GB, free: 22.21 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/21.4, allocations: 3.625 kB / 6.032 GB, free: 22.21 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03332/21.44, allocations: 17.42 MB / 6.049 GB, free: 21.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007651/21.44, allocations: 119.4 kB / 6.049 GB, free: 21.72 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1008/21.54, allocations: 11.86 MB / 6.061 GB, free: 21.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0124/21.55, allocations: 2.386 MB / 6.063 GB, free: 20.94 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02425/21.57, allocations: 18.52 MB / 6.081 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02237/21.6, allocations: 1.052 MB / 6.082 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005445/21.6, allocations: 0.5355 MB / 6.083 GB, free: 26.56 MB / 0.8386 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.02136/21.62, allocations: 5.808 MB / 6.088 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007639/21.63, allocations: 1.164 MB / 6.089 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03919/21.67, allocations: 11.64 MB / 6.101 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/21.67, allocations: 70.84 kB / 6.101 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.571e-05/21.67, allocations: 3 kB / 6.101 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0263/21.7, allocations: 9.634 MB / 6.11 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08281/21.78, allocations: 25.89 MB / 6.135 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.754e-05/21.78, allocations: 15.56 kB / 6.136 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00647/21.79, allocations: 1.139 MB / 6.137 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05262/21.84, allocations: 6.415 MB / 6.143 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002401/21.84, allocations: 184.8 kB / 6.143 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/21.86, allocations: 17.9 MB / 6.161 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.597e-05/21.86, allocations: 21.09 kB / 6.161 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04376/21.9, allocations: 21.44 MB / 6.181 GB, free: 20.03 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01348/21.92, allocations: 2.8 MB / 6.184 GB, free: 19.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00665/21.92, allocations: 169.5 kB / 6.184 GB, free: 19.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01313/21.94, allocations: 0.7574 MB / 6.185 GB, free: 19.24 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002214/21.94, allocations: 449.5 kB / 6.186 GB, free: 19.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002329/21.94, allocations: 292.4 kB / 6.186 GB, free: 19.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.02427/21.97, allocations: 9.303 MB / 6.195 GB, free: 18.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.21e-07/21.97, allocations: 0 / 6.195 GB, free: 18.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.04639/22.01, allocations: 7.909 MB / 6.203 GB, free: 18.36 MB / 0.8542 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.007331/22.02, allocations: 2.156 MB / 6.205 GB, free: 17.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.05563/22.07, allocations: 22.08 MB / 6.226 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.133e-05/22.07, allocations: 9.438 kB / 6.226 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01501/22.09, allocations: 5.43 MB / 6.232 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 1.303/23.39, allocations: 6.613 MB / 6.238 GB, free: 126.5 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09688/23.49, allocations: 37.1 MB / 6.274 GB, free: 113.9 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03407/23.52, allocations: 10.19 MB / 6.284 GB, free: 112.8 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.03427/23.56, allocations: 6.156 MB / 6.29 GB, free: 112.3 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007491/23.57, allocations: 0.8833 MB / 6.291 GB, free: 112.3 MB / 0.8543 GB Notification: Performance of SimCode: time 1.643e-06/23.57, allocations: 0 / 6.291 GB, free: 112.3 MB / 0.8543 GB Notification: Performance of Templates: time 1.297/24.86, allocations: 271.6 MB / 6.556 GB, free: 122.4 MB / 0.8543 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)