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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6809/0.6809, allocations: 117.9 MB / 133.9 MB, free: 4.488 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.001252/0.001252, allocations: 185.8 kB / 161.7 MB, free: 2.699 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.4 MB / 394.8 MB, free: 20.9 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.0008001/0.0008002, allocations: 90.34 kB / 470.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004188, allocations: 16 kB / 0.5423 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3792, allocations: 74.53 MB / 0.6151 GB, free: 54.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.554, allocations: 381.7 MB / 0.9879 GB, free: 241.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/1.554, allocations: 98.77 kB / 0.988 GB, free: 241.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 17.06/18.61, allocations: 4.403 GB / 5.391 GB, free: 37.55 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.567e-06/18.61, allocations: 0 / 5.391 GB, free: 37.55 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.003146/18.62, allocations: 394.5 kB / 5.391 GB, free: 37.5 MB / 0.7605 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.06003/18.68, allocations: 16.14 MB / 5.407 GB, free: 31.61 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/18.68, allocations: 11.81 kB / 5.407 GB, free: 31.61 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/18.69, allocations: 1.872 MB / 5.409 GB, free: 30.71 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05397/18.75, allocations: 18.81 MB / 5.427 GB, free: 28.39 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001562/18.75, allocations: 0.9732 MB / 5.428 GB, free: 28.36 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00785/18.76, allocations: 1.303 MB / 5.429 GB, free: 28.35 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06137/18.82, allocations: 18.26 MB / 5.447 GB, free: 26.02 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001107/18.82, allocations: 38.34 kB / 5.447 GB, free: 26 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006319/18.83, allocations: 0.5254 MB / 5.448 GB, free: 26 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004532/18.83, allocations: 354.2 kB / 5.448 GB, free: 25.99 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04341/18.87, allocations: 15.6 MB / 5.463 GB, free: 21.82 MB / 0.7605 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.7677/19.64, allocations: 80.37 MB / 5.542 GB, free: 30.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02067/19.66, allocations: 11.75 MB / 5.553 GB, free: 29.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01097/19.67, allocations: 6.044 MB / 5.559 GB, free: 29.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07076/19.74, allocations: 27.35 MB / 5.586 GB, free: 39.71 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/19.74, allocations: 114.8 kB / 5.586 GB, free: 39.66 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01063/19.75, allocations: 0.7159 MB / 5.587 GB, free: 39.66 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=646): time 4.494e-05/19.75, allocations: 0 / 5.587 GB, free: 39.66 MB / 0.7917 GB Notification: Performance of matching and sorting (n=646): time 0.05201/19.8, allocations: 17.87 MB / 5.604 GB, free: 37.79 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/19.8, allocations: 121.5 kB / 5.604 GB, free: 37.72 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03396/19.84, allocations: 12.33 MB / 5.616 GB, free: 37 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.002723/19.84, allocations: 175.1 kB / 5.617 GB, free: 36.97 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.01078/19.85, allocations: 7.123 MB / 5.624 GB, free: 34.77 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.004455/19.85, allocations: 2.273 MB / 5.626 GB, free: 33.35 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002868/19.86, allocations: 229.7 kB / 5.626 GB, free: 33.35 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.001736/19.86, allocations: 0.7668 MB / 5.627 GB, free: 33.02 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01208/19.87, allocations: 5.593 MB / 5.632 GB, free: 33 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01583/19.89, allocations: 9.618 MB / 5.642 GB, free: 28.28 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02502/19.91, allocations: 15.16 MB / 5.656 GB, free: 23.62 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003021/19.91, allocations: 35.03 kB / 5.656 GB, free: 23.62 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1465) (initialization): time 0.04464/19.96, allocations: 18.24 MB / 5.674 GB, free: 22.68 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.003154/19.96, allocations: 3.828 MB / 5.678 GB, free: 18.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004261/19.96, allocations: 127.2 kB / 5.678 GB, free: 18.07 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08953/20.05, allocations: 11.83 MB / 5.69 GB, free: 17.69 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01186/20.06, allocations: 2.557 MB / 5.692 GB, free: 17.67 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02477/20.09, allocations: 23.62 MB / 5.715 GB, free: 19.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0142/20.1, allocations: 1.041 MB / 5.716 GB, free: 19.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00311/20.1, allocations: 0.5408 MB / 5.717 GB, free: 19.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/20.1, allocations: 4.938 kB / 5.717 GB, free: 19.18 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0336/20.14, allocations: 17.14 MB / 5.734 GB, free: 18.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004801/20.14, allocations: 130.8 kB / 5.734 GB, free: 18.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08788/20.23, allocations: 11.82 MB / 5.745 GB, free: 17.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009849/20.24, allocations: 2.279 MB / 5.747 GB, free: 17.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/20.25, allocations: 18.43 MB / 5.765 GB, free: 3.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01487/20.27, allocations: 0.9846 MB / 5.766 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003374/20.27, allocations: 0.5456 MB / 5.767 GB, free: 3.07 MB / 0.8073 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 (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.01602/20.29, allocations: 5.748 MB / 5.773 GB, free: 452 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004319/20.29, allocations: 1.14 MB / 5.774 GB, free: 15.83 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02698/20.32, allocations: 11.91 MB / 5.785 GB, free: 11.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.851e-05/20.32, allocations: 64.19 kB / 5.785 GB, free: 11.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-05/20.32, allocations: 3.906 kB / 5.785 GB, free: 11.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01992/20.34, allocations: 9.466 MB / 5.795 GB, free: 5.738 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7457/21.09, allocations: 25.41 MB / 5.819 GB, free: 93.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/21.09, allocations: 12 kB / 5.819 GB, free: 93.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008168/21.09, allocations: 1.406 MB / 5.821 GB, free: 93.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04637/21.14, allocations: 6.388 MB / 5.827 GB, free: 93.85 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002105/21.14, allocations: 184.1 kB / 5.827 GB, free: 93.85 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01995/21.16, allocations: 21.07 MB / 5.848 GB, free: 79.79 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/21.16, allocations: 18.53 kB / 5.848 GB, free: 79.79 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0347/21.2, allocations: 17.25 MB / 5.865 GB, free: 78.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01085/21.21, allocations: 2.553 MB / 5.867 GB, free: 78.13 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006262/21.22, allocations: 159.9 kB / 5.867 GB, free: 78.13 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0126/21.23, allocations: 0.7239 MB / 5.868 GB, free: 78.11 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002593/21.23, allocations: 438.3 kB / 5.868 GB, free: 78.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001755/21.23, allocations: 252.6 kB / 5.869 GB, free: 78.09 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.02272/21.25, allocations: 8.407 MB / 5.877 GB, free: 77.77 MB / 0.823 GB Notification: Performance of sort global known variables: time 3e-07/21.26, allocations: 0 / 5.877 GB, free: 77.77 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0441/21.3, allocations: 7.637 MB / 5.884 GB, free: 77.24 MB / 0.823 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 (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.006705/21.31, allocations: 2.091 MB / 5.886 GB, free: 76.79 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.05311/21.36, allocations: 21.98 MB / 5.908 GB, free: 75.82 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.719e-05/21.36, allocations: 4.844 kB / 5.908 GB, free: 75.82 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01515/21.37, allocations: 5.651 MB / 5.913 GB, free: 75.41 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06863/21.44, allocations: 6.097 MB / 5.919 GB, free: 75.34 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08359/21.53, allocations: 36.74 MB / 5.955 GB, free: 61.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0253/21.55, allocations: 9.836 MB / 5.965 GB, free: 60.56 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.03318/21.59, allocations: 5.986 MB / 5.971 GB, free: 60.07 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006854/21.59, allocations: 0.8447 MB / 5.971 GB, free: 60.05 MB / 0.823 GB Notification: Performance of SimCode: time 1.152e-06/21.59, allocations: 0 / 5.971 GB, free: 60.05 MB / 0.823 GB Notification: Performance of Templates: time 1.166/22.76, allocations: 266.2 MB / 6.231 GB, free: 101.9 MB / 0.8386 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)