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.727/1.727, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001062/0.001061, allocations: 184.3 kB / 361.4 MB, free: 6.82 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.554/1.554, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008957/0.0008957, allocations: 93.69 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.102e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.727/0.727, allocations: 115.3 MB / 0.9644 GB, free: 79.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.832, allocations: 419.9 MB / 1.375 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/1.832, allocations: 96.16 kB / 1.375 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 20.07/21.9, allocations: 4.578 GB / 5.953 GB, free: 91.47 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.276e-06/21.9, allocations: 0 / 5.953 GB, free: 91.47 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.004105/21.9, allocations: 393.7 kB / 5.953 GB, free: 91.42 MB / 1.057 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.05149/21.95, allocations: 13.65 MB / 5.967 GB, free: 86.51 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/21.95, allocations: 10.78 kB / 5.967 GB, free: 86.51 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/21.97, allocations: 1.875 MB / 5.968 GB, free: 85.62 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04904/22.02, allocations: 17.74 MB / 5.986 GB, free: 83.89 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009912/22.02, allocations: 403.7 kB / 5.986 GB, free: 83.89 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007367/22.03, allocations: 0.763 MB / 5.987 GB, free: 83.89 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04042/22.07, allocations: 14.46 MB / 6.001 GB, free: 83.83 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05442/22.12, allocations: 16.14 MB / 6.017 GB, free: 81.61 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008784/22.12, allocations: 45.03 kB / 6.017 GB, free: 81.58 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005537/22.13, allocations: 24.72 kB / 6.017 GB, free: 81.58 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003552/22.13, allocations: 354 kB / 6.017 GB, free: 81.58 MB / 1.057 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.1429/22.27, allocations: 78.53 MB / 6.094 GB, free: 32.85 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0172/22.29, allocations: 11.3 MB / 6.105 GB, free: 24.43 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008505/22.3, allocations: 5.814 MB / 6.111 GB, free: 19.25 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06423/22.36, allocations: 28.32 MB / 6.138 GB, free: 11.43 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/22.36, allocations: 120.5 kB / 6.138 GB, free: 11.3 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009482/22.37, allocations: 0.5538 MB / 6.139 GB, free: 10.73 MB / 1.073 GB Notification: Performance of pre-optimization done (n=651): time 6.074e-05/22.37, allocations: 0 / 6.139 GB, free: 10.73 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 0.02994/22.4, allocations: 10.47 MB / 6.149 GB, free: 1.23 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.005e-05/22.4, allocations: 116.5 kB / 6.149 GB, free: 1.102 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9579/23.36, allocations: 10.71 MB / 6.16 GB, free: 124.1 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002891/23.36, allocations: 33.05 kB / 6.16 GB, free: 124.1 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.009988/23.37, allocations: 7.071 MB / 6.167 GB, free: 122.7 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.004548/23.38, allocations: 2.203 MB / 6.169 GB, free: 121.6 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002073/23.38, allocations: 0 / 6.169 GB, free: 121.6 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001063/23.38, allocations: 0.7724 MB / 6.17 GB, free: 121.3 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/23.39, allocations: 5.354 MB / 6.175 GB, free: 121.2 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01558/23.4, allocations: 9.171 MB / 6.184 GB, free: 116.7 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02477/23.43, allocations: 9.466 MB / 6.193 GB, free: 116.6 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003366/23.43, allocations: 37.62 kB / 6.193 GB, free: 116.6 MB / 1.073 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.06019/23.49, allocations: 19.09 MB / 6.212 GB, free: 115.7 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.01632/23.51, allocations: 66.74 MB / 6.277 GB, free: 46.44 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007751/23.51, allocations: 121.1 kB / 6.277 GB, free: 46.44 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01467/23.52, allocations: 4.031 MB / 6.281 GB, free: 46.3 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01322/23.54, allocations: 2.404 MB / 6.283 GB, free: 46.3 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02779/23.56, allocations: 20.64 MB / 6.303 GB, free: 50.39 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01806/23.58, allocations: 0.8703 MB / 6.304 GB, free: 50.3 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004293/23.59, allocations: 0.5407 MB / 6.305 GB, free: 50.3 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/23.59, allocations: 5.281 kB / 6.305 GB, free: 50.3 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04935/23.63, allocations: 17.9 MB / 6.322 GB, free: 49.98 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007108/23.64, allocations: 121.2 kB / 6.322 GB, free: 49.98 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01292/23.65, allocations: 4.047 MB / 6.326 GB, free: 49.84 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0115/23.66, allocations: 2.374 MB / 6.329 GB, free: 49.84 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02403/23.68, allocations: 18.84 MB / 6.347 GB, free: 39.67 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0168/23.7, allocations: 0.8177 MB / 6.348 GB, free: 39.6 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004313/23.71, allocations: 0.5399 MB / 6.348 GB, free: 39.6 MB / 1.089 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.006536/23.71, allocations: 450.4 kB / 6.349 GB, free: 39.33 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03436/23.75, allocations: 10.42 MB / 6.359 GB, free: 38.37 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006326/23.75, allocations: 1.091 MB / 6.36 GB, free: 37.78 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04144/23.79, allocations: 11.44 MB / 6.371 GB, free: 53.2 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001531/23.79, allocations: 70.31 kB / 6.371 GB, free: 53.2 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-05/23.79, allocations: 5.516 kB / 6.371 GB, free: 53.2 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.032/23.83, allocations: 9.656 MB / 6.381 GB, free: 52.6 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08592/23.91, allocations: 24.29 MB / 6.404 GB, free: 51.28 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-05/23.91, allocations: 19.33 kB / 6.404 GB, free: 51.27 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006384/23.92, allocations: 1.126 MB / 6.406 GB, free: 51.22 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008434/23.93, allocations: 2.476 MB / 6.408 GB, free: 51.09 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002204/23.93, allocations: 98.61 kB / 6.408 GB, free: 51.09 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/23.95, allocations: 17.93 MB / 6.426 GB, free: 39.16 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-05/23.95, allocations: 18.78 kB / 6.426 GB, free: 39.16 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04426/23.99, allocations: 20.97 MB / 6.446 GB, free: 33.3 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01211/24, allocations: 2.713 MB / 6.449 GB, free: 32.61 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008383/24.01, allocations: 48.69 kB / 6.449 GB, free: 32.61 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01451/24.03, allocations: 0.6298 MB / 6.449 GB, free: 32.56 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002696/24.03, allocations: 446.4 kB / 6.45 GB, free: 32.53 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002668/24.03, allocations: 292.8 kB / 6.45 GB, free: 32.53 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02482/24.06, allocations: 7.998 MB / 6.458 GB, free: 32 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.192e-06/24.06, allocations: 0 / 6.458 GB, free: 32 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.04911/24.11, allocations: 7.53 MB / 6.465 GB, free: 30.72 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.05345/24.16, allocations: 24.5 MB / 6.489 GB, free: 33.39 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.05112/24.21, allocations: 20.62 MB / 6.509 GB, free: 25.65 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.532e-05/24.21, allocations: 8.594 kB / 6.509 GB, free: 25.65 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01145/24.22, allocations: 4.956 MB / 6.514 GB, free: 23.68 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03614/24.26, allocations: 5.365 MB / 6.519 GB, free: 22.71 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1023/24.36, allocations: 31.52 MB / 6.55 GB, free: 12.28 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02342/24.39, allocations: 10.15 MB / 6.56 GB, free: 4.844 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.03975/24.43, allocations: 8.62 MB / 6.568 GB, free: 0 / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.9347/25.36, allocations: 6.754 MB / 6.575 GB, free: 158.2 MB / 1.135 GB Notification: Performance of SimCode: time 1.973e-06/25.36, allocations: 1.422 kB / 6.575 GB, free: 158.2 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6336/25.99, allocations: 369.6 MB / 6.936 GB, free: 12.16 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/25.99, allocations: 194.4 kB / 6.936 GB, free: 11.95 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.67/47.66, allocations: 3.938 kB / 6.936 GB, free: 11.94 MB / 1.135 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)