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.684/1.684, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001141/0.001141, allocations: 177 kB / 371.6 MB, free: 3.414 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.648/1.648, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009398/0.0009398, allocations: 88.83 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.225e-05/4.227e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3271, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.13/2.457, allocations: 421.6 MB / 1.392 GB, free: 258.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/2.457, allocations: 90.31 kB / 1.392 GB, free: 258.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 20.71/23.17, allocations: 4.6 GB / 5.992 GB, free: 82.46 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.455e-06/23.17, allocations: 0 / 5.992 GB, free: 82.46 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.003559/23.17, allocations: 397.9 kB / 5.992 GB, free: 82.41 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.05744/23.23, allocations: 13.65 MB / 6.006 GB, free: 77.62 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/23.23, allocations: 8.25 kB / 6.006 GB, free: 77.62 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0106/23.24, allocations: 1.689 MB / 6.007 GB, free: 77.5 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01652/23.26, allocations: 1.871 MB / 6.009 GB, free: 76.61 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05687/23.32, allocations: 17.75 MB / 6.026 GB, free: 74.93 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001814/23.32, allocations: 0.9825 MB / 6.027 GB, free: 74.9 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00821/23.33, allocations: 1.294 MB / 6.029 GB, free: 74.89 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06422/23.39, allocations: 18.06 MB / 6.046 GB, free: 72.69 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008086/23.39, allocations: 48.33 kB / 6.046 GB, free: 72.69 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005984/23.4, allocations: 0.5292 MB / 6.047 GB, free: 72.69 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005023/23.4, allocations: 354 kB / 6.047 GB, free: 72.69 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0418/23.44, allocations: 15.33 MB / 6.062 GB, free: 72.59 MB / 1.073 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.1494/23.59, allocations: 80.81 MB / 6.141 GB, free: 39.12 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01984/23.61, allocations: 11.86 MB / 6.153 GB, free: 38.59 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01075/23.62, allocations: 6.04 MB / 6.159 GB, free: 38.51 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08025/23.7, allocations: 28.77 MB / 6.187 GB, free: 47.81 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/23.7, allocations: 119.8 kB / 6.187 GB, free: 47.76 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01197/23.71, allocations: 0.7749 MB / 6.187 GB, free: 47.27 MB / 1.089 GB Notification: Performance of pre-optimization done (n=651): time 4.313e-05/23.71, allocations: 4 kB / 6.187 GB, free: 47.26 MB / 1.089 GB Notification: Performance of matching and sorting (n=651): time 0.03309/23.75, allocations: 10.15 MB / 6.197 GB, free: 46.29 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/23.75, allocations: 117.9 kB / 6.197 GB, free: 46.22 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03792/23.78, allocations: 11.92 MB / 6.209 GB, free: 45.36 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.003353/23.79, allocations: 182.5 kB / 6.209 GB, free: 45.21 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01158/23.8, allocations: 7.116 MB / 6.216 GB, free: 39.76 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.005192/23.8, allocations: 2.293 MB / 6.218 GB, free: 38 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003149/23.81, allocations: 230.4 kB / 6.219 GB, free: 37.82 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001844/23.81, allocations: 0.7721 MB / 6.219 GB, free: 37.32 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01336/23.82, allocations: 5.574 MB / 6.225 GB, free: 35.25 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01933/23.84, allocations: 9.454 MB / 6.234 GB, free: 28.23 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/23.86, allocations: 7.508 MB / 6.241 GB, free: 25.44 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002107/23.86, allocations: 35.53 kB / 6.242 GB, free: 25.44 MB / 1.089 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05489/23.91, allocations: 18.19 MB / 6.259 GB, free: 18.69 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.03337/23.95, allocations: 68.61 MB / 6.326 GB, free: 9.945 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004508/23.95, allocations: 121 kB / 6.326 GB, free: 9.945 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1431/24.09, allocations: 11.87 MB / 6.338 GB, free: 8.344 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0116/24.1, allocations: 2.397 MB / 6.34 GB, free: 8.098 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115/25.22, allocations: 20.16 MB / 6.36 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02249/25.24, allocations: 1.095 MB / 6.361 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00518/25.25, allocations: 0.5396 MB / 6.362 GB, free: 143.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/25.25, allocations: 6.156 kB / 6.362 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05265/25.3, allocations: 17.17 MB / 6.378 GB, free: 143 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006642/25.3, allocations: 121.3 kB / 6.378 GB, free: 143 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09341/25.39, allocations: 11.88 MB / 6.39 GB, free: 142.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/25.4, allocations: 2.372 MB / 6.392 GB, free: 142.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/25.42, allocations: 18.38 MB / 6.41 GB, free: 132.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01771/25.44, allocations: 1.041 MB / 6.411 GB, free: 132.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00431/25.44, allocations: 0.5393 MB / 6.412 GB, free: 132.7 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 () * 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.006728/25.45, allocations: 0.7794 MB / 6.413 GB, free: 132.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00573/25.46, allocations: 1.149 MB / 6.414 GB, free: 132.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02822/25.48, allocations: 11.31 MB / 6.425 GB, free: 132.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/25.48, allocations: 67.59 kB / 6.425 GB, free: 132.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.319e-05/25.48, allocations: 5.672 kB / 6.425 GB, free: 132.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02004/25.5, allocations: 9.321 MB / 6.434 GB, free: 131.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07626/25.58, allocations: 25.56 MB / 6.459 GB, free: 130.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.307e-05/25.58, allocations: 13.41 kB / 6.459 GB, free: 130.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00605/25.59, allocations: 1.136 MB / 6.46 GB, free: 130.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04767/25.63, allocations: 6.42 MB / 6.466 GB, free: 130 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00221/25.64, allocations: 183.4 kB / 6.467 GB, free: 130 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/25.65, allocations: 17.78 MB / 6.484 GB, free: 118 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/25.65, allocations: 19.31 kB / 6.484 GB, free: 118 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03916/25.69, allocations: 21.03 MB / 6.504 GB, free: 111.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0146/25.7, allocations: 2.78 MB / 6.507 GB, free: 111.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008931/25.71, allocations: 164 kB / 6.507 GB, free: 111.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.017/25.73, allocations: 0.7491 MB / 6.508 GB, free: 111.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002689/25.73, allocations: 443 kB / 6.508 GB, free: 111.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001753/25.73, allocations: 297.5 kB / 6.509 GB, free: 111.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02922/25.76, allocations: 9.07 MB / 6.518 GB, free: 110.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.052e-06/25.76, allocations: 0 / 6.518 GB, free: 110.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0489/25.81, allocations: 7.902 MB / 6.525 GB, free: 110.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 () * 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.05427/25.87, allocations: 24.46 MB / 6.549 GB, free: 102.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.05842/25.93, allocations: 22.02 MB / 6.571 GB, free: 101.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-05/25.93, allocations: 7.5 kB / 6.571 GB, free: 101.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01747/25.94, allocations: 5.306 MB / 6.576 GB, free: 101 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04541/25.99, allocations: 6.138 MB / 6.582 GB, free: 100.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1328/26.12, allocations: 32.25 MB / 6.613 GB, free: 94.76 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03321/26.15, allocations: 10.15 MB / 6.623 GB, free: 93.49 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.06302/26.22, allocations: 8.976 MB / 6.632 GB, free: 92.86 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02596/26.24, allocations: 6.058 MB / 6.638 GB, free: 92.84 MB / 1.151 GB Notification: Performance of SimCode: time 2.224e-06/26.24, allocations: 0 / 6.638 GB, free: 92.84 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.072/29.32, allocations: 417.8 MB / 7.046 GB, free: 86.75 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/29.32, allocations: 239.2 kB / 7.046 GB, free: 86.44 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.78/54.1, allocations: 0 / 7.046 GB, free: 86.44 MB / 1.151 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)