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.291/2.291, allocations: 248.5 MB / 261.1 MB, free: 5.965 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.001421/0.00142, allocations: 182.2 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.2 MB / 0.571 GB, free: 11.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 88.8 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.729e-05/4.741e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2215, allocations: 106.3 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.925/2.147, allocations: 412.8 MB / 1.294 GB, free: 260 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/2.147, allocations: 89.77 kB / 1.294 GB, free: 260 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 24.15/26.3, allocations: 4.476 GB / 5.77 GB, free: 50.9 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.134e-06/26.3, allocations: 0 / 5.77 GB, free: 50.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.003226/26.3, allocations: 399.6 kB / 5.771 GB, free: 50.84 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.06115/26.37, allocations: 13.64 MB / 5.784 GB, free: 42.08 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/26.37, allocations: 8.031 kB / 5.784 GB, free: 42.07 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008707/26.37, allocations: 1.686 MB / 5.786 GB, free: 40.38 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/26.39, allocations: 1.862 MB / 5.787 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06759/26.46, allocations: 17.7 MB / 5.805 GB, free: 20.87 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001579/26.46, allocations: 0.9738 MB / 5.806 GB, free: 19.89 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007668/26.47, allocations: 1.297 MB / 5.807 GB, free: 18.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06432/26.53, allocations: 17.96 MB / 5.824 GB, free: 15.92 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009389/26.53, allocations: 47.59 kB / 5.824 GB, free: 15.88 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006002/26.54, allocations: 0.5312 MB / 5.825 GB, free: 15.34 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005126/26.54, allocations: 347.9 kB / 5.825 GB, free: 15 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.9559/27.5, allocations: 15.33 MB / 5.84 GB, free: 73.66 MB / 1.01 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.2096/27.7, allocations: 80.72 MB / 5.919 GB, free: 40.91 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03162/27.74, allocations: 11.85 MB / 5.931 GB, free: 40.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01766/27.75, allocations: 6.036 MB / 5.937 GB, free: 40.38 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09988/27.85, allocations: 28.63 MB / 5.965 GB, free: 50.02 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/27.85, allocations: 116.9 kB / 5.965 GB, free: 49.98 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01041/27.86, allocations: 0.771 MB / 5.965 GB, free: 49.71 MB / 1.026 GB Notification: Performance of pre-optimization done (n=651): time 3.12e-05/27.87, allocations: 3.656 kB / 5.965 GB, free: 49.71 MB / 1.026 GB Notification: Performance of matching and sorting (n=651): time 0.03475/27.9, allocations: 10.15 MB / 5.975 GB, free: 48.75 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/27.9, allocations: 123.9 kB / 5.975 GB, free: 48.68 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03526/27.94, allocations: 11.91 MB / 5.987 GB, free: 47.97 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002692/27.94, allocations: 180.7 kB / 5.987 GB, free: 47.94 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01126/27.95, allocations: 7.114 MB / 5.994 GB, free: 45.21 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.005146/27.95, allocations: 2.295 MB / 5.996 GB, free: 43.78 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003356/27.96, allocations: 229.3 kB / 5.997 GB, free: 43.78 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001725/27.96, allocations: 0.7679 MB / 5.997 GB, free: 43.45 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01711/27.98, allocations: 5.575 MB / 6.003 GB, free: 43.43 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02035/28, allocations: 9.459 MB / 6.012 GB, free: 38.84 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02078/28.02, allocations: 7.509 MB / 6.019 GB, free: 38.73 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002452/28.02, allocations: 32.34 kB / 6.019 GB, free: 38.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05666/28.07, allocations: 18.19 MB / 6.037 GB, free: 37.77 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.03158/28.11, allocations: 68.61 MB / 6.104 GB, free: 30.39 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006136/28.11, allocations: 121.6 kB / 6.104 GB, free: 30.39 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1823/28.29, allocations: 11.87 MB / 6.116 GB, free: 30.25 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01894/28.31, allocations: 2.388 MB / 6.118 GB, free: 30.25 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02906/28.34, allocations: 20.17 MB / 6.138 GB, free: 34.17 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02225/28.36, allocations: 1.1 MB / 6.139 GB, free: 34.05 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003783/28.36, allocations: 0.5416 MB / 6.14 GB, free: 34.05 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/28.36, allocations: 3.375 kB / 6.14 GB, free: 34.05 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05472/28.42, allocations: 17.16 MB / 6.156 GB, free: 33.63 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005791/28.42, allocations: 127.2 kB / 6.156 GB, free: 33.63 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1832/28.6, allocations: 11.87 MB / 6.168 GB, free: 32.86 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01832/28.62, allocations: 2.373 MB / 6.17 GB, free: 32.81 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02849/28.65, allocations: 18.37 MB / 6.188 GB, free: 22.34 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02118/28.67, allocations: 1.046 MB / 6.189 GB, free: 22.22 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004165/28.67, allocations: 0.5419 MB / 6.19 GB, free: 22.22 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.006414/28.68, allocations: 0.7763 MB / 6.191 GB, free: 21.87 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007733/28.69, allocations: 1.143 MB / 6.192 GB, free: 21.26 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04915/28.74, allocations: 11.3 MB / 6.203 GB, free: 17.33 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001215/28.74, allocations: 71.94 kB / 6.203 GB, free: 17.33 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.084e-05/28.74, allocations: 9.812 kB / 6.203 GB, free: 17.33 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03022/28.77, allocations: 9.318 MB / 6.212 GB, free: 13.71 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08514/28.85, allocations: 25.41 MB / 6.237 GB, free: 3.656 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.098e-05/28.85, allocations: 16.06 kB / 6.237 GB, free: 3.656 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01066/28.86, allocations: 1.131 MB / 6.238 GB, free: 3.562 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09417/28.96, allocations: 6.425 MB / 6.244 GB, free: 2.562 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002144/28.96, allocations: 189.2 kB / 6.244 GB, free: 2.465 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9847/29.95, allocations: 17.77 MB / 6.262 GB, free: 155.4 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.714e-05/29.95, allocations: 20.19 kB / 6.262 GB, free: 155.4 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07449/30.02, allocations: 21.03 MB / 6.282 GB, free: 150 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01806/30.04, allocations: 2.735 MB / 6.285 GB, free: 149.5 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008091/30.05, allocations: 157.1 kB / 6.285 GB, free: 149.5 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02525/30.07, allocations: 0.7501 MB / 6.286 GB, free: 149.5 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003708/30.08, allocations: 444.3 kB / 6.286 GB, free: 149.5 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003338/30.08, allocations: 283 kB / 6.286 GB, free: 149.5 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.04228/30.12, allocations: 9.072 MB / 6.295 GB, free: 149.1 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.102e-06/30.12, allocations: 0 / 6.295 GB, free: 149.1 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.06295/30.18, allocations: 7.805 MB / 6.303 GB, free: 148.6 MB / 1.104 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.07946/30.26, allocations: 24.41 MB / 6.327 GB, free: 141 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.09141/30.36, allocations: 22.02 MB / 6.348 GB, free: 140 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.926e-05/30.36, allocations: 3.438 kB / 6.348 GB, free: 140 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.02348/30.38, allocations: 5.314 MB / 6.353 GB, free: 139.6 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07146/30.45, allocations: 6.1 MB / 6.359 GB, free: 139.5 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1569/30.61, allocations: 32.21 MB / 6.391 GB, free: 134.1 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0347/30.64, allocations: 10.14 MB / 6.401 GB, free: 133 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.07594/30.72, allocations: 8.955 MB / 6.41 GB, free: 132.5 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02574/30.74, allocations: 6.056 MB / 6.415 GB, free: 132.5 MB / 1.104 GB Notification: Performance of SimCode: time 1.993e-06/30.74, allocations: 0 / 6.415 GB, free: 132.5 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.983/33.73, allocations: 415.5 MB / 6.821 GB, free: 155 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/33.73, allocations: 249 kB / 6.821 GB, free: 154.7 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.94/59.67, allocations: 0 / 6.821 GB, free: 154.7 MB / 1.104 GB