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.623/2.623, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001506/0.001506, allocations: 188.8 kB / 360.6 MB, free: 7.297 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.152/2.152, allocations: 205.2 MB / 0.6191 GB, free: 12.22 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.001186/0.001186, allocations: 82.95 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.458e-05, allocations: 4 kB / 0.8508 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.798/0.798, allocations: 115.3 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/2.083, allocations: 419.8 MB / 1.373 GB, free: 149 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/2.083, allocations: 88.56 kB / 1.373 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 25.21/27.29, allocations: 4.578 GB / 5.952 GB, free: 88.24 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.677e-06/27.29, allocations: 2.438 kB / 5.952 GB, free: 88.24 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.003522/27.29, allocations: 400.4 kB / 5.952 GB, free: 88.18 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.0657/27.36, allocations: 13.65 MB / 5.965 GB, free: 83.28 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/27.36, allocations: 7.75 kB / 5.965 GB, free: 83.28 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01473/27.37, allocations: 1.874 MB / 5.967 GB, free: 82.38 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06723/27.44, allocations: 17.74 MB / 5.985 GB, free: 80.63 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009375/27.44, allocations: 404.5 kB / 5.985 GB, free: 80.63 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006517/27.45, allocations: 0.7634 MB / 5.986 GB, free: 80.63 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04799/27.5, allocations: 14.47 MB / 6 GB, free: 80.57 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06143/27.56, allocations: 16.12 MB / 6.016 GB, free: 78.28 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001056/27.56, allocations: 49.89 kB / 6.016 GB, free: 78.26 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005879/27.56, allocations: 28.12 kB / 6.016 GB, free: 78.26 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004692/27.56, allocations: 348.2 kB / 6.016 GB, free: 78.25 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.1951/27.76, allocations: 78.51 MB / 6.093 GB, free: 28.26 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0282/27.79, allocations: 11.31 MB / 6.104 GB, free: 18.44 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01394/27.8, allocations: 5.805 MB / 6.109 GB, free: 13.27 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1048/27.91, allocations: 28.52 MB / 6.137 GB, free: 5.008 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/27.91, allocations: 120.5 kB / 6.137 GB, free: 4.879 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009758/27.92, allocations: 0.5576 MB / 6.138 GB, free: 4.312 MB / 1.073 GB Notification: Performance of pre-optimization done (n=651): time 5.986e-05/27.92, allocations: 0 / 6.138 GB, free: 4.312 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 1.025/28.94, allocations: 10.46 MB / 6.148 GB, free: 120.6 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/28.94, allocations: 119.6 kB / 6.148 GB, free: 120.6 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03574/28.98, allocations: 10.71 MB / 6.159 GB, free: 120.1 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002726/28.98, allocations: 32.36 kB / 6.159 GB, free: 120 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01087/28.99, allocations: 7.08 MB / 6.166 GB, free: 118.1 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.004969/29, allocations: 2.202 MB / 6.168 GB, free: 117 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002919/29, allocations: 0 / 6.168 GB, free: 117 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001439/29, allocations: 0.7747 MB / 6.169 GB, free: 116.6 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01508/29.02, allocations: 5.35 MB / 6.174 GB, free: 116.6 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01924/29.04, allocations: 9.165 MB / 6.183 GB, free: 112.1 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03578/29.07, allocations: 9.474 MB / 6.192 GB, free: 112 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002388/29.07, allocations: 35.94 kB / 6.192 GB, free: 112 MB / 1.073 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.07648/29.15, allocations: 19.09 MB / 6.211 GB, free: 111 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.01843/29.17, allocations: 66.73 MB / 6.276 GB, free: 57.79 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006477/29.17, allocations: 120.4 kB / 6.276 GB, free: 57.79 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02328/29.19, allocations: 4.042 MB / 6.28 GB, free: 57.65 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0201/29.21, allocations: 2.397 MB / 6.282 GB, free: 57.65 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04348/29.25, allocations: 20.63 MB / 6.302 GB, free: 61.74 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.022/29.28, allocations: 0.8719 MB / 6.303 GB, free: 61.65 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003963/29.28, allocations: 0.5458 MB / 6.304 GB, free: 61.65 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/29.28, allocations: 4.656 kB / 6.304 GB, free: 61.65 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0697/29.35, allocations: 17.91 MB / 6.321 GB, free: 61.32 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007181/29.35, allocations: 119.4 kB / 6.321 GB, free: 61.32 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02302/29.37, allocations: 4.045 MB / 6.325 GB, free: 61.19 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01898/29.39, allocations: 2.374 MB / 6.328 GB, free: 61.19 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03406/29.43, allocations: 18.83 MB / 6.346 GB, free: 51.03 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02188/29.45, allocations: 0.817 MB / 6.347 GB, free: 50.96 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004381/29.45, allocations: 0.5378 MB / 6.347 GB, free: 50.96 MB / 1.104 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.006566/29.46, allocations: 451.4 kB / 6.348 GB, free: 50.66 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0417/29.5, allocations: 10.44 MB / 6.358 GB, free: 49.68 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006159/29.51, allocations: 1.084 MB / 6.359 GB, free: 49.1 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04605/29.55, allocations: 11.44 MB / 6.37 GB, free: 48.52 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001679/29.55, allocations: 67.11 kB / 6.37 GB, free: 48.52 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-05/29.55, allocations: 3.844 kB / 6.37 GB, free: 48.52 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0345/29.59, allocations: 9.659 MB / 6.38 GB, free: 47.91 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09074/29.68, allocations: 24.29 MB / 6.403 GB, free: 46.6 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-05/29.68, allocations: 11.16 kB / 6.403 GB, free: 46.6 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01078/29.69, allocations: 1.132 MB / 6.404 GB, free: 46.54 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0129/29.7, allocations: 2.482 MB / 6.407 GB, free: 46.41 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001965/29.71, allocations: 92.62 kB / 6.407 GB, free: 46.41 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02735/29.73, allocations: 17.94 MB / 6.425 GB, free: 50.48 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.065e-05/29.73, allocations: 19.81 kB / 6.425 GB, free: 50.48 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.056/29.79, allocations: 20.98 MB / 6.445 GB, free: 44.62 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01371/29.8, allocations: 2.714 MB / 6.448 GB, free: 43.93 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006153/29.81, allocations: 47.75 kB / 6.448 GB, free: 43.93 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01756/29.83, allocations: 0.6341 MB / 6.448 GB, free: 43.88 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002475/29.83, allocations: 444.4 kB / 6.449 GB, free: 43.85 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002468/29.83, allocations: 290 kB / 6.449 GB, free: 43.85 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02421/29.86, allocations: 8 MB / 6.457 GB, free: 42.34 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.142e-06/29.86, allocations: 0 / 6.457 GB, free: 42.34 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.05151/29.91, allocations: 7.534 MB / 6.464 GB, free: 41.06 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 () * 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.06226/29.97, allocations: 24.49 MB / 6.488 GB, free: 27.72 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.05907/30.03, allocations: 20.62 MB / 6.508 GB, free: 19.98 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-05/30.03, allocations: 11.22 kB / 6.508 GB, free: 19.98 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01578/30.05, allocations: 4.958 MB / 6.513 GB, free: 18.02 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04572/30.09, allocations: 5.375 MB / 6.518 GB, free: 16.47 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1204/30.21, allocations: 31.47 MB / 6.549 GB, free: 5.82 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.036/31.25, allocations: 10.8 MB / 6.56 GB, free: 161.5 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.06002/31.31, allocations: 8.443 MB / 6.568 GB, free: 161.4 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02076/31.33, allocations: 6.058 MB / 6.574 GB, free: 161.4 MB / 1.135 GB Notification: Performance of SimCode: time 1.453e-06/31.33, allocations: 0.625 kB / 6.574 GB, free: 161.4 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8587/32.19, allocations: 369.5 MB / 6.935 GB, free: 5.621 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/32.19, allocations: 190.1 kB / 6.935 GB, free: 5.426 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.07/55.25, allocations: 3.938 kB / 6.935 GB, free: 5.422 MB / 1.135 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)