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.62/1.62, allocations: 288.2 MB / 303.2 MB, free: 8.102 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.001076/0.001076, allocations: 182.2 kB / 371.8 MB, free: 10.27 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.536/1.536, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0009578/0.0009579, allocations: 103.4 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004432, allocations: 19.67 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2377, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9765/1.214, allocations: 420.7 MB / 1.39 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/1.215, allocations: 94.33 kB / 1.39 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 19.68/20.89, allocations: 4.613 GB / 6.003 GB, free: 81.05 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.646e-06/20.89, allocations: 0 / 6.003 GB, free: 81.05 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.005166/20.9, allocations: 398.5 kB / 6.004 GB, free: 81 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.07885/20.98, allocations: 16.37 MB / 6.02 GB, free: 75.34 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/20.98, allocations: 6 kB / 6.02 GB, free: 75.34 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01104/20.99, allocations: 1.705 MB / 6.021 GB, free: 75.23 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/21.01, allocations: 1.878 MB / 6.023 GB, free: 74.34 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06053/21.07, allocations: 17.83 MB / 6.041 GB, free: 72.66 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002619/21.07, allocations: 0.9735 MB / 6.042 GB, free: 72.63 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0104/21.08, allocations: 1.301 MB / 6.043 GB, free: 72.63 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07016/21.15, allocations: 18.27 MB / 6.061 GB, free: 70.43 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001346/21.15, allocations: 51.38 kB / 6.061 GB, free: 70.42 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006775/21.16, allocations: 0.5372 MB / 6.061 GB, free: 70.42 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005491/21.16, allocations: 352.6 kB / 6.062 GB, free: 70.42 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04266/21.2, allocations: 15.61 MB / 6.077 GB, free: 70.33 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.1745/21.38, allocations: 80.83 MB / 6.156 GB, free: 52.84 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02564/21.4, allocations: 11.98 MB / 6.167 GB, free: 52.32 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08524/21.49, allocations: 28.31 MB / 6.195 GB, free: 45.71 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/21.49, allocations: 133.1 kB / 6.195 GB, free: 45.66 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0119/21.5, allocations: 0.7721 MB / 6.196 GB, free: 45.16 MB / 1.089 GB Notification: Performance of pre-optimization done (n=660): time 6.572e-05/21.5, allocations: 0 / 6.196 GB, free: 45.16 MB / 1.089 GB Notification: Performance of matching and sorting (n=660): time 0.05727/21.56, allocations: 17.99 MB / 6.214 GB, free: 42.64 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/21.56, allocations: 122.2 kB / 6.214 GB, free: 42.57 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03869/21.59, allocations: 12.03 MB / 6.225 GB, free: 41.81 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.003728/21.6, allocations: 184.8 kB / 6.226 GB, free: 41.78 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01273/21.61, allocations: 7.101 MB / 6.232 GB, free: 39 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.005365/21.62, allocations: 2.319 MB / 6.235 GB, free: 37.55 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003695/21.62, allocations: 228.5 kB / 6.235 GB, free: 37.55 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001981/21.62, allocations: 0.7808 MB / 6.236 GB, free: 37.21 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01471/21.64, allocations: 5.695 MB / 6.241 GB, free: 35.79 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01736/21.65, allocations: 9.588 MB / 6.251 GB, free: 28.87 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01662/21.67, allocations: 7.599 MB / 6.258 GB, free: 25.79 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002953/21.67, allocations: 35.19 kB / 6.258 GB, free: 25.79 MB / 1.089 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.0526/21.72, allocations: 18.43 MB / 6.276 GB, free: 18.84 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.03275/21.76, allocations: 68.62 MB / 6.343 GB, free: 10.09 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004932/21.76, allocations: 122 kB / 6.343 GB, free: 10.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1087/21.87, allocations: 11.85 MB / 6.355 GB, free: 8.496 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01138/21.88, allocations: 2.406 MB / 6.357 GB, free: 8.25 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015/22.89, allocations: 20.29 MB / 6.377 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02043/22.91, allocations: 1.106 MB / 6.378 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004823/22.92, allocations: 0.5397 MB / 6.379 GB, free: 141 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/22.92, allocations: 3.188 kB / 6.379 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05227/22.97, allocations: 17.42 MB / 6.396 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007923/22.97, allocations: 118.8 kB / 6.396 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1112/23.08, allocations: 11.86 MB / 6.407 GB, free: 140.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01314/23.1, allocations: 2.388 MB / 6.41 GB, free: 140.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/23.12, allocations: 18.52 MB / 6.428 GB, free: 130.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01912/23.13, allocations: 1.049 MB / 6.429 GB, free: 130.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00443/23.14, allocations: 0.5365 MB / 6.429 GB, free: 130.4 MB / 1.151 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.02167/23.16, allocations: 5.766 MB / 6.435 GB, free: 130.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007139/23.17, allocations: 1.15 MB / 6.436 GB, free: 130.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03932/23.21, allocations: 11.63 MB / 6.447 GB, free: 129.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001361/23.21, allocations: 66.31 kB / 6.447 GB, free: 129.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.973e-05/23.21, allocations: 3.406 kB / 6.447 GB, free: 129.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02777/23.24, allocations: 9.645 MB / 6.457 GB, free: 129.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08731/23.32, allocations: 25.83 MB / 6.482 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.319e-05/23.32, allocations: 19.17 kB / 6.482 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006469/23.33, allocations: 1.143 MB / 6.483 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05323/23.38, allocations: 6.409 MB / 6.489 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002133/23.38, allocations: 187.6 kB / 6.49 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/23.4, allocations: 17.91 MB / 6.507 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/23.4, allocations: 21.59 kB / 6.507 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03582/23.43, allocations: 21.38 MB / 6.528 GB, free: 109.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01441/23.45, allocations: 2.788 MB / 6.531 GB, free: 109.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00748/23.46, allocations: 164.1 kB / 6.531 GB, free: 109.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01548/23.47, allocations: 0.7589 MB / 6.532 GB, free: 109.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002728/23.47, allocations: 445.1 kB / 6.532 GB, free: 109.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002784/23.48, allocations: 296.9 kB / 6.532 GB, free: 109.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02656/23.5, allocations: 9.2 MB / 6.541 GB, free: 108.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.392e-06/23.5, allocations: 0 / 6.541 GB, free: 108.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0514/23.55, allocations: 7.899 MB / 6.549 GB, free: 108.3 MB / 1.151 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.04846/23.6, allocations: 24.82 MB / 6.573 GB, free: 100.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.05959/23.66, allocations: 22.08 MB / 6.595 GB, free: 99.69 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.534e-05/23.66, allocations: 13.22 kB / 6.595 GB, free: 99.69 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01294/23.68, allocations: 5.432 MB / 6.6 GB, free: 99.14 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03494/23.71, allocations: 6.142 MB / 6.606 GB, free: 99.05 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.158/23.87, allocations: 133.9 MB / 6.737 GB, free: 23.59 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03029/23.9, allocations: 10.14 MB / 6.747 GB, free: 22.33 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.035/23.93, allocations: 6.146 MB / 6.753 GB, free: 21.79 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02085/23.95, allocations: 6.25 MB / 6.759 GB, free: 20.88 MB / 1.182 GB Notification: Performance of SimCode: time 1.453e-06/23.95, allocations: 0 / 6.759 GB, free: 20.88 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.249/26.2, allocations: 398.8 MB / 7.148 GB, free: 81.27 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/26.2, allocations: 275 kB / 7.149 GB, free: 80.91 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.33/47.53, allocations: 0 / 7.149 GB, free: 80.91 MB / 1.182 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)