Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.517/2.517, allocations: 287.3 MB / 302.3 MB, free: 8.438 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.001569/0.001568, allocations: 179.2 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001249/0.001248, allocations: 89.67 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006486, allocations: 12.08 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.226, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.547, allocations: 420.5 MB / 1.389 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/1.547, allocations: 97.2 kB / 1.389 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 25.91/27.46, allocations: 4.613 GB / 6.002 GB, free: 74.29 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.576e-06/27.46, allocations: 4.062 kB / 6.002 GB, free: 74.29 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.003642/27.46, allocations: 393.4 kB / 6.002 GB, free: 74.24 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.08883/27.55, allocations: 16.37 MB / 6.018 GB, free: 68.62 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.548e-05/27.55, allocations: 12.12 kB / 6.018 GB, free: 68.62 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01063/27.56, allocations: 1.713 MB / 6.02 GB, free: 68.51 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/27.57, allocations: 1.88 MB / 6.022 GB, free: 67.61 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07059/27.65, allocations: 17.83 MB / 6.039 GB, free: 65.94 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001784/27.65, allocations: 0.9744 MB / 6.04 GB, free: 65.91 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007639/27.65, allocations: 1.301 MB / 6.041 GB, free: 65.91 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07125/27.73, allocations: 18.28 MB / 6.059 GB, free: 63.71 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001182/27.73, allocations: 52.38 kB / 6.059 GB, free: 63.7 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007303/27.73, allocations: 0.5278 MB / 6.06 GB, free: 63.7 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005465/27.74, allocations: 353.5 kB / 6.06 GB, free: 63.7 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05352/27.79, allocations: 15.61 MB / 6.075 GB, free: 63.61 MB / 1.073 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.2009/27.99, allocations: 80.81 MB / 6.154 GB, free: 46.12 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03076/28.02, allocations: 11.98 MB / 6.166 GB, free: 45.62 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09593/28.12, allocations: 28.31 MB / 6.194 GB, free: 39 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/28.12, allocations: 125.5 kB / 6.194 GB, free: 38.95 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01146/28.13, allocations: 0.7805 MB / 6.195 GB, free: 38.45 MB / 1.089 GB Notification: Performance of pre-optimization done (n=660): time 2.94e-05/28.13, allocations: 0 / 6.195 GB, free: 38.45 MB / 1.089 GB Notification: Performance of matching and sorting (n=660): time 0.07061/28.2, allocations: 17.99 MB / 6.212 GB, free: 35.92 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/28.2, allocations: 118.3 kB / 6.212 GB, free: 35.85 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03585/28.23, allocations: 12.03 MB / 6.224 GB, free: 35.09 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002793/28.24, allocations: 184 kB / 6.224 GB, free: 35.06 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01046/28.25, allocations: 7.099 MB / 6.231 GB, free: 32.29 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.004704/28.25, allocations: 2.323 MB / 6.233 GB, free: 30.83 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0033/28.26, allocations: 230 kB / 6.234 GB, free: 30.83 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.00154/28.26, allocations: 0.781 MB / 6.234 GB, free: 30.5 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0168/28.27, allocations: 5.696 MB / 6.24 GB, free: 30.47 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02106/28.3, allocations: 9.587 MB / 6.249 GB, free: 25.89 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02093/28.32, allocations: 7.602 MB / 6.257 GB, free: 23.7 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/28.32, allocations: 33.56 kB / 6.257 GB, free: 23.7 MB / 1.089 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05977/28.38, allocations: 18.43 MB / 6.275 GB, free: 16.98 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.02823/28.41, allocations: 68.62 MB / 6.342 GB, free: 8.227 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005383/28.41, allocations: 121.9 kB / 6.342 GB, free: 8.227 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1893/28.6, allocations: 11.86 MB / 6.353 GB, free: 6.629 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01877/28.61, allocations: 2.409 MB / 6.356 GB, free: 6.383 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02783/28.64, allocations: 20.31 MB / 6.376 GB, free: 6.895 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02297/28.66, allocations: 1.102 MB / 6.377 GB, free: 6.578 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003764/28.67, allocations: 0.5383 MB / 6.377 GB, free: 6.488 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/28.67, allocations: 3.906 kB / 6.377 GB, free: 6.488 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.037/29.71, allocations: 17.41 MB / 6.394 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006493/29.71, allocations: 119.9 kB / 6.394 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1952/29.9, allocations: 11.86 MB / 6.406 GB, free: 154 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01854/29.92, allocations: 2.393 MB / 6.408 GB, free: 154 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02594/29.95, allocations: 18.51 MB / 6.426 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0211/29.97, allocations: 1.054 MB / 6.427 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004205/29.97, allocations: 0.54 MB / 6.428 GB, free: 143.8 MB / 1.167 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.02114/29.99, allocations: 5.759 MB / 6.434 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006464/30, allocations: 1.155 MB / 6.435 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04579/30.05, allocations: 11.63 MB / 6.446 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001611/30.05, allocations: 72.5 kB / 6.446 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/30.05, allocations: 6.875 kB / 6.446 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03314/30.08, allocations: 9.639 MB / 6.456 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0876/30.17, allocations: 25.84 MB / 6.481 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.436e-05/30.17, allocations: 14.66 kB / 6.481 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01081/30.18, allocations: 1.139 MB / 6.482 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09631/30.27, allocations: 6.416 MB / 6.488 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001953/30.28, allocations: 186.8 kB / 6.488 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/30.3, allocations: 17.9 MB / 6.506 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.751e-05/30.3, allocations: 21.66 kB / 6.506 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04983/30.35, allocations: 21.38 MB / 6.527 GB, free: 123.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0133/30.36, allocations: 2.794 MB / 6.529 GB, free: 122.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006416/30.37, allocations: 163.1 kB / 6.53 GB, free: 122.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01749/30.38, allocations: 0.7584 MB / 6.53 GB, free: 122.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002378/30.38, allocations: 449.5 kB / 6.531 GB, free: 122.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001992/30.39, allocations: 293.7 kB / 6.531 GB, free: 122.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02684/30.41, allocations: 9.196 MB / 6.54 GB, free: 122.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.51e-07/30.41, allocations: 3 kB / 6.54 GB, free: 122.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.04707/30.46, allocations: 7.898 MB / 6.548 GB, free: 121.9 MB / 1.167 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.05755/30.52, allocations: 24.82 MB / 6.572 GB, free: 114.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.06609/30.58, allocations: 22.09 MB / 6.594 GB, free: 113.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.058e-05/30.58, allocations: 7.656 kB / 6.594 GB, free: 113.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.01736/30.6, allocations: 5.429 MB / 6.599 GB, free: 112.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05174/30.65, allocations: 6.123 MB / 6.605 GB, free: 112.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.157/30.81, allocations: 133.9 MB / 6.736 GB, free: 21.74 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02719/30.84, allocations: 10.12 MB / 6.745 GB, free: 20.48 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.04205/30.88, allocations: 6.15 MB / 6.751 GB, free: 19.99 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02298/30.9, allocations: 6.252 MB / 6.758 GB, free: 19.98 MB / 1.182 GB Notification: Performance of SimCode: time 2.154e-06/30.9, allocations: 0 / 6.758 GB, free: 19.98 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.88/33.78, allocations: 398.8 MB / 7.147 GB, free: 98.54 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/33.78, allocations: 271 kB / 7.147 GB, free: 98.18 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.23/57.01, allocations: 0 / 7.147 GB, free: 98.18 MB / 1.182 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)