Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.796/1.796, allocations: 285.4 MB / 298 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 180.8 kB / 366.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.1 MB / 0.6248 GB, free: 7.734 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008889/0.000889, allocations: 85.88 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.835e-05/4.838e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8076/0.8077, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/2.03, allocations: 420.6 MB / 1.382 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/2.03, allocations: 86.2 kB / 1.382 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 19.27/21.3, allocations: 4.6 GB / 5.982 GB, free: 99.97 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.013e-06/21.3, allocations: 0 / 5.982 GB, free: 99.97 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.002635/21.31, allocations: 399.1 kB / 5.982 GB, free: 99.92 MB / 1.073 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.05231/21.36, allocations: 13.64 MB / 5.996 GB, free: 95.01 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/21.36, allocations: 10.97 kB / 5.996 GB, free: 95.01 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008398/21.37, allocations: 1.684 MB / 5.997 GB, free: 94.89 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/21.38, allocations: 1.875 MB / 5.999 GB, free: 94 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04709/21.43, allocations: 17.75 MB / 6.017 GB, free: 92.28 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001332/21.43, allocations: 0.9707 MB / 6.017 GB, free: 92.25 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006107/21.44, allocations: 1.304 MB / 6.019 GB, free: 92.24 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05823/21.49, allocations: 18.05 MB / 6.036 GB, free: 89.98 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009774/21.5, allocations: 47.08 kB / 6.036 GB, free: 89.98 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005253/21.5, allocations: 0.5297 MB / 6.037 GB, free: 89.98 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004374/21.5, allocations: 350.9 kB / 6.037 GB, free: 89.98 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04093/21.54, allocations: 15.33 MB / 6.052 GB, free: 89.86 MB / 1.073 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.1591/21.7, allocations: 80.8 MB / 6.131 GB, free: 48.41 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0204/21.72, allocations: 11.86 MB / 6.143 GB, free: 43.39 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0107/21.73, allocations: 6.043 MB / 6.149 GB, free: 41.09 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07238/21.81, allocations: 28.77 MB / 6.177 GB, free: 26.19 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/21.81, allocations: 121.4 kB / 6.177 GB, free: 26.09 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01001/21.82, allocations: 0.7729 MB / 6.178 GB, free: 25.48 MB / 1.073 GB Notification: Performance of pre-optimization done (n=651): time 2.751e-05/21.82, allocations: 0 / 6.178 GB, free: 25.48 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 0.02614/21.84, allocations: 10.15 MB / 6.188 GB, free: 19.96 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/21.84, allocations: 128.5 kB / 6.188 GB, free: 19.82 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02878/21.87, allocations: 11.9 MB / 6.199 GB, free: 9.441 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002869/21.87, allocations: 189.7 kB / 6.199 GB, free: 9.25 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.008896/21.88, allocations: 7.109 MB / 6.206 GB, free: 2.859 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00426/21.89, allocations: 2.293 MB / 6.209 GB, free: 0.793 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002718/21.89, allocations: 235.8 kB / 6.209 GB, free: 0.5664 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001453/21.89, allocations: 0.7713 MB / 6.21 GB, free: 15.92 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01239/21.9, allocations: 5.567 MB / 6.215 GB, free: 11.09 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01713/21.92, allocations: 9.459 MB / 6.224 GB, free: 0.7891 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9533/22.87, allocations: 7.637 MB / 6.232 GB, free: 124 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001589/22.87, allocations: 34.78 kB / 6.232 GB, free: 124 MB / 1.089 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.0457/22.92, allocations: 18.18 MB / 6.25 GB, free: 123.7 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01927/22.94, allocations: 68.61 MB / 6.317 GB, free: 52.47 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004768/22.94, allocations: 121.1 kB / 6.317 GB, free: 52.47 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09532/23.03, allocations: 11.87 MB / 6.328 GB, free: 52.34 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0134/23.05, allocations: 2.392 MB / 6.331 GB, free: 52.34 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02699/23.08, allocations: 20.17 MB / 6.35 GB, free: 56.41 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01855/23.09, allocations: 1.097 MB / 6.351 GB, free: 56.41 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003817/23.1, allocations: 0.5446 MB / 6.352 GB, free: 56.41 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/23.1, allocations: 3.844 kB / 6.352 GB, free: 56.41 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04709/23.15, allocations: 17.17 MB / 6.369 GB, free: 55.96 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008843/23.15, allocations: 121.1 kB / 6.369 GB, free: 55.96 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09493/23.24, allocations: 11.87 MB / 6.38 GB, free: 55.62 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/23.25, allocations: 2.372 MB / 6.383 GB, free: 55.45 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/23.27, allocations: 18.38 MB / 6.401 GB, free: 45.02 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0157/23.29, allocations: 1.044 MB / 6.402 GB, free: 44.93 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003601/23.29, allocations: 0.5406 MB / 6.402 GB, free: 44.93 MB / 1.104 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.005442/23.3, allocations: 0.7792 MB / 6.403 GB, free: 44.65 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005402/23.3, allocations: 1.149 MB / 6.404 GB, free: 44.04 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02781/23.33, allocations: 11.31 MB / 6.415 GB, free: 43.44 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-05/23.33, allocations: 61.59 kB / 6.415 GB, free: 43.44 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-05/23.33, allocations: 8.625 kB / 6.415 GB, free: 43.44 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01776/23.35, allocations: 9.323 MB / 6.424 GB, free: 42.82 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07858/23.43, allocations: 25.55 MB / 6.449 GB, free: 41.36 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.769e-05/23.43, allocations: 12.72 kB / 6.449 GB, free: 41.36 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008619/23.43, allocations: 1.13 MB / 6.45 GB, free: 41.29 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06536/23.5, allocations: 6.428 MB / 6.457 GB, free: 40.84 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002316/23.5, allocations: 185.1 kB / 6.457 GB, free: 40.84 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02227/23.52, allocations: 17.79 MB / 6.474 GB, free: 44.69 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.752e-05/23.52, allocations: 23.09 kB / 6.474 GB, free: 44.68 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.049/23.57, allocations: 21.02 MB / 6.495 GB, free: 38.52 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01536/23.59, allocations: 2.783 MB / 6.497 GB, free: 37.8 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007945/23.6, allocations: 159.9 kB / 6.498 GB, free: 37.8 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01777/23.61, allocations: 0.7536 MB / 6.498 GB, free: 37.74 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002765/23.62, allocations: 445.3 kB / 6.499 GB, free: 37.7 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002951/23.62, allocations: 291.5 kB / 6.499 GB, free: 37.7 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.03013/23.65, allocations: 9.073 MB / 6.508 GB, free: 37.33 MB / 1.12 GB Notification: Performance of sort global known variables: time 7.11e-07/23.65, allocations: 0 / 6.508 GB, free: 37.33 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.05597/23.71, allocations: 7.9 MB / 6.516 GB, free: 36.8 MB / 1.12 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.06387/23.77, allocations: 24.45 MB / 6.539 GB, free: 44.92 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.06961/23.84, allocations: 22.03 MB / 6.561 GB, free: 42.48 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.86e-05/23.84, allocations: 7.969 kB / 6.561 GB, free: 42.48 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.01692/23.86, allocations: 5.307 MB / 6.566 GB, free: 40.43 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04449/23.9, allocations: 6.13 MB / 6.572 GB, free: 39.13 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1195/24.02, allocations: 32.25 MB / 6.604 GB, free: 20.68 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02836/24.05, allocations: 10.15 MB / 6.614 GB, free: 13.24 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.04431/24.09, allocations: 8.973 MB / 6.622 GB, free: 7.715 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01689/24.11, allocations: 6.06 MB / 6.628 GB, free: 2.074 MB / 1.135 GB Notification: Performance of SimCode: time 1.122e-06/24.11, allocations: 0 / 6.628 GB, free: 2.074 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.68/26.79, allocations: 418 MB / 7.036 GB, free: 4.801 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/26.79, allocations: 256.6 kB / 7.037 GB, free: 4.461 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.18/49.97, allocations: 0 / 7.037 GB, free: 4.461 MB / 1.151 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)