Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001101, allocations: 183.7 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000784/0.000784, allocations: 93.33 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.013e-05/2.017e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.194, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.498/1.692, allocations: 413.3 MB / 1.289 GB, free: 323.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/1.693, allocations: 94.28 kB / 1.289 GB, free: 323.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 17.13/18.82, allocations: 4.454 GB / 5.743 GB, free: 65.36 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.285e-06/18.83, allocations: 0 / 5.743 GB, free: 65.36 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.003267/18.83, allocations: 393 kB / 5.744 GB, free: 65.3 MB / 0.9948 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.05628/18.88, allocations: 13.63 MB / 5.757 GB, free: 60.31 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.573e-05/18.88, allocations: 7.438 kB / 5.757 GB, free: 60.31 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/18.9, allocations: 1.872 MB / 5.759 GB, free: 59.42 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04857/18.95, allocations: 17.69 MB / 5.776 GB, free: 54.64 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009713/18.95, allocations: 403.8 kB / 5.777 GB, free: 54.64 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00662/18.96, allocations: 0.7597 MB / 5.777 GB, free: 54.63 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03353/18.99, allocations: 14.46 MB / 5.791 GB, free: 43.33 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05174/19.04, allocations: 16.03 MB / 5.807 GB, free: 28.12 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00103/19.04, allocations: 43.58 kB / 5.807 GB, free: 28.08 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004925/19.05, allocations: 24 kB / 5.807 GB, free: 28.06 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003104/19.05, allocations: 355.9 kB / 5.808 GB, free: 27.71 MB / 0.9948 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.9522/20, allocations: 78.43 MB / 5.884 GB, free: 51.91 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/20.02, allocations: 11.31 MB / 5.895 GB, free: 51.73 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008999/20.03, allocations: 5.812 MB / 5.901 GB, free: 51.65 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06466/20.09, allocations: 28.17 MB / 5.928 GB, free: 45.29 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.27e-05/20.09, allocations: 119 kB / 5.928 GB, free: 45.24 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00904/20.1, allocations: 0.5525 MB / 5.929 GB, free: 45 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=651): time 4.451e-05/20.1, allocations: 1.75 kB / 5.929 GB, free: 45 MB / 0.9948 GB Notification: Performance of matching and sorting (n=651): time 0.02683/20.13, allocations: 10.47 MB / 5.939 GB, free: 44.07 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/20.13, allocations: 118.9 kB / 5.939 GB, free: 44 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0249/20.15, allocations: 10.71 MB / 5.95 GB, free: 43.39 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.00262/20.16, allocations: 33.42 kB / 5.95 GB, free: 43.36 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008969/20.16, allocations: 7.077 MB / 5.957 GB, free: 41.11 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003876/20.17, allocations: 2.201 MB / 5.959 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002346/20.17, allocations: 1 kB / 5.959 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.00109/20.17, allocations: 0.7688 MB / 5.96 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009813/20.18, allocations: 5.357 MB / 5.965 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01374/20.2, allocations: 9.163 MB / 5.974 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02247/20.22, allocations: 9.476 MB / 5.983 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002375/20.22, allocations: 37.09 kB / 5.983 GB, free: 34.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05222/20.27, allocations: 19.09 MB / 6.002 GB, free: 33.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.03302/20.3, allocations: 66.75 MB / 6.067 GB, free: 28.5 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005154/20.3, allocations: 120.3 kB / 6.067 GB, free: 28.5 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/20.32, allocations: 4.038 MB / 6.071 GB, free: 28.36 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/20.33, allocations: 2.406 MB / 6.073 GB, free: 28.36 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02389/20.35, allocations: 20.63 MB / 6.093 GB, free: 32.44 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01782/20.37, allocations: 0.8672 MB / 6.094 GB, free: 32.35 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003733/20.37, allocations: 0.5383 MB / 6.095 GB, free: 32.35 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/20.37, allocations: 3 kB / 6.095 GB, free: 32.35 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04848/20.42, allocations: 17.9 MB / 6.112 GB, free: 32.02 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006626/20.42, allocations: 122.1 kB / 6.112 GB, free: 32.02 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/20.44, allocations: 4.046 MB / 6.116 GB, free: 31.88 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01111/20.45, allocations: 2.375 MB / 6.119 GB, free: 31.88 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/20.47, allocations: 18.83 MB / 6.137 GB, free: 21.72 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01505/20.48, allocations: 0.8145 MB / 6.138 GB, free: 21.65 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00367/20.49, allocations: 0.5379 MB / 6.138 GB, free: 21.65 MB / 1.073 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.005792/20.49, allocations: 461.5 kB / 6.139 GB, free: 21.46 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.031/20.52, allocations: 10.43 MB / 6.149 GB, free: 20.52 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008773/20.53, allocations: 1.08 MB / 6.15 GB, free: 19.95 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0336/20.57, allocations: 11.44 MB / 6.161 GB, free: 19.39 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.843e-05/20.57, allocations: 64.44 kB / 6.161 GB, free: 19.39 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.431e-05/20.57, allocations: 4.375 kB / 6.161 GB, free: 19.39 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02245/20.59, allocations: 9.66 MB / 6.171 GB, free: 18.27 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06481/20.65, allocations: 24.14 MB / 6.194 GB, free: 8.949 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/20.65, allocations: 12.81 kB / 6.194 GB, free: 8.949 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005499/20.66, allocations: 1.131 MB / 6.195 GB, free: 8.914 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0071/20.67, allocations: 2.484 MB / 6.198 GB, free: 8.258 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001555/20.67, allocations: 91.83 kB / 6.198 GB, free: 8.234 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/20.68, allocations: 17.92 MB / 6.215 GB, free: 9.887 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.495e-05/20.68, allocations: 19.59 kB / 6.215 GB, free: 9.883 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9732/21.66, allocations: 21.35 MB / 6.236 GB, free: 165 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01347/21.67, allocations: 2.671 MB / 6.239 GB, free: 164.9 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006601/21.68, allocations: 51.03 kB / 6.239 GB, free: 164.9 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01526/21.69, allocations: 0.6276 MB / 6.24 GB, free: 164.9 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002893/21.7, allocations: 441.7 kB / 6.24 GB, free: 164.9 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002049/21.7, allocations: 280.3 kB / 6.24 GB, free: 164.9 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.02423/21.72, allocations: 7.998 MB / 6.248 GB, free: 164.6 MB / 1.089 GB Notification: Performance of sort global known variables: time 9.42e-07/21.72, allocations: 0 / 6.248 GB, free: 164.6 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.04881/21.77, allocations: 7.44 MB / 6.255 GB, free: 164 MB / 1.089 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.0492/21.82, allocations: 24.48 MB / 6.279 GB, free: 156.6 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.04355/21.86, allocations: 20.62 MB / 6.299 GB, free: 155.7 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.274e-05/21.86, allocations: 10.44 kB / 6.299 GB, free: 155.7 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01065/21.87, allocations: 4.971 MB / 6.304 GB, free: 155.3 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03802/21.91, allocations: 5.34 MB / 6.309 GB, free: 155.2 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1039/22.02, allocations: 31.28 MB / 6.34 GB, free: 149.9 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01539/22.03, allocations: 10.14 MB / 6.35 GB, free: 148.7 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0381/22.07, allocations: 8.419 MB / 6.358 GB, free: 148.1 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01465/22.09, allocations: 6.05 MB / 6.364 GB, free: 148.1 MB / 1.089 GB Notification: Performance of SimCode: time 1.433e-06/22.09, allocations: 0 / 6.364 GB, free: 148.1 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.499/23.58, allocations: 367.5 MB / 6.723 GB, free: 134.3 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/23.58, allocations: 193.4 kB / 6.723 GB, free: 134.1 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.52/43.1, allocations: 0.5625 kB / 6.723 GB, free: 134.1 MB / 1.089 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)