Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8522/0.8522, allocations: 140.1 MB / 156 MB, free: 5.152 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.001085/0.001085, allocations: 179 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009306/0.0009306, allocations: 105 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001761/0.00176, allocations: 272.3 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007045/0.0007046, allocations: 20 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5778, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9913/1.569, allocations: 389.9 MB / 1.12 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/1.57, allocations: 97.08 kB / 1.12 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 17.91/19.48, allocations: 4.585 GB / 5.705 GB, free: 52.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.818e-06/19.48, allocations: 0 / 5.705 GB, free: 52.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.004391/19.48, allocations: 400.3 kB / 5.706 GB, free: 52.55 MB / 0.8073 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.06588/19.55, allocations: 16.2 MB / 5.722 GB, free: 46.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/19.55, allocations: 12.25 kB / 5.722 GB, free: 46.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01507/19.56, allocations: 1.877 MB / 5.723 GB, free: 45.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0567/19.62, allocations: 17.49 MB / 5.74 GB, free: 43.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001717/19.62, allocations: 0.974 MB / 5.741 GB, free: 43.51 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008019/19.63, allocations: 1.302 MB / 5.743 GB, free: 43.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06623/19.7, allocations: 18.38 MB / 5.761 GB, free: 41.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001171/19.7, allocations: 46.3 kB / 5.761 GB, free: 41.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006637/19.7, allocations: 0.5316 MB / 5.761 GB, free: 41.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006544/19.71, allocations: 349.6 kB / 5.762 GB, free: 41.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04473/19.75, allocations: 15.62 MB / 5.777 GB, free: 41.13 MB / 0.8073 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.1609/19.91, allocations: 80.26 MB / 5.855 GB, free: 18.24 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0213/19.93, allocations: 11.87 MB / 5.867 GB, free: 13.14 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01101/19.94, allocations: 6.136 MB / 5.873 GB, free: 10.85 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7917/20.74, allocations: 28.23 MB / 5.9 GB, free: 76.47 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/20.74, allocations: 125 kB / 5.9 GB, free: 76.42 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01319/20.75, allocations: 0.7233 MB / 5.901 GB, free: 76.42 MB / 0.823 GB Notification: Performance of pre-optimization done (n=651): time 7.267e-05/20.75, allocations: 0.7188 kB / 5.901 GB, free: 76.42 MB / 0.823 GB Notification: Performance of matching and sorting (n=651): time 0.04852/20.8, allocations: 17.79 MB / 5.919 GB, free: 74.63 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/20.8, allocations: 119.4 kB / 5.919 GB, free: 74.56 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04039/20.84, allocations: 12.52 MB / 5.931 GB, free: 73.97 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003101/20.84, allocations: 187.4 kB / 5.931 GB, free: 73.94 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01437/20.86, allocations: 7.156 MB / 5.938 GB, free: 72.34 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.004798/20.86, allocations: 2.289 MB / 5.94 GB, free: 70.97 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002489/20.86, allocations: 229.7 kB / 5.94 GB, free: 70.97 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.001435/20.86, allocations: 0.7712 MB / 5.941 GB, free: 70.64 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01171/20.88, allocations: 5.661 MB / 5.947 GB, free: 70.62 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0167/20.89, allocations: 9.577 MB / 5.956 GB, free: 66.04 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02714/20.92, allocations: 15.14 MB / 5.971 GB, free: 61.53 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003196/20.92, allocations: 35.28 kB / 5.971 GB, free: 61.53 MB / 0.823 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04962/20.97, allocations: 18.36 MB / 5.989 GB, free: 60.59 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.003705/20.97, allocations: 3.709 MB / 5.992 GB, free: 56.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005282/20.97, allocations: 123.8 kB / 5.993 GB, free: 56.11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09504/21.07, allocations: 11.84 MB / 6.004 GB, free: 55.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01292/21.08, allocations: 2.361 MB / 6.006 GB, free: 55.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/21.1, allocations: 20.23 MB / 6.026 GB, free: 43.87 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01863/21.12, allocations: 1.088 MB / 6.027 GB, free: 43.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004029/21.13, allocations: 0.5433 MB / 6.028 GB, free: 43.73 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/21.13, allocations: 7.531 kB / 6.028 GB, free: 43.72 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04445/21.17, allocations: 17.34 MB / 6.045 GB, free: 42.83 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006356/21.17, allocations: 121.5 kB / 6.045 GB, free: 42.83 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09283/21.26, allocations: 11.84 MB / 6.056 GB, free: 42.06 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/21.27, allocations: 2.317 MB / 6.059 GB, free: 41.89 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01733/21.29, allocations: 18.44 MB / 6.077 GB, free: 31.42 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01704/21.31, allocations: 1.04 MB / 6.078 GB, free: 31.31 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004086/21.31, allocations: 0.5334 MB / 6.078 GB, free: 31.31 MB / 0.823 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 (1233): * Single equations (assignments): 1215 * 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.019/21.33, allocations: 5.758 MB / 6.084 GB, free: 30.88 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006358/21.34, allocations: 1.148 MB / 6.085 GB, free: 30.27 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03301/21.37, allocations: 11.4 MB / 6.096 GB, free: 29.66 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/21.37, allocations: 75.8 kB / 6.096 GB, free: 29.66 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.413e-05/21.37, allocations: 3.562 kB / 6.096 GB, free: 29.66 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02207/21.39, allocations: 9.427 MB / 6.105 GB, free: 29.04 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07911/21.47, allocations: 25.45 MB / 6.13 GB, free: 20.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.367e-05/21.47, allocations: 22.28 kB / 6.13 GB, free: 20.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00633/21.48, allocations: 1.147 MB / 6.131 GB, free: 19.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04862/21.53, allocations: 6.403 MB / 6.138 GB, free: 18.96 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002005/21.53, allocations: 192.3 kB / 6.138 GB, free: 18.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/21.54, allocations: 17.83 MB / 6.155 GB, free: 3.613 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/21.54, allocations: 19.97 kB / 6.155 GB, free: 3.594 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04415/21.59, allocations: 17.81 MB / 6.173 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01218/21.6, allocations: 2.663 MB / 6.175 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009093/21.61, allocations: 160.1 kB / 6.175 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01621/21.63, allocations: 0.748 MB / 6.176 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002375/21.63, allocations: 447.9 kB / 6.177 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002308/21.63, allocations: 295.2 kB / 6.177 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.04555/21.68, allocations: 10.21 MB / 6.187 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.22e-07/21.68, allocations: 0 / 6.187 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.04632/21.72, allocations: 7.819 MB / 6.194 GB, free: 6.805 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 (561): * Single equations (assignments): 537 * 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.007187/21.73, allocations: 2.096 MB / 6.197 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.8291/22.56, allocations: 23.07 MB / 6.219 GB, free: 94.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.656e-05/22.56, allocations: 8.156 kB / 6.219 GB, free: 94.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01336/22.57, allocations: 5.385 MB / 6.224 GB, free: 93.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07282/22.64, allocations: 6.17 MB / 6.23 GB, free: 93.65 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08948/22.73, allocations: 36.92 MB / 6.266 GB, free: 80.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02961/22.76, allocations: 9.862 MB / 6.276 GB, free: 79.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0323/22.8, allocations: 6.1 MB / 6.282 GB, free: 79.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006438/22.8, allocations: 0.8584 MB / 6.283 GB, free: 79.05 MB / 0.8542 GB Notification: Performance of SimCode: time 1.313e-06/22.8, allocations: 0 / 6.283 GB, free: 79.05 MB / 0.8542 GB Notification: Performance of Templates: time 1.88/24.68, allocations: 271.1 MB / 6.548 GB, free: 122.9 MB / 0.8855 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)