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.7596/0.7596, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001236/0.001236, allocations: 176.9 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.1 MB / 404.5 MB, free: 1.648 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.001239/0.001239, allocations: 82.48 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.219e-05, allocations: 0 / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1677, allocations: 76.76 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.461, allocations: 382.7 MB / 1.002 GB, free: 132.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.461, allocations: 87.77 kB / 1.002 GB, free: 132.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 17.6/19.06, allocations: 4.419 GB / 5.421 GB, free: 34.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.813e-06/19.06, allocations: 3.719 kB / 5.421 GB, free: 34.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.002512/19.06, allocations: 391 kB / 5.421 GB, free: 34.81 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.04332/19.1, allocations: 13.6 MB / 5.435 GB, free: 29.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/19.1, allocations: 14.12 kB / 5.435 GB, free: 29.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/19.11, allocations: 1.865 MB / 5.437 GB, free: 28.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04643/19.16, allocations: 19.31 MB / 5.455 GB, free: 26.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000961/19.16, allocations: 0.9776 MB / 5.456 GB, free: 26.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0059/19.17, allocations: 1.289 MB / 5.458 GB, free: 26.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04788/19.22, allocations: 17.92 MB / 5.475 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006146/19.22, allocations: 55.3 kB / 5.475 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003903/19.22, allocations: 0.5217 MB / 5.476 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002541/19.22, allocations: 351.1 kB / 5.476 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03685/19.26, allocations: 15.46 MB / 5.491 GB, free: 15.14 MB / 0.7917 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.7665/20.02, allocations: 80.88 MB / 5.57 GB, free: 35.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01949/20.04, allocations: 11.73 MB / 5.582 GB, free: 35.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009742/20.05, allocations: 5.937 MB / 5.587 GB, free: 35.52 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06321/20.12, allocations: 28.16 MB / 5.615 GB, free: 29.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/20.12, allocations: 113.3 kB / 5.615 GB, free: 29.12 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008438/20.12, allocations: 0.7531 MB / 5.616 GB, free: 28.86 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=646): time 3.92e-05/20.12, allocations: 0 / 5.616 GB, free: 28.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=646): time 0.02362/20.15, allocations: 10.26 MB / 5.626 GB, free: 27.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/20.15, allocations: 121.5 kB / 5.626 GB, free: 27.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02861/20.18, allocations: 11.72 MB / 5.637 GB, free: 43.11 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.002421/20.18, allocations: 178.4 kB / 5.637 GB, free: 43.08 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.009224/20.19, allocations: 7.136 MB / 5.644 GB, free: 40.63 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.004105/20.19, allocations: 2.275 MB / 5.647 GB, free: 39.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001987/20.19, allocations: 228.6 kB / 5.647 GB, free: 39.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.001023/20.2, allocations: 0.7722 MB / 5.648 GB, free: 38.88 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009604/20.21, allocations: 5.484 MB / 5.653 GB, free: 38.85 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01287/20.22, allocations: 9.468 MB / 5.662 GB, free: 34.12 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/20.23, allocations: 7.437 MB / 5.669 GB, free: 34.01 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002014/20.23, allocations: 36.81 kB / 5.67 GB, free: 34.01 MB / 0.823 GB Notification: Performance of matching and sorting (n=1465) (initialization): time 0.04265/20.27, allocations: 18.01 MB / 5.687 GB, free: 33.06 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.02494/20.3, allocations: 70.82 MB / 5.756 GB, free: 23.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005506/20.3, allocations: 130.7 kB / 5.756 GB, free: 23.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09137/20.39, allocations: 11.85 MB / 5.768 GB, free: 22.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01316/20.4, allocations: 2.645 MB / 5.771 GB, free: 22.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/20.42, allocations: 20.37 MB / 5.79 GB, free: 26.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01801/20.44, allocations: 1.034 MB / 5.791 GB, free: 26.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003179/20.45, allocations: 0.5479 MB / 5.792 GB, free: 26.44 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/20.45, allocations: 3.938 kB / 5.792 GB, free: 26.44 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03068/20.48, allocations: 16.94 MB / 5.809 GB, free: 25.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004236/20.48, allocations: 123.6 kB / 5.809 GB, free: 25.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09073/20.57, allocations: 11.86 MB / 5.82 GB, free: 24.22 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/20.58, allocations: 2.369 MB / 5.823 GB, free: 23.97 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01745/20.59, allocations: 18.37 MB / 5.84 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01585/20.61, allocations: 0.9688 MB / 5.841 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003896/20.61, allocations: 0.5454 MB / 5.842 GB, free: 10.01 MB / 0.9011 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.005469/20.62, allocations: 0.7703 MB / 5.843 GB, free: 9.355 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004558/20.62, allocations: 1.142 MB / 5.844 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02743/20.65, allocations: 11.77 MB / 5.855 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.5e-05/20.65, allocations: 64.59 kB / 5.855 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-05/20.65, allocations: 3.781 kB / 5.855 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7288/21.38, allocations: 9.339 MB / 5.865 GB, free: 163.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07329/21.45, allocations: 24.94 MB / 5.889 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-05/21.45, allocations: 11.41 kB / 5.889 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008474/21.46, allocations: 1.381 MB / 5.89 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04727/21.51, allocations: 6.403 MB / 5.896 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002914/21.51, allocations: 183.2 kB / 5.897 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/21.53, allocations: 20.85 MB / 5.917 GB, free: 147.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/21.53, allocations: 17.59 kB / 5.917 GB, free: 147.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03022/21.56, allocations: 20.35 MB / 5.937 GB, free: 142.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01003/21.57, allocations: 2.684 MB / 5.94 GB, free: 141.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004162/21.58, allocations: 156.7 kB / 5.94 GB, free: 141.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01193/21.59, allocations: 0.7186 MB / 5.94 GB, free: 141.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001949/21.59, allocations: 440.5 kB / 5.941 GB, free: 141.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001441/21.59, allocations: 252.6 kB / 5.941 GB, free: 141.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.02099/21.61, allocations: 8.96 MB / 5.95 GB, free: 141.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.262e-06/21.61, allocations: 0 / 5.95 GB, free: 141.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.04042/21.65, allocations: 7.713 MB / 5.957 GB, free: 140.8 MB / 0.9011 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.005949/21.66, allocations: 2.155 MB / 5.959 GB, free: 140.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.05045/21.71, allocations: 21.97 MB / 5.981 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.702e-05/21.71, allocations: 7 kB / 5.981 GB, free: 139.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01408/21.72, allocations: 5.503 MB / 5.986 GB, free: 138.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03307/21.76, allocations: 6.066 MB / 5.992 GB, free: 138.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07105/21.83, allocations: 27.19 MB / 6.019 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02376/21.85, allocations: 10.12 MB / 6.029 GB, free: 132 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.03878/21.89, allocations: 8.866 MB / 6.037 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004235/21.89, allocations: 0.6755 MB / 6.038 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of SimCode: time 2.765e-06/21.89, allocations: 0 / 6.038 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of Templates: time 1.185/23.08, allocations: 285.3 MB / 6.316 GB, free: 155.2 MB / 0.9011 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)