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.494/1.494, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.001037/0.001037, allocations: 178.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001068/0.001068, allocations: 96.58 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.636e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2804, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.865/2.145, allocations: 413 MB / 1.295 GB, free: 260 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/2.146, allocations: 90.67 kB / 1.295 GB, free: 260 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 18.57/20.71, allocations: 4.476 GB / 5.772 GB, free: 57.41 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.164e-06/20.71, allocations: 0 / 5.772 GB, free: 57.41 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.002899/20.72, allocations: 401.7 kB / 5.772 GB, free: 57.35 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.0509/20.77, allocations: 13.62 MB / 5.785 GB, free: 52.35 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/20.77, allocations: 8.656 kB / 5.785 GB, free: 52.35 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009009/20.78, allocations: 1.688 MB / 5.787 GB, free: 52.2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/20.79, allocations: 1.869 MB / 5.789 GB, free: 51.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04952/20.84, allocations: 17.7 MB / 5.806 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001552/20.84, allocations: 0.966 MB / 5.807 GB, free: 40.05 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007906/20.85, allocations: 1.308 MB / 5.808 GB, free: 38.74 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06142/20.91, allocations: 17.95 MB / 5.826 GB, free: 20.08 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009691/20.91, allocations: 39.66 kB / 5.826 GB, free: 20.04 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006096/20.92, allocations: 0.527 MB / 5.826 GB, free: 19.52 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003076/20.92, allocations: 363.8 kB / 5.827 GB, free: 19.16 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03771/20.96, allocations: 15.33 MB / 5.842 GB, free: 3.824 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.985/21.94, allocations: 80.71 MB / 5.92 GB, free: 61.36 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02415/21.97, allocations: 11.84 MB / 5.932 GB, free: 60.91 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01082/21.98, allocations: 6.04 MB / 5.938 GB, free: 60.84 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07334/22.05, allocations: 28.63 MB / 5.966 GB, free: 54.48 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/22.05, allocations: 112.5 kB / 5.966 GB, free: 54.43 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009474/22.06, allocations: 0.7729 MB / 5.967 GB, free: 54.16 MB / 1.026 GB Notification: Performance of pre-optimization done (n=651): time 2.891e-05/22.06, allocations: 0 / 5.967 GB, free: 54.16 MB / 1.026 GB Notification: Performance of matching and sorting (n=651): time 0.02692/22.09, allocations: 10.16 MB / 5.977 GB, free: 53.2 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/22.09, allocations: 122.5 kB / 5.977 GB, free: 53.13 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.031/22.12, allocations: 11.91 MB / 5.988 GB, free: 52.43 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002737/22.12, allocations: 179.7 kB / 5.989 GB, free: 52.39 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01088/22.13, allocations: 7.119 MB / 5.996 GB, free: 50.12 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.00466/22.14, allocations: 2.293 MB / 5.998 GB, free: 48.69 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00291/22.14, allocations: 229.7 kB / 5.998 GB, free: 48.69 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001751/22.14, allocations: 0.7711 MB / 5.999 GB, free: 48.36 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01241/22.15, allocations: 5.575 MB / 6.004 GB, free: 48.34 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01655/22.17, allocations: 9.456 MB / 6.013 GB, free: 43.75 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/22.19, allocations: 7.508 MB / 6.021 GB, free: 43.64 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002539/22.19, allocations: 35.66 kB / 6.021 GB, free: 43.64 MB / 1.026 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.0517/22.24, allocations: 18.18 MB / 6.039 GB, free: 42.69 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.02978/22.27, allocations: 68.62 MB / 6.106 GB, free: 35.29 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005062/22.27, allocations: 120.8 kB / 6.106 GB, free: 35.29 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09097/22.36, allocations: 11.87 MB / 6.117 GB, free: 35.09 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.011/22.37, allocations: 2.397 MB / 6.12 GB, free: 35.09 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/22.39, allocations: 20.16 MB / 6.139 GB, free: 38.98 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01797/22.41, allocations: 1.096 MB / 6.14 GB, free: 38.84 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003798/22.41, allocations: 0.5431 MB / 6.141 GB, free: 38.84 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/22.41, allocations: 3.781 kB / 6.141 GB, free: 38.84 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0426/22.46, allocations: 17.17 MB / 6.158 GB, free: 38.42 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006883/22.46, allocations: 121 kB / 6.158 GB, free: 38.42 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08967/22.55, allocations: 11.87 MB / 6.169 GB, free: 37.66 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01072/22.56, allocations: 2.379 MB / 6.172 GB, free: 37.65 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/22.58, allocations: 18.38 MB / 6.19 GB, free: 27.29 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01873/22.59, allocations: 1.044 MB / 6.191 GB, free: 27.17 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004359/22.6, allocations: 0.5367 MB / 6.191 GB, free: 27.17 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.007568/22.61, allocations: 0.7756 MB / 6.192 GB, free: 26.86 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007213/22.61, allocations: 1.145 MB / 6.193 GB, free: 26.25 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03537/22.65, allocations: 11.31 MB / 6.204 GB, free: 25.62 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001218/22.65, allocations: 66.72 kB / 6.204 GB, free: 25.62 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.864e-05/22.65, allocations: 6.203 kB / 6.204 GB, free: 25.62 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02226/22.67, allocations: 9.324 MB / 6.213 GB, free: 25.01 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08803/22.76, allocations: 25.41 MB / 6.238 GB, free: 16.91 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.588e-05/22.76, allocations: 17.02 kB / 6.238 GB, free: 16.91 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006252/22.77, allocations: 1.13 MB / 6.239 GB, free: 16.82 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04857/22.81, allocations: 6.42 MB / 6.245 GB, free: 15.82 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002975/22.82, allocations: 185.7 kB / 6.246 GB, free: 15.73 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9517/23.77, allocations: 17.78 MB / 6.263 GB, free: 166.4 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.389e-05/23.77, allocations: 17.53 kB / 6.263 GB, free: 166.4 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03796/23.81, allocations: 21.02 MB / 6.284 GB, free: 160.8 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01268/23.82, allocations: 2.731 MB / 6.286 GB, free: 160.1 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006109/23.83, allocations: 164.7 kB / 6.286 GB, free: 160.1 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01957/23.85, allocations: 0.7455 MB / 6.287 GB, free: 160.1 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003504/23.85, allocations: 444.5 kB / 6.288 GB, free: 160.1 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003102/23.85, allocations: 274.7 kB / 6.288 GB, free: 160.1 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.03739/23.89, allocations: 9.076 MB / 6.297 GB, free: 159.7 MB / 1.104 GB Notification: Performance of sort global known variables: time 9.62e-07/23.89, allocations: 0.8438 kB / 6.297 GB, free: 159.7 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.05019/23.94, allocations: 7.805 MB / 6.304 GB, free: 159.2 MB / 1.104 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.05181/23.99, allocations: 24.43 MB / 6.328 GB, free: 151.6 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.05317/24.05, allocations: 22.01 MB / 6.35 GB, free: 150.6 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.58e-05/24.05, allocations: 7.562 kB / 6.35 GB, free: 150.6 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01385/24.06, allocations: 5.305 MB / 6.355 GB, free: 150.2 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03869/24.1, allocations: 6.104 MB / 6.361 GB, free: 150.1 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1088/24.21, allocations: 32.2 MB / 6.392 GB, free: 144.7 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0197/24.23, allocations: 10.15 MB / 6.402 GB, free: 143.6 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.03822/24.27, allocations: 8.95 MB / 6.411 GB, free: 143 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01673/24.28, allocations: 6.051 MB / 6.417 GB, free: 142.9 MB / 1.104 GB Notification: Performance of SimCode: time 2.695e-06/24.28, allocations: 0 / 6.417 GB, free: 142.9 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.562/25.84, allocations: 415.6 MB / 6.823 GB, free: 162.9 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/25.84, allocations: 242.6 kB / 6.823 GB, free: 162.6 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.5/48.35, allocations: 0 / 6.823 GB, free: 162.6 MB / 1.104 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)