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.351/1.351, allocations: 251.9 MB / 266.8 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 184.4 kB / 326.5 MB, free: 2.215 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.632/1.632, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0009313/0.0009312, allocations: 93.09 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003545, allocations: 9.719 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.228, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8729/1.101, allocations: 413.1 MB / 1.304 GB, free: 2.605 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.101, allocations: 96.2 kB / 1.304 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 17.31/18.41, allocations: 4.489 GB / 5.793 GB, free: 105.8 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.635e-06/18.41, allocations: 0 / 5.793 GB, free: 105.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.002972/18.41, allocations: 395.8 kB / 5.793 GB, free: 105.7 MB / 1.01 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.07355/18.49, allocations: 16.36 MB / 5.809 GB, free: 99.8 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/18.49, allocations: 10.53 kB / 5.809 GB, free: 99.8 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01359/18.5, allocations: 1.697 MB / 5.811 GB, free: 99.68 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/18.52, allocations: 1.876 MB / 5.812 GB, free: 98.79 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0587/18.58, allocations: 17.77 MB / 5.83 GB, free: 97.07 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001919/18.58, allocations: 0.9795 MB / 5.831 GB, free: 97.04 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008667/18.59, allocations: 1.304 MB / 5.832 GB, free: 97.03 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06832/18.65, allocations: 18.17 MB / 5.85 GB, free: 94.77 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001227/18.66, allocations: 48.53 kB / 5.85 GB, free: 94.77 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007288/18.66, allocations: 0.5291 MB / 5.85 GB, free: 94.77 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005534/18.66, allocations: 355.5 kB / 5.851 GB, free: 94.77 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04846/18.71, allocations: 15.61 MB / 5.866 GB, free: 94.54 MB / 1.01 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.1931/18.91, allocations: 80.72 MB / 5.945 GB, free: 58.51 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02237/18.93, allocations: 11.98 MB / 5.956 GB, free: 53.44 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07713/19.01, allocations: 28.17 MB / 5.984 GB, free: 38.57 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/19.01, allocations: 117 kB / 5.984 GB, free: 38.47 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01161/19.02, allocations: 0.774 MB / 5.985 GB, free: 37.86 MB / 1.01 GB Notification: Performance of pre-optimization done (n=660): time 3.599e-05/19.02, allocations: 5.781 kB / 5.985 GB, free: 37.85 MB / 1.01 GB Notification: Performance of matching and sorting (n=660): time 0.04962/19.07, allocations: 17.98 MB / 6.002 GB, free: 27.44 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/19.07, allocations: 120.6 kB / 6.003 GB, free: 27.31 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03159/19.1, allocations: 12.03 MB / 6.014 GB, free: 17.31 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.00285/19.1, allocations: 185.7 kB / 6.014 GB, free: 17.12 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.009215/19.11, allocations: 7.1 MB / 6.021 GB, free: 10.74 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.004301/19.12, allocations: 2.323 MB / 6.024 GB, free: 8.641 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002632/19.12, allocations: 232 kB / 6.024 GB, free: 8.414 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001134/19.12, allocations: 0.7765 MB / 6.025 GB, free: 7.766 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01174/19.13, allocations: 5.696 MB / 6.03 GB, free: 3.074 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.9124/20.04, allocations: 10.22 MB / 6.04 GB, free: 111.1 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01927/20.06, allocations: 7.593 MB / 6.048 GB, free: 111 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003338/20.06, allocations: 34.31 kB / 6.048 GB, free: 111 MB / 1.01 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05605/20.12, allocations: 18.43 MB / 6.066 GB, free: 110.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.02156/20.14, allocations: 68.61 MB / 6.133 GB, free: 55.47 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008074/20.14, allocations: 125.4 kB / 6.133 GB, free: 55.47 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1094/20.25, allocations: 11.86 MB / 6.144 GB, free: 55.34 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01229/20.26, allocations: 2.405 MB / 6.147 GB, free: 55.34 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02337/20.29, allocations: 20.31 MB / 6.167 GB, free: 59.4 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01952/20.31, allocations: 1.104 MB / 6.168 GB, free: 59.4 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005032/20.31, allocations: 0.5405 MB / 6.168 GB, free: 59.4 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/20.31, allocations: 6.156 kB / 6.168 GB, free: 59.4 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05103/20.36, allocations: 17.42 MB / 6.185 GB, free: 58.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005833/20.36, allocations: 120.4 kB / 6.185 GB, free: 58.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1062/20.47, allocations: 11.87 MB / 6.197 GB, free: 57.58 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0117/20.48, allocations: 2.384 MB / 6.199 GB, free: 57.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/20.5, allocations: 18.52 MB / 6.217 GB, free: 47.08 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01677/20.52, allocations: 1.051 MB / 6.218 GB, free: 47.04 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004014/20.52, allocations: 0.54 MB / 6.219 GB, free: 47.04 MB / 1.042 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 (1242): * Single equations (assignments): 1224 * 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.01702/20.54, allocations: 5.762 MB / 6.224 GB, free: 46.68 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005605/20.54, allocations: 1.148 MB / 6.226 GB, free: 46.25 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03391/20.58, allocations: 11.63 MB / 6.237 GB, free: 45.64 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001096/20.58, allocations: 63.12 kB / 6.237 GB, free: 45.64 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.009e-05/20.58, allocations: 6.812 kB / 6.237 GB, free: 45.64 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02246/20.6, allocations: 9.632 MB / 6.246 GB, free: 45 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07377/20.67, allocations: 25.69 MB / 6.272 GB, free: 43.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.646e-05/20.67, allocations: 11.44 kB / 6.272 GB, free: 43.53 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006582/20.68, allocations: 1.138 MB / 6.273 GB, free: 43.47 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05318/20.73, allocations: 6.419 MB / 6.279 GB, free: 43.02 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001999/20.74, allocations: 194.2 kB / 6.279 GB, free: 43.01 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/20.75, allocations: 17.9 MB / 6.297 GB, free: 46.88 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/20.75, allocations: 23.62 kB / 6.297 GB, free: 46.87 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03864/20.79, allocations: 21.38 MB / 6.317 GB, free: 40.7 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01337/20.8, allocations: 2.749 MB / 6.32 GB, free: 39.98 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006625/20.81, allocations: 162.1 kB / 6.32 GB, free: 39.98 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01462/20.83, allocations: 0.7551 MB / 6.321 GB, free: 39.92 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002705/20.83, allocations: 450.3 kB / 6.321 GB, free: 39.88 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002406/20.83, allocations: 273.6 kB / 6.322 GB, free: 39.88 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.02508/20.86, allocations: 9.198 MB / 6.331 GB, free: 39.56 MB / 1.057 GB Notification: Performance of sort global known variables: time 6.01e-07/20.86, allocations: 0 / 6.331 GB, free: 39.56 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.04864/20.9, allocations: 7.813 MB / 6.338 GB, free: 39.04 MB / 1.057 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 (570): * Single equations (assignments): 546 * 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.04861/20.95, allocations: 24.79 MB / 6.363 GB, free: 29.37 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.05216/21.01, allocations: 22.08 MB / 6.384 GB, free: 20.37 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.37e-05/21.01, allocations: 10.64 kB / 6.384 GB, free: 20.36 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01212/21.02, allocations: 5.422 MB / 6.389 GB, free: 15.68 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03313/21.05, allocations: 6.109 MB / 6.395 GB, free: 11.34 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.751/22.8, allocations: 133.8 MB / 6.526 GB, free: 64.63 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0294/22.83, allocations: 10.13 MB / 6.536 GB, free: 63.55 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.03448/22.87, allocations: 6.116 MB / 6.542 GB, free: 63.41 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02033/22.89, allocations: 6.244 MB / 6.548 GB, free: 63.41 MB / 1.073 GB Notification: Performance of SimCode: time 1.546e-05/22.89, allocations: 2.938 kB / 6.548 GB, free: 63.41 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.37/24.26, allocations: 396.6 MB / 6.935 GB, free: 179.8 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/24.26, allocations: 278 kB / 6.936 GB, free: 179.4 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.71/43.96, allocations: 4 kB / 6.936 GB, free: 179.4 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)