Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001117/0.001117, allocations: 173.1 kB / 377.1 MB, free: 1.531 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.879/1.879, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.0009661/0.0009661, allocations: 97.45 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003746, allocations: 16 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2946, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.782/2.077, allocations: 421.7 MB / 1.4 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/2.077, allocations: 95.59 kB / 1.4 GB, free: 254.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 18.1/20.17, allocations: 4.613 GB / 6.013 GB, free: 88.79 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.446e-06/20.17, allocations: 0 / 6.013 GB, free: 88.79 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.005025/20.18, allocations: 399.6 kB / 6.014 GB, free: 88.74 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.08639/20.26, allocations: 16.37 MB / 6.03 GB, free: 82.93 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/20.26, allocations: 10.81 kB / 6.03 GB, free: 82.93 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01425/20.28, allocations: 1.704 MB / 6.031 GB, free: 82.82 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02106/20.3, allocations: 1.881 MB / 6.033 GB, free: 81.92 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05888/20.36, allocations: 17.83 MB / 6.05 GB, free: 80.25 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001828/20.36, allocations: 0.9712 MB / 6.051 GB, free: 80.22 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00924/20.37, allocations: 1.301 MB / 6.053 GB, free: 80.21 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06951/20.44, allocations: 18.28 MB / 6.071 GB, free: 78.01 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001377/20.44, allocations: 49.67 kB / 6.071 GB, free: 78 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007728/20.45, allocations: 0.5329 MB / 6.071 GB, free: 78 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005839/20.45, allocations: 347.6 kB / 6.071 GB, free: 78 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04545/20.5, allocations: 15.61 MB / 6.087 GB, free: 77.91 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.1808/20.68, allocations: 80.82 MB / 6.166 GB, free: 43.96 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02545/20.7, allocations: 11.98 MB / 6.177 GB, free: 43.37 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08742/20.79, allocations: 28.32 MB / 6.205 GB, free: 50.72 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/20.79, allocations: 122.4 kB / 6.205 GB, free: 50.62 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01385/20.8, allocations: 0.778 MB / 6.206 GB, free: 50 MB / 1.089 GB Notification: Performance of pre-optimization done (n=660): time 4.752e-05/20.8, allocations: 0 / 6.206 GB, free: 50 MB / 1.089 GB Notification: Performance of matching and sorting (n=660): time 0.05404/20.86, allocations: 17.99 MB / 6.223 GB, free: 42.84 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/20.86, allocations: 120.2 kB / 6.224 GB, free: 42.77 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03575/20.89, allocations: 12.03 MB / 6.235 GB, free: 38.52 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.003501/20.9, allocations: 181.5 kB / 6.235 GB, free: 38.37 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01128/20.91, allocations: 7.103 MB / 6.242 GB, free: 32.93 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.00475/20.91, allocations: 2.319 MB / 6.245 GB, free: 31.15 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00354/20.92, allocations: 230.4 kB / 6.245 GB, free: 30.97 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001436/20.92, allocations: 0.7856 MB / 6.246 GB, free: 30.45 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01219/20.93, allocations: 5.695 MB / 6.251 GB, free: 28.38 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01573/20.95, allocations: 9.587 MB / 6.261 GB, free: 21.29 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/20.96, allocations: 7.593 MB / 6.268 GB, free: 18.07 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002005/20.96, allocations: 35.25 kB / 6.268 GB, free: 18.07 MB / 1.089 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05181/21.01, allocations: 18.44 MB / 6.286 GB, free: 10.7 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.065/22.08, allocations: 68.61 MB / 6.353 GB, free: 105.1 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005636/22.08, allocations: 120.6 kB / 6.353 GB, free: 105.1 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1133/22.19, allocations: 11.85 MB / 6.365 GB, free: 105 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01383/22.21, allocations: 2.412 MB / 6.367 GB, free: 105 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/22.22, allocations: 20.3 MB / 6.387 GB, free: 93.09 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02128/22.25, allocations: 1.105 MB / 6.388 GB, free: 93.09 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004549/22.25, allocations: 0.5383 MB / 6.389 GB, free: 93.09 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/22.25, allocations: 5.062 kB / 6.389 GB, free: 93.09 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04722/22.3, allocations: 17.42 MB / 6.406 GB, free: 92.76 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008729/22.3, allocations: 129.5 kB / 6.406 GB, free: 92.76 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1086/22.41, allocations: 11.86 MB / 6.417 GB, free: 92.63 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01179/22.42, allocations: 2.388 MB / 6.42 GB, free: 92.63 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/22.44, allocations: 18.52 MB / 6.438 GB, free: 82.44 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01968/22.46, allocations: 1.053 MB / 6.439 GB, free: 82.44 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004992/22.46, allocations: 0.5401 MB / 6.439 GB, free: 82.44 MB / 1.12 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.02137/22.48, allocations: 5.761 MB / 6.445 GB, free: 82.25 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008794/22.49, allocations: 1.154 MB / 6.446 GB, free: 82.25 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04313/22.54, allocations: 11.63 MB / 6.457 GB, free: 81.75 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001544/22.54, allocations: 68.27 kB / 6.457 GB, free: 81.75 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.567e-05/22.54, allocations: 4.312 kB / 6.457 GB, free: 81.75 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02592/22.56, allocations: 9.64 MB / 6.467 GB, free: 81.17 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08029/22.64, allocations: 25.83 MB / 6.492 GB, free: 79.85 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-05/22.64, allocations: 17.72 kB / 6.492 GB, free: 79.85 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006392/22.65, allocations: 1.138 MB / 6.493 GB, free: 79.85 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05739/22.71, allocations: 6.41 MB / 6.499 GB, free: 79.63 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002143/22.71, allocations: 188.8 kB / 6.5 GB, free: 79.63 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01484/22.72, allocations: 17.9 MB / 6.517 GB, free: 67.61 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/22.72, allocations: 18.56 kB / 6.517 GB, free: 67.61 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04/22.76, allocations: 21.38 MB / 6.538 GB, free: 61.54 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01255/22.78, allocations: 2.796 MB / 6.541 GB, free: 60.82 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006588/22.78, allocations: 161.6 kB / 6.541 GB, free: 60.82 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01822/22.8, allocations: 0.7567 MB / 6.542 GB, free: 60.75 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003646/22.81, allocations: 452.7 kB / 6.542 GB, free: 60.71 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003184/22.81, allocations: 293.9 kB / 6.542 GB, free: 60.71 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02395/22.83, allocations: 9.194 MB / 6.551 GB, free: 60.39 MB / 1.12 GB Notification: Performance of sort global known variables: time 4.21e-07/22.83, allocations: 0 / 6.551 GB, free: 60.39 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.04947/22.88, allocations: 7.903 MB / 6.559 GB, free: 59.87 MB / 1.12 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.04927/22.93, allocations: 24.82 MB / 6.583 GB, free: 52 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.05349/22.99, allocations: 22.08 MB / 6.605 GB, free: 50.16 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.989e-05/22.99, allocations: 8.25 kB / 6.605 GB, free: 50.16 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01374/23, allocations: 5.434 MB / 6.61 GB, free: 49.59 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0371/23.04, allocations: 6.128 MB / 6.616 GB, free: 49.25 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.18/23.22, allocations: 133.9 MB / 6.747 GB, free: 19.73 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02505/23.24, allocations: 10.13 MB / 6.757 GB, free: 16.65 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.03211/23.27, allocations: 6.156 MB / 6.763 GB, free: 13.54 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02106/23.29, allocations: 6.251 MB / 6.769 GB, free: 7.727 MB / 1.198 GB Notification: Performance of SimCode: time 3.046e-06/23.29, allocations: 0.75 kB / 6.769 GB, free: 7.727 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.251/25.55, allocations: 399 MB / 7.158 GB, free: 47.96 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/25.55, allocations: 259.1 kB / 7.159 GB, free: 47.61 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.18/47.73, allocations: 0 / 7.159 GB, free: 47.61 MB / 1.198 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)