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.332/2.332, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001569, allocations: 174.7 kB / 325.5 MB, free: 2.879 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.296/2.296, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001155/0.001155, allocations: 87.38 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000628/0.0006282, allocations: 12.12 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2136, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.448, allocations: 412.9 MB / 1.302 GB, free: 5.578 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/1.448, allocations: 92.83 kB / 1.302 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 25.29/26.74, allocations: 4.489 GB / 5.791 GB, free: 100.8 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.83e-06/26.74, allocations: 0 / 5.791 GB, free: 100.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.00385/26.75, allocations: 398.8 kB / 5.792 GB, free: 100.8 MB / 1.01 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.0861/26.83, allocations: 16.35 MB / 5.807 GB, free: 94.89 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/26.83, allocations: 10.12 kB / 5.807 GB, free: 94.89 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01068/26.84, allocations: 1.705 MB / 5.809 GB, free: 94.77 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01576/26.86, allocations: 1.877 MB / 5.811 GB, free: 93.88 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06958/26.93, allocations: 17.78 MB / 5.828 GB, free: 92.15 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001766/26.93, allocations: 0.972 MB / 5.829 GB, free: 92.12 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007931/26.94, allocations: 1.301 MB / 5.831 GB, free: 92.12 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07029/27.01, allocations: 18.18 MB / 5.848 GB, free: 89.86 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001157/27.01, allocations: 46.39 kB / 5.848 GB, free: 89.85 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006582/27.02, allocations: 0.5295 MB / 5.849 GB, free: 89.85 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005187/27.02, allocations: 350.9 kB / 5.849 GB, free: 89.85 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05439/27.07, allocations: 15.61 MB / 5.864 GB, free: 89.71 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.2031/27.27, allocations: 80.73 MB / 5.943 GB, free: 55.02 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03308/27.31, allocations: 12 MB / 5.955 GB, free: 51.92 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.099/27.41, allocations: 28.15 MB / 5.983 GB, free: 37.06 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/27.41, allocations: 121.7 kB / 5.983 GB, free: 36.96 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01112/27.42, allocations: 0.7748 MB / 5.983 GB, free: 36.34 MB / 1.01 GB Notification: Performance of pre-optimization done (n=660): time 2.512e-05/27.42, allocations: 0 / 5.983 GB, free: 36.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=660): time 0.0743/27.49, allocations: 17.98 MB / 6.001 GB, free: 29.18 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/27.49, allocations: 118.2 kB / 6.001 GB, free: 29.11 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03819/27.53, allocations: 12.04 MB / 6.013 GB, free: 23.55 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.002958/27.53, allocations: 181.7 kB / 6.013 GB, free: 23.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01142/27.55, allocations: 7.103 MB / 6.02 GB, free: 16.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.004924/27.55, allocations: 2.321 MB / 6.022 GB, free: 14.89 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003383/27.55, allocations: 228 kB / 6.022 GB, free: 14.66 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.00171/27.56, allocations: 0.7732 MB / 6.023 GB, free: 14.02 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01772/27.57, allocations: 5.697 MB / 6.029 GB, free: 9.328 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02151/27.59, allocations: 9.59 MB / 6.038 GB, free: 15.18 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02464/27.62, allocations: 7.596 MB / 6.046 GB, free: 8.551 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/27.62, allocations: 32 kB / 6.046 GB, free: 8.52 MB / 1.026 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 1.001/28.62, allocations: 18.43 MB / 6.064 GB, free: 117.3 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.01828/28.64, allocations: 68.61 MB / 6.131 GB, free: 62.09 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005583/28.64, allocations: 122.4 kB / 6.131 GB, free: 62.09 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1953/28.84, allocations: 11.86 MB / 6.142 GB, free: 61.96 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01931/28.85, allocations: 2.414 MB / 6.145 GB, free: 61.96 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02846/28.88, allocations: 20.3 MB / 6.164 GB, free: 50.02 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02267/28.91, allocations: 1.113 MB / 6.166 GB, free: 50.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003854/28.91, allocations: 0.5419 MB / 6.166 GB, free: 50.02 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/28.91, allocations: 3.188 kB / 6.166 GB, free: 50.02 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0561/28.97, allocations: 17.41 MB / 6.183 GB, free: 49.7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000559/28.97, allocations: 122.2 kB / 6.183 GB, free: 49.7 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1934/29.16, allocations: 11.86 MB / 6.195 GB, free: 49.31 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01905/29.18, allocations: 2.386 MB / 6.197 GB, free: 49.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02985/29.21, allocations: 18.52 MB / 6.215 GB, free: 55.08 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02096/29.23, allocations: 1.054 MB / 6.216 GB, free: 55.04 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004135/29.23, allocations: 0.5397 MB / 6.217 GB, free: 55.04 MB / 1.057 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1242): * Single equations (assignments): 1224 * 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.01999/29.25, allocations: 5.759 MB / 6.222 GB, free: 54.85 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006396/29.26, allocations: 1.145 MB / 6.223 GB, free: 54.85 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04434/29.31, allocations: 11.63 MB / 6.235 GB, free: 54.29 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/29.31, allocations: 68.06 kB / 6.235 GB, free: 54.29 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.431e-05/29.31, allocations: 6.688 kB / 6.235 GB, free: 54.29 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0333/29.34, allocations: 9.625 MB / 6.244 GB, free: 53.66 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08767/29.43, allocations: 25.7 MB / 6.269 GB, free: 52.2 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-05/29.43, allocations: 13.84 kB / 6.269 GB, free: 52.2 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01093/29.44, allocations: 1.142 MB / 6.271 GB, free: 52.14 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09931/29.54, allocations: 6.414 MB / 6.277 GB, free: 51.69 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002288/29.54, allocations: 185.5 kB / 6.277 GB, free: 51.69 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02494/29.56, allocations: 17.91 MB / 6.294 GB, free: 55.54 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-05/29.56, allocations: 18.62 kB / 6.294 GB, free: 55.54 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05099/29.62, allocations: 21.38 MB / 6.315 GB, free: 49.37 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01279/29.63, allocations: 2.747 MB / 6.318 GB, free: 48.66 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006088/29.63, allocations: 162.6 kB / 6.318 GB, free: 48.66 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01766/29.65, allocations: 0.7512 MB / 6.319 GB, free: 48.59 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002402/29.65, allocations: 453.4 kB / 6.319 GB, free: 48.55 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002426/29.66, allocations: 279.2 kB / 6.32 GB, free: 48.55 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.02797/29.68, allocations: 9.193 MB / 6.329 GB, free: 48.23 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.353e-06/29.68, allocations: 0 / 6.329 GB, free: 48.23 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.04524/29.73, allocations: 7.811 MB / 6.336 GB, free: 47.71 MB / 1.073 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (570): * Single equations (assignments): 546 * 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.05845/29.79, allocations: 24.79 MB / 6.36 GB, free: 39.83 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.06612/29.85, allocations: 22.09 MB / 6.382 GB, free: 37.64 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.598e-05/29.85, allocations: 8.344 kB / 6.382 GB, free: 37.64 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01736/29.87, allocations: 5.428 MB / 6.387 GB, free: 35.56 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04971/29.92, allocations: 6.113 MB / 6.393 GB, free: 34.28 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.911/31.83, allocations: 133.8 MB / 6.524 GB, free: 97.88 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0299/31.86, allocations: 10.13 MB / 6.534 GB, free: 96.8 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.04079/31.9, allocations: 6.12 MB / 6.54 GB, free: 96.69 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02046/31.92, allocations: 6.248 MB / 6.546 GB, free: 96.69 MB / 1.089 GB Notification: Performance of SimCode: time 1.583e-06/31.92, allocations: 0 / 6.546 GB, free: 96.69 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.841/33.77, allocations: 396.5 MB / 6.933 GB, free: 163.4 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/33.77, allocations: 267 kB / 6.933 GB, free: 163.1 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.9/56.66, allocations: 0 / 6.933 GB, free: 163.1 MB / 1.12 GB