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.768/1.768, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001715/0.001715, allocations: 184.8 kB / 366.7 MB, free: 1.68 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.588/1.588, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0008849/0.000885, allocations: 83.64 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.574e-05, allocations: 0 / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7653/0.7653, allocations: 116.3 MB / 0.9733 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.984, allocations: 420.9 MB / 1.384 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/1.984, allocations: 89.45 kB / 1.384 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 19.05/21.04, allocations: 4.578 GB / 5.963 GB, free: 105.8 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.174e-06/21.04, allocations: 0 / 5.963 GB, free: 105.8 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.00333/21.04, allocations: 403.3 kB / 5.963 GB, free: 105.7 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.06401/21.11, allocations: 13.63 MB / 5.976 GB, free: 100.9 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001123/21.11, allocations: 9.844 kB / 5.976 GB, free: 100.9 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/21.12, allocations: 1.871 MB / 5.978 GB, free: 99.98 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05495/21.18, allocations: 17.76 MB / 5.996 GB, free: 98.27 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001136/21.18, allocations: 407.8 kB / 5.996 GB, free: 98.26 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007827/21.19, allocations: 0.7618 MB / 5.997 GB, free: 98.26 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04864/21.23, allocations: 14.46 MB / 6.011 GB, free: 98.2 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06651/21.3, allocations: 16.13 MB / 6.027 GB, free: 96 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009824/21.3, allocations: 49.47 kB / 6.027 GB, free: 96 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005974/21.31, allocations: 26.34 kB / 6.027 GB, free: 96 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003694/21.31, allocations: 350.2 kB / 6.027 GB, free: 96 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.1575/21.47, allocations: 78.53 MB / 6.104 GB, free: 62.09 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/21.49, allocations: 11.3 MB / 6.115 GB, free: 59.55 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01029/21.5, allocations: 5.808 MB / 6.12 GB, free: 57.36 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06462/21.56, allocations: 28.33 MB / 6.148 GB, free: 42.74 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/21.56, allocations: 118.9 kB / 6.148 GB, free: 42.64 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01168/21.57, allocations: 0.5534 MB / 6.149 GB, free: 42.2 MB / 1.073 GB Notification: Performance of pre-optimization done (n=651): time 7.043e-05/21.57, allocations: 0 / 6.149 GB, free: 42.2 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 0.02652/21.6, allocations: 10.47 MB / 6.159 GB, free: 38.25 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/21.6, allocations: 118.5 kB / 6.159 GB, free: 38.18 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02242/21.62, allocations: 10.7 MB / 6.17 GB, free: 34.16 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002653/21.62, allocations: 33.45 kB / 6.17 GB, free: 34.13 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.007379/21.63, allocations: 7.081 MB / 6.176 GB, free: 28.68 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003625/21.64, allocations: 2.199 MB / 6.179 GB, free: 26.96 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/21.64, allocations: 0 / 6.179 GB, free: 26.96 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0009075/21.64, allocations: 0.766 MB / 6.179 GB, free: 26.46 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008334/21.65, allocations: 5.363 MB / 6.185 GB, free: 24.16 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01174/21.66, allocations: 9.16 MB / 6.194 GB, free: 14.16 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03033/21.69, allocations: 9.473 MB / 6.203 GB, free: 6.613 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002358/21.69, allocations: 36 kB / 6.203 GB, free: 6.578 MB / 1.073 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.07005/21.76, allocations: 19.1 MB / 6.221 GB, free: 6.441 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.9735/22.73, allocations: 66.73 MB / 6.287 GB, free: 66.76 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005659/22.73, allocations: 124 kB / 6.287 GB, free: 66.76 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/22.75, allocations: 4.039 MB / 6.291 GB, free: 66.63 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01545/22.77, allocations: 2.406 MB / 6.293 GB, free: 66.63 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0253/22.79, allocations: 20.64 MB / 6.313 GB, free: 54.87 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01938/22.81, allocations: 0.8732 MB / 6.314 GB, free: 54.87 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004414/22.81, allocations: 0.5392 MB / 6.315 GB, free: 54.87 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/22.81, allocations: 3.844 kB / 6.315 GB, free: 54.87 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05119/22.87, allocations: 17.89 MB / 6.332 GB, free: 54.55 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009436/22.87, allocations: 119.6 kB / 6.332 GB, free: 54.55 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01487/22.88, allocations: 4.054 MB / 6.336 GB, free: 54.42 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01255/22.89, allocations: 2.376 MB / 6.338 GB, free: 54.42 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03227/22.93, allocations: 18.83 MB / 6.357 GB, free: 60.42 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02263/22.95, allocations: 0.8161 MB / 6.358 GB, free: 60.42 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005244/22.96, allocations: 0.5437 MB / 6.358 GB, free: 60.42 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.007307/22.96, allocations: 450.4 kB / 6.359 GB, free: 60.31 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03609/23, allocations: 10.43 MB / 6.369 GB, free: 59.8 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006014/23, allocations: 1.086 MB / 6.37 GB, free: 59.23 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03092/23.04, allocations: 11.44 MB / 6.381 GB, free: 58.7 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.503e-05/23.04, allocations: 69.69 kB / 6.381 GB, free: 58.7 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.268e-05/23.04, allocations: 8.297 kB / 6.381 GB, free: 58.69 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0251/23.06, allocations: 9.652 MB / 6.391 GB, free: 58.12 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0691/23.13, allocations: 24.29 MB / 6.414 GB, free: 56.89 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.29e-05/23.13, allocations: 13.41 kB / 6.414 GB, free: 56.89 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005344/23.14, allocations: 1.129 MB / 6.415 GB, free: 56.89 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007377/23.14, allocations: 2.482 MB / 6.418 GB, free: 56.76 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001702/23.14, allocations: 95.3 kB / 6.418 GB, free: 56.76 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01656/23.16, allocations: 17.93 MB / 6.435 GB, free: 44.9 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/23.16, allocations: 19.31 kB / 6.435 GB, free: 44.9 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03989/23.2, allocations: 20.98 MB / 6.456 GB, free: 55.07 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01481/23.22, allocations: 2.712 MB / 6.459 GB, free: 54.39 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006218/23.22, allocations: 43.48 kB / 6.459 GB, free: 54.39 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0137/23.24, allocations: 0.6336 MB / 6.459 GB, free: 54.36 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002878/23.24, allocations: 447.5 kB / 6.46 GB, free: 54.34 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001706/23.24, allocations: 288 kB / 6.46 GB, free: 54.34 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02245/23.26, allocations: 7.996 MB / 6.468 GB, free: 54.06 MB / 1.12 GB Notification: Performance of sort global known variables: time 8.21e-07/23.26, allocations: 0.7656 kB / 6.468 GB, free: 54.06 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.04434/23.31, allocations: 7.533 MB / 6.475 GB, free: 53.47 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.04295/23.35, allocations: 24.5 MB / 6.499 GB, free: 45.81 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0462/23.4, allocations: 20.61 MB / 6.519 GB, free: 44.25 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-05/23.4, allocations: 13.28 kB / 6.519 GB, free: 44.25 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.01155/23.41, allocations: 4.964 MB / 6.524 GB, free: 43.76 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03406/23.44, allocations: 5.375 MB / 6.529 GB, free: 43.67 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08835/23.53, allocations: 31.35 MB / 6.56 GB, free: 36 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02067/23.55, allocations: 10.14 MB / 6.57 GB, free: 32.91 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.04009/23.59, allocations: 8.443 MB / 6.578 GB, free: 32.29 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01718/23.61, allocations: 6.055 MB / 6.584 GB, free: 27.25 MB / 1.12 GB Notification: Performance of SimCode: time 1.443e-06/23.61, allocations: 0 / 6.584 GB, free: 27.25 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.528/25.14, allocations: 369.6 MB / 6.945 GB, free: 86.51 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/25.14, allocations: 206 kB / 6.945 GB, free: 86.3 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.77/46.9, allocations: 0 / 6.945 GB, free: 86.3 MB / 1.135 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)