Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0158/0.01581, allocations: 87.36 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.00186/0.00186, allocations: 171.2 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.144/2.144, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.387/2.387, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005208/0.0005208, allocations: 11.62 kB / 0.6243 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2471, allocations: 106.2 MB / 0.7281 GB, free: 8.117 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.08718/0.3344, allocations: 31.88 MB / 0.7592 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.03711/0.3715, allocations: 11.05 MB / 0.77 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002726/0.3743, allocations: 39.69 kB / 0.77 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004769/0.3792, allocations: 0.657 MB / 0.7707 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/0.39, allocations: 1.55 MB / 0.7722 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01679/0.4068, allocations: 2.512 MB / 0.7746 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01498/0.4218, allocations: 4.437 MB / 0.779 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005796/0.4277, allocations: 2.736 MB / 0.7816 GB, free: 1.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005209/0.433, allocations: 1.826 MB / 0.7834 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004073/0.4371, allocations: 1.536 MB / 0.7849 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0009359/0.4381, allocations: 132 kB / 0.785 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00395/0.442, allocations: 0.6826 MB / 0.7857 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001605/0.4437, allocations: 0.5565 MB / 0.7863 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.4455, allocations: 0.6408 MB / 0.7869 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.007683/0.4532, allocations: 3.881 MB / 0.7907 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4533, allocations: 0 / 0.7907 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4533, allocations: 0 / 0.7907 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000163/0.4534, allocations: 0 / 0.7907 GB, free: 7.805 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01038/0.4638, allocations: 2.988 MB / 0.7936 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.4639, allocations: 12.03 kB / 0.7936 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00148/0.4654, allocations: 340.9 kB / 0.7939 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/0.4672, allocations: 352 kB / 0.7943 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007876/0.4751, allocations: 2.345 MB / 0.7965 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.4754, allocations: 180.6 kB / 0.7967 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009047/0.4763, allocations: 240 kB / 0.7969 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.4864, allocations: 3.172 MB / 0.8 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.972e-05/0.4866, allocations: 4 kB / 0.8001 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004116/0.487, allocations: 95.95 kB / 0.8001 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.4871, allocations: 67.98 kB / 0.8002 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008864/0.496, allocations: 2.566 MB / 0.8027 GB, free: 11.18 MB / 0.6355 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.03048/0.5266, allocations: 13.8 MB / 0.8162 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004675/0.5313, allocations: 1.626 MB / 0.8178 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.5327, allocations: 0.7244 MB / 0.8185 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.5327, allocations: 47.55 kB / 0.8185 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002102/0.5349, allocations: 191.8 kB / 0.8187 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 4.479e-06/0.5349, allocations: 7.938 kB / 0.8187 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of matching and sorting (n=126): time 0.01577/0.5507, allocations: 3.4 MB / 0.822 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.5508, allocations: 141.5 kB / 0.8222 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00496/0.5558, allocations: 2.087 MB / 0.8242 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000429/0.5563, allocations: 57.64 kB / 0.8243 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.558, allocations: 1.25 MB / 0.8255 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008275/0.5588, allocations: 445.7 kB / 0.8259 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.559, allocations: 36 kB / 0.8259 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000218/0.5592, allocations: 369.9 kB / 0.8263 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/0.5614, allocations: 0.7378 MB / 0.827 GB, free: 0.8984 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6212/1.183, allocations: 1.227 MB / 0.8282 GB, free: 95.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/1.186, allocations: 0.9536 MB / 0.8291 GB, free: 95.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.51e-05/1.186, allocations: 4.719 kB / 0.8292 GB, free: 95.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008402/1.194, allocations: 2.425 MB / 0.8315 GB, free: 95.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001467/1.196, allocations: 5.7 MB / 0.8371 GB, free: 89.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.53e-05/1.196, allocations: 13.81 kB / 0.8371 GB, free: 89.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003615/1.2, allocations: 0.4904 MB / 0.8376 GB, free: 89.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/1.203, allocations: 341.9 kB / 0.8379 GB, free: 89.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005358/1.208, allocations: 3.164 MB / 0.841 GB, free: 86.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003842/1.212, allocations: 232.3 kB / 0.8412 GB, free: 86.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000481/1.213, allocations: 79.28 kB / 0.8413 GB, free: 86.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.213, allocations: 3.469 kB / 0.8413 GB, free: 86.73 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006826/1.219, allocations: 2.192 MB / 0.8434 GB, free: 85.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.552e-05/1.22, allocations: 13.72 kB / 0.8435 GB, free: 85.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/1.221, allocations: 247.6 kB / 0.8437 GB, free: 85.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/1.224, allocations: 364.8 kB / 0.844 GB, free: 85.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007182/1.231, allocations: 4.224 MB / 0.8482 GB, free: 82.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00367/1.234, allocations: 221.6 kB / 0.8484 GB, free: 82.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004443/1.235, allocations: 84.12 kB / 0.8485 GB, free: 82.45 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.002728/1.238, allocations: 1.001 MB / 0.8494 GB, free: 81.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007757/1.239, allocations: 206.2 kB / 0.8496 GB, free: 81.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/1.245, allocations: 2.072 MB / 0.8516 GB, free: 81.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/1.245, allocations: 20.09 kB / 0.8517 GB, free: 81.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.245, allocations: 7.828 kB / 0.8517 GB, free: 81.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004822/1.25, allocations: 1.67 MB / 0.8533 GB, free: 80.44 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/1.265, allocations: 4.67 MB / 0.8579 GB, free: 78.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/1.265, allocations: 1.406 kB / 0.8579 GB, free: 78.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/1.267, allocations: 198.8 kB / 0.8581 GB, free: 78.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002639/1.269, allocations: 427.9 kB / 0.8585 GB, free: 78.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/1.27, allocations: 40.45 kB / 0.8585 GB, free: 78.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/1.274, allocations: 3.072 MB / 0.8615 GB, free: 76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.274, allocations: 1.438 kB / 0.8615 GB, free: 76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008083/1.282, allocations: 3.054 MB / 0.8645 GB, free: 74.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/1.284, allocations: 0.5408 MB / 0.865 GB, free: 74.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007194/1.285, allocations: 28.53 kB / 0.865 GB, free: 74.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003346/1.288, allocations: 200.1 kB / 0.8652 GB, free: 74.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004986/1.289, allocations: 107.3 kB / 0.8653 GB, free: 74.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002162/1.289, allocations: 51.98 kB / 0.8654 GB, free: 74.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003649/1.293, allocations: 1.451 MB / 0.8668 GB, free: 73.65 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.4e-07/1.293, allocations: 0 / 0.8668 GB, free: 73.65 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00752/1.3, allocations: 1.484 MB / 0.8683 GB, free: 73.42 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.009361/1.31, allocations: 4.073 MB / 0.8722 GB, free: 71.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.009148/1.319, allocations: 3.367 MB / 0.8755 GB, free: 69.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.319, allocations: 0.5625 kB / 0.8755 GB, free: 69.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002768/1.322, allocations: 1.04 MB / 0.8765 GB, free: 68.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009313/1.331, allocations: 1.148 MB / 0.8777 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/1.353, allocations: 17.21 MB / 0.8945 GB, free: 53.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003377/1.356, allocations: 2.206 MB / 0.8966 GB, free: 50.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.007029/1.363, allocations: 0.9515 MB / 0.8975 GB, free: 49.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003153/1.366, allocations: 1.015 MB / 0.8985 GB, free: 48.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.223e-06/1.366, allocations: 4 kB / 0.8985 GB, free: 48.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1826/1.549, allocations: 66.17 MB / 0.9632 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004669/1.55, allocations: 283.8 kB / 0.9634 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.195/6.745, allocations: 3.938 kB / 0.9634 GB, free: 14.9 MB / 0.6823 GB