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.7603/0.7603, allocations: 127.4 MB / 134.9 MB, free: 3.508 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.001075/0.001075, allocations: 177.1 kB / 164.6 MB, free: 11.62 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.494/1.494, allocations: 205.2 MB / 399.5 MB, free: 13.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.0008029/0.0008029, allocations: 89.73 kB / 476.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.124e-05, allocations: 5.656 kB / 0.5466 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1424, allocations: 76.76 MB / 0.6215 GB, free: 43.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.173, allocations: 382 MB / 0.9946 GB, free: 182.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/1.173, allocations: 92.12 kB / 0.9947 GB, free: 182.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 16.63/17.81, allocations: 4.397 GB / 5.392 GB, free: 50.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.744e-06/17.81, allocations: 0 / 5.392 GB, free: 50.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.002697/17.81, allocations: 396 kB / 5.392 GB, free: 50.77 MB / 0.7761 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.05821/17.87, allocations: 13.59 MB / 5.406 GB, free: 45.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/17.87, allocations: 14.59 kB / 5.406 GB, free: 45.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/17.88, allocations: 1.863 MB / 5.407 GB, free: 44.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06145/17.94, allocations: 19.31 MB / 5.426 GB, free: 43.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006651/17.95, allocations: 409.9 kB / 5.427 GB, free: 43.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004741/17.95, allocations: 0.7635 MB / 5.427 GB, free: 43.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03242/17.98, allocations: 14.35 MB / 5.441 GB, free: 43.13 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04294/18.03, allocations: 15.92 MB / 5.457 GB, free: 40.92 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005307/18.03, allocations: 37.25 kB / 5.457 GB, free: 40.92 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003493/18.03, allocations: 26.09 kB / 5.457 GB, free: 40.92 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002883/18.03, allocations: 355.3 kB / 5.457 GB, free: 40.91 MB / 0.7761 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.1251/18.16, allocations: 78.89 MB / 5.534 GB, free: 21.67 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01742/18.17, allocations: 11.07 MB / 5.545 GB, free: 17.11 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009178/18.18, allocations: 5.708 MB / 5.551 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5993/18.78, allocations: 27.35 MB / 5.578 GB, free: 74.85 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.543e-05/18.78, allocations: 114 kB / 5.578 GB, free: 74.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007097/18.79, allocations: 0.5451 MB / 5.578 GB, free: 74.8 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=644): time 2.57e-05/18.79, allocations: 0.5312 kB / 5.578 GB, free: 74.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=644): time 0.02802/18.82, allocations: 10.56 MB / 5.589 GB, free: 74.46 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/18.82, allocations: 118.3 kB / 5.589 GB, free: 74.39 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02741/18.84, allocations: 10.53 MB / 5.599 GB, free: 73.89 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.002239/18.85, allocations: 31.95 kB / 5.599 GB, free: 73.86 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00716/18.85, allocations: 7.108 MB / 5.606 GB, free: 71.7 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.003936/18.86, allocations: 2.179 MB / 5.608 GB, free: 70.29 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001409/18.86, allocations: 0 / 5.608 GB, free: 70.29 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0007324/18.86, allocations: 0.7726 MB / 5.609 GB, free: 69.96 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007482/18.87, allocations: 5.266 MB / 5.614 GB, free: 69.93 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009699/18.88, allocations: 9.172 MB / 5.623 GB, free: 65.24 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0222/18.9, allocations: 9.401 MB / 5.632 GB, free: 65.15 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002186/18.9, allocations: 37.47 kB / 5.632 GB, free: 65.15 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1465) (initialization): time 0.04709/18.95, allocations: 18.91 MB / 5.651 GB, free: 64.23 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.02054/18.97, allocations: 68.86 MB / 5.718 GB, free: 24.71 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000587/18.97, allocations: 128 kB / 5.718 GB, free: 24.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01299/18.98, allocations: 4.019 MB / 5.722 GB, free: 24.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01236/18.99, allocations: 2.646 MB / 5.724 GB, free: 24.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02354/19.02, allocations: 20.84 MB / 5.745 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01531/19.03, allocations: 0.8106 MB / 5.746 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003392/19.04, allocations: 0.5429 MB / 5.746 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/19.04, allocations: 7.875 kB / 5.746 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04276/19.08, allocations: 17.67 MB / 5.763 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005978/19.08, allocations: 123.7 kB / 5.763 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01299/19.09, allocations: 4.031 MB / 5.767 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009954/19.1, allocations: 2.37 MB / 5.77 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/19.12, allocations: 18.82 MB / 5.788 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01319/19.14, allocations: 0.7501 MB / 5.789 GB, free: 17.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003226/19.14, allocations: 0.5443 MB / 5.789 GB, free: 17.81 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1231): * Single equations (assignments): 1213 * 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.005541/19.14, allocations: 463.3 kB / 5.79 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004882/19.15, allocations: 1.066 MB / 5.791 GB, free: 16.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0298/19.18, allocations: 11.4 MB / 5.802 GB, free: 16.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-05/19.18, allocations: 67.75 kB / 5.802 GB, free: 16.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.664e-05/19.18, allocations: 3.375 kB / 5.802 GB, free: 16.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02208/19.2, allocations: 9.658 MB / 5.811 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05801/19.26, allocations: 23.68 MB / 5.835 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.482e-05/19.26, allocations: 10.88 kB / 5.835 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00708/19.27, allocations: 1.383 MB / 5.836 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006824/19.27, allocations: 2.447 MB / 5.838 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009939/19.27, allocations: 91.55 kB / 5.838 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02136/19.3, allocations: 20.84 MB / 5.859 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.788e-05/19.3, allocations: 20.84 kB / 5.859 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0353/19.33, allocations: 20.32 MB / 5.879 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009268/19.34, allocations: 2.614 MB / 5.881 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004921/19.35, allocations: 50.09 kB / 5.881 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01132/19.36, allocations: 0.601 MB / 5.882 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001986/19.36, allocations: 436.7 kB / 5.882 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001813/19.36, allocations: 252.6 kB / 5.883 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01882/19.38, allocations: 7.991 MB / 5.89 GB, free: 0 / 0.8542 GB Notification: Performance of sort global known variables: time 5.31e-07/19.38, allocations: 336 / 5.89 GB, free: 0 / 0.8542 GB Notification: Performance of remove unused functions: time 0.6573/20.04, allocations: 7.533 MB / 5.898 GB, free: 126.5 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 530 * 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.007787/20.04, allocations: 2.072 MB / 5.9 GB, free: 126 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.06295/20.11, allocations: 20.56 MB / 5.92 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.858e-05/20.11, allocations: 7.406 kB / 5.92 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01722/20.12, allocations: 5.166 MB / 5.925 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04286/20.17, allocations: 5.302 MB / 5.93 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06573/20.23, allocations: 26.62 MB / 5.956 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01704/20.25, allocations: 10.12 MB / 5.966 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.03587/20.29, allocations: 8.428 MB / 5.974 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004219/20.29, allocations: 0.6546 MB / 5.975 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.303e-06/20.29, allocations: 0 / 5.975 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of Templates: time 1.012/21.3, allocations: 243.2 MB / 6.212 GB, free: 124.1 MB / 0.8542 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)