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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.7673/0.7673, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 179.4 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009545/0.0009547, allocations: 95.91 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001844/0.001844, allocations: 281.2 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.354e-05/4.357e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5165, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9452/1.462, allocations: 391.8 MB / 1.147 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.462, allocations: 96.5 kB / 1.147 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 19.36/20.82, allocations: 4.681 GB / 5.828 GB, free: 65.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.904e-06/20.82, allocations: 0 / 5.828 GB, free: 65.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.002725/20.82, allocations: 402.8 kB / 5.829 GB, free: 64.97 MB / 0.8386 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.05324/20.88, allocations: 13.64 MB / 5.842 GB, free: 60.13 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/20.88, allocations: 6.531 kB / 5.842 GB, free: 60.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/20.89, allocations: 1.874 MB / 5.844 GB, free: 59.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04976/20.94, allocations: 17.75 MB / 5.861 GB, free: 57.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00139/20.94, allocations: 0.972 MB / 5.862 GB, free: 57.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007306/20.95, allocations: 1.299 MB / 5.863 GB, free: 57.53 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05899/21.01, allocations: 18.06 MB / 5.881 GB, free: 55.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000886/21.01, allocations: 50.53 kB / 5.881 GB, free: 55.31 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006215/21.02, allocations: 0.5282 MB / 5.881 GB, free: 55.31 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004796/21.02, allocations: 353.7 kB / 5.882 GB, free: 55.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03805/21.05, allocations: 15.33 MB / 5.897 GB, free: 55.22 MB / 0.8386 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.1444/21.2, allocations: 80.82 MB / 5.976 GB, free: 37.59 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/21.22, allocations: 11.86 MB / 5.987 GB, free: 37.05 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01153/21.23, allocations: 6.031 MB / 5.993 GB, free: 36.97 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07507/21.31, allocations: 28.8 MB / 6.021 GB, free: 27.09 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/21.31, allocations: 122.1 kB / 6.021 GB, free: 27 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01024/21.32, allocations: 0.7726 MB / 6.022 GB, free: 26.39 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=651): time 2.126e-05/21.32, allocations: 0 / 6.022 GB, free: 26.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=651): time 0.02684/21.34, allocations: 10.15 MB / 6.032 GB, free: 22.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/21.34, allocations: 116.9 kB / 6.032 GB, free: 22.36 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03338/21.38, allocations: 11.91 MB / 6.044 GB, free: 18.05 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.003048/21.38, allocations: 181.3 kB / 6.044 GB, free: 17.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.01155/21.39, allocations: 7.114 MB / 6.051 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.006115/21.4, allocations: 2.294 MB / 6.053 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003438/21.4, allocations: 230.3 kB / 6.053 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.001692/21.4, allocations: 0.7797 MB / 6.054 GB, free: 10 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01226/21.41, allocations: 5.575 MB / 6.06 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01676/21.43, allocations: 9.45 MB / 6.069 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02144/21.45, allocations: 7.84 MB / 6.077 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001849/21.45, allocations: 33.31 kB / 6.077 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05028/21.5, allocations: 18.19 MB / 6.094 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.7565/22.26, allocations: 68.6 MB / 6.161 GB, free: 37.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008228/22.26, allocations: 120.5 kB / 6.161 GB, free: 37.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09881/22.36, allocations: 11.87 MB / 6.173 GB, free: 37.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01176/22.37, allocations: 2.395 MB / 6.175 GB, free: 37.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/22.39, allocations: 20.16 MB / 6.195 GB, free: 41.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01802/22.41, allocations: 1.098 MB / 6.196 GB, free: 41.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004012/22.42, allocations: 0.5409 MB / 6.197 GB, free: 41.64 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/22.42, allocations: 7.875 kB / 6.197 GB, free: 41.64 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04509/22.46, allocations: 17.16 MB / 6.213 GB, free: 41.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007808/22.46, allocations: 121 kB / 6.214 GB, free: 41.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1359/22.6, allocations: 11.87 MB / 6.225 GB, free: 40.95 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01438/22.61, allocations: 2.375 MB / 6.227 GB, free: 40.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/22.63, allocations: 18.37 MB / 6.245 GB, free: 46.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02028/22.65, allocations: 1.048 MB / 6.246 GB, free: 46.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004831/22.66, allocations: 0.5341 MB / 6.247 GB, free: 46.68 MB / 0.9167 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 () * 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.004482/22.66, allocations: 0.7793 MB / 6.248 GB, free: 46.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004579/22.67, allocations: 1.151 MB / 6.249 GB, free: 46.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02655/22.69, allocations: 11.32 MB / 6.26 GB, free: 45.87 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/22.69, allocations: 67.06 kB / 6.26 GB, free: 45.87 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.561e-05/22.69, allocations: 6.172 kB / 6.26 GB, free: 45.87 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02199/22.72, allocations: 9.322 MB / 6.269 GB, free: 45.28 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08307/22.8, allocations: 25.56 MB / 6.294 GB, free: 43.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.6e-05/22.8, allocations: 11.38 kB / 6.294 GB, free: 43.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006399/22.81, allocations: 1.129 MB / 6.295 GB, free: 43.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04861/22.85, allocations: 6.424 MB / 6.301 GB, free: 43.45 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002226/22.86, allocations: 184.8 kB / 6.302 GB, free: 43.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01633/22.87, allocations: 17.77 MB / 6.319 GB, free: 31.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.89e-05/22.87, allocations: 23.31 kB / 6.319 GB, free: 31.32 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04415/22.92, allocations: 21.03 MB / 6.339 GB, free: 25.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01446/22.93, allocations: 2.779 MB / 6.342 GB, free: 24.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007106/22.94, allocations: 162.4 kB / 6.342 GB, free: 24.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01711/22.96, allocations: 0.7492 MB / 6.343 GB, free: 24.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002454/22.96, allocations: 445.4 kB / 6.344 GB, free: 24.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0024/22.96, allocations: 286.8 kB / 6.344 GB, free: 24.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.02305/22.98, allocations: 9.077 MB / 6.353 GB, free: 23.97 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.82e-07/22.98, allocations: 4 kB / 6.353 GB, free: 23.96 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.04423/23.03, allocations: 7.9 MB / 6.36 GB, free: 23.44 MB / 0.9167 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 () * 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.00724/23.04, allocations: 2.16 MB / 6.362 GB, free: 22.76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.05396/23.09, allocations: 22.01 MB / 6.384 GB, free: 36.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-05/23.09, allocations: 11.59 kB / 6.384 GB, free: 36.89 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01196/23.1, allocations: 5.302 MB / 6.389 GB, free: 36.33 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03729/23.14, allocations: 6.138 MB / 6.395 GB, free: 36.02 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07218/23.21, allocations: 27.38 MB / 6.422 GB, free: 22.37 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01961/23.23, allocations: 10.14 MB / 6.432 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.04255/23.27, allocations: 9.001 MB / 6.441 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004396/23.28, allocations: 0.6887 MB / 6.441 GB, free: 8.75 MB / 0.9323 GB Notification: Performance of SimCode: time 1.002e-06/23.28, allocations: 0 / 6.441 GB, free: 8.75 MB / 0.9323 GB Notification: Performance of Templates: time 1.982/25.26, allocations: 290.1 MB / 6.725 GB, free: 54.33 MB / 0.9324 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)