Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7895/0.7895, allocations: 128.7 MB / 143.7 MB, free: 2.32 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 194.5 kB / 173.8 MB, free: 6.129 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 409 MB, free: 10.53 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009/0.0008998, allocations: 102.7 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 9.594 kB / 0.5603 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1511, allocations: 76.76 MB / 0.6353 GB, free: 30.59 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.298, allocations: 382.8 MB / 1.009 GB, free: 241.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/1.298, allocations: 96.2 kB / 1.009 GB, free: 241.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 16.92/18.22, allocations: 4.432 GB / 5.441 GB, free: 62.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.753e-06/18.22, allocations: 0 / 5.441 GB, free: 62.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.002799/18.22, allocations: 393.3 kB / 5.441 GB, free: 62.15 MB / 0.7917 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.06789/18.29, allocations: 16.32 MB / 5.457 GB, free: 56.26 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/18.29, allocations: 7.938 kB / 5.457 GB, free: 56.26 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/18.31, allocations: 1.866 MB / 5.459 GB, free: 55.37 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05813/18.36, allocations: 19.41 MB / 5.478 GB, free: 53.58 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001351/18.37, allocations: 0.972 MB / 5.479 GB, free: 53.55 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006957/18.37, allocations: 1.301 MB / 5.48 GB, free: 53.54 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06309/18.44, allocations: 18.16 MB / 5.498 GB, free: 51.29 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008874/18.44, allocations: 45.95 kB / 5.498 GB, free: 51.28 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00581/18.44, allocations: 0.5192 MB / 5.499 GB, free: 51.28 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003978/18.44, allocations: 361.5 kB / 5.499 GB, free: 51.28 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03987/18.48, allocations: 15.59 MB / 5.514 GB, free: 51.18 MB / 0.7917 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.1596/18.64, allocations: 80.88 MB / 5.593 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0239/18.67, allocations: 11.87 MB / 5.605 GB, free: 8.141 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07832/18.74, allocations: 27.68 MB / 5.632 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/18.74, allocations: 112.1 kB / 5.632 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01167/18.76, allocations: 0.7559 MB / 5.633 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=655): time 2.731e-05/18.76, allocations: 0 / 5.633 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of matching and sorting (n=655): time 0.8214/19.58, allocations: 18.2 MB / 5.65 GB, free: 83.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/19.58, allocations: 115.2 kB / 5.651 GB, free: 83.12 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.032/19.61, allocations: 11.84 MB / 5.662 GB, free: 82.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.002774/19.61, allocations: 179.2 kB / 5.662 GB, free: 82.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01116/19.62, allocations: 7.124 MB / 5.669 GB, free: 81.06 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.005207/19.63, allocations: 2.297 MB / 5.671 GB, free: 79.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003305/19.63, allocations: 231.5 kB / 5.672 GB, free: 79.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.001495/19.63, allocations: 0.7794 MB / 5.672 GB, free: 79.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01495/19.65, allocations: 5.633 MB / 5.678 GB, free: 79.56 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01849/19.67, allocations: 9.612 MB / 5.687 GB, free: 74.85 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/19.68, allocations: 7.542 MB / 5.695 GB, free: 74.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000307/19.68, allocations: 35.78 kB / 5.695 GB, free: 74.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.05522/19.74, allocations: 18.39 MB / 5.713 GB, free: 73.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.02338/19.76, allocations: 70.81 MB / 5.782 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000774/19.76, allocations: 127.8 kB / 5.782 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.105/19.87, allocations: 11.85 MB / 5.794 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01496/19.88, allocations: 2.651 MB / 5.796 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02189/19.91, allocations: 20.56 MB / 5.816 GB, free: 19.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01834/19.92, allocations: 1.043 MB / 5.817 GB, free: 19.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00446/19.93, allocations: 0.543 MB / 5.818 GB, free: 19.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/19.93, allocations: 2.719 kB / 5.818 GB, free: 19.72 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04313/19.97, allocations: 17.28 MB / 5.835 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006342/19.97, allocations: 123.7 kB / 5.835 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.101/20.07, allocations: 11.85 MB / 5.846 GB, free: 18.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/20.09, allocations: 2.38 MB / 5.849 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/20.11, allocations: 18.51 MB / 5.867 GB, free: 23.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01888/20.13, allocations: 0.9816 MB / 5.868 GB, free: 23.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00463/20.13, allocations: 0.5472 MB / 5.868 GB, free: 23.52 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * 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 (1240): * Single equations (assignments): 1222 * 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.02263/20.15, allocations: 5.748 MB / 5.874 GB, free: 23.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006839/20.16, allocations: 1.141 MB / 5.875 GB, free: 22.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03592/20.2, allocations: 11.92 MB / 5.887 GB, free: 21.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.556e-05/20.2, allocations: 64.75 kB / 5.887 GB, free: 21.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.409e-05/20.2, allocations: 6 kB / 5.887 GB, free: 21.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02405/20.22, allocations: 9.438 MB / 5.896 GB, free: 21.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08435/20.3, allocations: 25.25 MB / 5.921 GB, free: 17.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001432/20.3, allocations: 10.91 kB / 5.921 GB, free: 17.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009389/20.31, allocations: 1.39 MB / 5.922 GB, free: 17.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05565/20.37, allocations: 6.389 MB / 5.928 GB, free: 16.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002347/20.37, allocations: 183.5 kB / 5.928 GB, free: 16.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02263/20.4, allocations: 21.27 MB / 5.949 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/20.4, allocations: 14.69 kB / 5.949 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04339/20.44, allocations: 20.76 MB / 5.969 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.7349/21.17, allocations: 2.726 MB / 5.972 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006726/21.18, allocations: 162.4 kB / 5.972 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01601/21.2, allocations: 0.7129 MB / 5.973 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003826/21.2, allocations: 447.1 kB / 5.973 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002176/21.2, allocations: 260.1 kB / 5.974 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.025/21.23, allocations: 9.079 MB / 5.982 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.31e-07/21.23, allocations: 0 / 5.982 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0471/21.27, allocations: 7.709 MB / 5.99 GB, free: 137.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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): 539 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.007514/21.28, allocations: 2.169 MB / 5.992 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.05514/21.34, allocations: 22.08 MB / 6.014 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.629e-05/21.34, allocations: 3.469 kB / 6.014 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01553/21.35, allocations: 5.647 MB / 6.019 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03741/21.39, allocations: 6.07 MB / 6.025 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1005/21.49, allocations: 36.71 MB / 6.061 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03556/21.53, allocations: 10.1 MB / 6.071 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.03922/21.57, allocations: 6.125 MB / 6.077 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007088/21.57, allocations: 0.8614 MB / 6.078 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.933e-06/21.57, allocations: 0 / 6.078 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of Templates: time 1.803/23.38, allocations: 267.1 MB / 6.338 GB, free: 122.1 MB / 0.8699 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)