Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.272/2.272, allocations: 248.7 MB / 256.2 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 186.1 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.257/2.257, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 92.41 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.95e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2088, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.903/2.112, allocations: 413.1 MB / 1.288 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/2.112, allocations: 90.08 kB / 1.288 GB, free: 261.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 23.84/25.95, allocations: 4.454 GB / 5.742 GB, free: 64.7 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.835e-06/25.95, allocations: 0 / 5.742 GB, free: 64.7 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.003263/25.95, allocations: 398 kB / 5.742 GB, free: 64.65 MB / 0.9948 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.06169/26.02, allocations: 13.63 MB / 5.756 GB, free: 59.65 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/26.02, allocations: 9.062 kB / 5.756 GB, free: 59.65 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01424/26.03, allocations: 1.871 MB / 5.758 GB, free: 58.75 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06632/26.1, allocations: 17.69 MB / 5.775 GB, free: 53.89 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/26.1, allocations: 405 kB / 5.775 GB, free: 53.89 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007335/26.1, allocations: 0.7614 MB / 5.776 GB, free: 53.88 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04799/26.15, allocations: 14.46 MB / 5.79 GB, free: 41.44 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0589/26.21, allocations: 16.03 MB / 5.806 GB, free: 26.11 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009774/26.21, allocations: 47.58 kB / 5.806 GB, free: 26.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005415/26.22, allocations: 27.95 kB / 5.806 GB, free: 26.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004051/26.22, allocations: 351.9 kB / 5.806 GB, free: 25.7 MB / 0.9948 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 1.095/27.31, allocations: 78.43 MB / 5.883 GB, free: 49.75 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02851/27.34, allocations: 11.3 MB / 5.894 GB, free: 49.56 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01426/27.36, allocations: 5.813 MB / 5.899 GB, free: 49.49 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09623/27.45, allocations: 28.18 MB / 5.927 GB, free: 43.12 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/27.45, allocations: 114.2 kB / 5.927 GB, free: 43.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01059/27.46, allocations: 0.5571 MB / 5.928 GB, free: 42.84 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=651): time 5.424e-05/27.46, allocations: 2.812 kB / 5.928 GB, free: 42.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=651): time 0.03757/27.5, allocations: 10.47 MB / 5.938 GB, free: 41.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/27.5, allocations: 119.3 kB / 5.938 GB, free: 41.83 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0328/27.53, allocations: 10.7 MB / 5.948 GB, free: 41.23 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.003199/27.54, allocations: 34.14 kB / 5.948 GB, free: 41.2 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01043/27.55, allocations: 7.075 MB / 5.955 GB, free: 38.93 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004445/27.55, allocations: 2.202 MB / 5.957 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002664/27.56, allocations: 2.906 kB / 5.957 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001275/27.56, allocations: 0.7696 MB / 5.958 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01466/27.57, allocations: 5.353 MB / 5.963 GB, free: 37.15 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01815/27.59, allocations: 9.169 MB / 5.972 GB, free: 32.59 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03505/27.63, allocations: 9.473 MB / 5.982 GB, free: 32.49 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002497/27.63, allocations: 35.5 kB / 5.982 GB, free: 32.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.07094/27.7, allocations: 19.09 MB / 6 GB, free: 31.57 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.02954/27.73, allocations: 66.74 MB / 6.066 GB, free: 26.32 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005286/27.73, allocations: 124.5 kB / 6.066 GB, free: 26.32 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02132/27.75, allocations: 4.033 MB / 6.07 GB, free: 26.18 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01881/27.77, allocations: 2.409 MB / 6.072 GB, free: 26.18 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03352/27.8, allocations: 20.63 MB / 6.092 GB, free: 30.26 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0224/27.82, allocations: 0.8684 MB / 6.093 GB, free: 30.17 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003914/27.83, allocations: 0.5406 MB / 6.093 GB, free: 30.17 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/27.83, allocations: 5.438 kB / 6.093 GB, free: 30.17 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0662/27.89, allocations: 17.9 MB / 6.111 GB, free: 29.84 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006831/27.89, allocations: 119 kB / 6.111 GB, free: 29.84 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02181/27.92, allocations: 4.044 MB / 6.115 GB, free: 29.71 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01827/27.93, allocations: 2.379 MB / 6.117 GB, free: 29.71 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03237/27.97, allocations: 18.82 MB / 6.136 GB, free: 19.54 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02548/27.99, allocations: 0.8187 MB / 6.136 GB, free: 19.47 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004203/28, allocations: 0.5366 MB / 6.137 GB, free: 19.47 MB / 1.073 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.00598/28, allocations: 461.3 kB / 6.137 GB, free: 19.28 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03711/28.04, allocations: 10.42 MB / 6.148 GB, free: 18.35 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005904/28.05, allocations: 1.084 MB / 6.149 GB, free: 17.77 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04231/28.09, allocations: 11.44 MB / 6.16 GB, free: 17.21 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001269/28.09, allocations: 68.58 kB / 6.16 GB, free: 17.21 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.668e-05/28.09, allocations: 9.188 kB / 6.16 GB, free: 17.21 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03208/28.12, allocations: 9.657 MB / 6.169 GB, free: 16.36 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08074/28.2, allocations: 24.15 MB / 6.193 GB, free: 7.043 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/28.2, allocations: 16.48 kB / 6.193 GB, free: 7.043 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01062/28.21, allocations: 1.125 MB / 6.194 GB, free: 6.992 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01322/28.22, allocations: 2.484 MB / 6.196 GB, free: 6.328 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00204/28.23, allocations: 102.1 kB / 6.197 GB, free: 6.301 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02591/28.25, allocations: 17.91 MB / 6.214 GB, free: 7.945 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.426e-05/28.25, allocations: 27.52 kB / 6.214 GB, free: 7.938 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.044/29.3, allocations: 21.09 MB / 6.235 GB, free: 164.4 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02002/29.32, allocations: 2.669 MB / 6.237 GB, free: 164.2 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00825/29.33, allocations: 44 kB / 6.237 GB, free: 164.2 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02639/29.35, allocations: 0.6352 MB / 6.238 GB, free: 164.2 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00332/29.36, allocations: 446.1 kB / 6.238 GB, free: 164.2 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003207/29.36, allocations: 278.7 kB / 6.239 GB, free: 164.2 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.03915/29.4, allocations: 7.997 MB / 6.246 GB, free: 163.9 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.483e-06/29.4, allocations: 1.594 kB / 6.246 GB, free: 163.9 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.05641/29.45, allocations: 7.433 MB / 6.254 GB, free: 163.3 MB / 1.089 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.06224/29.52, allocations: 24.47 MB / 6.278 GB, free: 155.8 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.05636/29.57, allocations: 20.61 MB / 6.298 GB, free: 154.9 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.913e-05/29.57, allocations: 10.81 kB / 6.298 GB, free: 154.9 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01397/29.59, allocations: 4.973 MB / 6.303 GB, free: 154.5 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04582/29.63, allocations: 5.335 MB / 6.308 GB, free: 154.5 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1092/29.74, allocations: 31.29 MB / 6.338 GB, free: 149.1 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02412/29.77, allocations: 10.14 MB / 6.348 GB, free: 147.9 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.05225/29.82, allocations: 8.427 MB / 6.357 GB, free: 147.4 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01873/29.84, allocations: 6.049 MB / 6.362 GB, free: 147.4 MB / 1.089 GB Notification: Performance of SimCode: time 1.603e-06/29.84, allocations: 3.172 kB / 6.362 GB, free: 147.4 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.828/31.67, allocations: 367.4 MB / 6.721 GB, free: 140 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/31.67, allocations: 184.7 kB / 6.721 GB, free: 139.8 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.75/54.41, allocations: 4 kB / 6.721 GB, free: 139.8 MB / 1.089 GB