Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.374/4.374, allocations: 433.2 MB / 440.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.818e-05/4.819e-05, allocations: 4 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6739/0.674, allocations: 98.71 MB / 0.6289 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.879, allocations: 410.6 MB / 1.03 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/1.88, allocations: 92.19 kB / 1.03 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.349/7.228, allocations: 0.9327 GB / 1.963 GB, free: 101.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.134e-06/7.228, allocations: 3.938 kB / 1.963 GB, free: 101.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004896/7.229, allocations: 76.92 kB / 1.963 GB, free: 101.6 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009413/7.238, allocations: 2.669 MB / 1.965 GB, free: 98.88 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/7.238, allocations: 8.031 kB / 1.965 GB, free: 98.87 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/7.241, allocations: 357.1 kB / 1.966 GB, free: 98.52 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009731/7.25, allocations: 2.993 MB / 1.969 GB, free: 95.53 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/7.25, allocations: 72 kB / 1.969 GB, free: 95.46 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006997/7.251, allocations: 136 kB / 1.969 GB, free: 95.33 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006453/7.258, allocations: 2.203 MB / 1.971 GB, free: 93.12 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007453/7.265, allocations: 2.597 MB / 1.974 GB, free: 90.39 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.279e-05/7.265, allocations: 4 kB / 1.974 GB, free: 90.39 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002966/7.266, allocations: 4 kB / 1.974 GB, free: 90.38 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.09e-05/7.266, allocations: 75.92 kB / 1.974 GB, free: 90.31 MB / 0.823 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.02368/7.289, allocations: 12.46 MB / 1.986 GB, free: 77.11 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003653/7.293, allocations: 1.582 MB / 1.987 GB, free: 75.51 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002316/7.295, allocations: 1.079 MB / 1.988 GB, free: 74.43 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009476/7.296, allocations: 0.7166 MB / 1.989 GB, free: 73.57 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/7.296, allocations: 51.97 kB / 1.989 GB, free: 73.51 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002423/7.299, allocations: 202.2 kB / 1.989 GB, free: 73.31 MB / 0.823 GB Notification: Performance of pre-optimization done (n=124): time 6.182e-06/7.299, allocations: 0 / 1.989 GB, free: 73.31 MB / 0.823 GB Notification: Performance of matching and sorting (n=124): time 0.004586/7.304, allocations: 1.613 MB / 1.991 GB, free: 71.68 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/7.304, allocations: 145.8 kB / 1.991 GB, free: 71.51 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003512/7.307, allocations: 1.703 MB / 1.993 GB, free: 69.77 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004106/7.308, allocations: 29.7 kB / 1.993 GB, free: 69.73 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001424/7.309, allocations: 1.257 MB / 1.994 GB, free: 68.46 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006501/7.31, allocations: 421.3 kB / 1.994 GB, free: 68.05 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/7.31, allocations: 0 / 1.994 GB, free: 68.05 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001315/7.31, allocations: 373.9 kB / 1.995 GB, free: 67.68 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/7.311, allocations: 0.6521 MB / 1.995 GB, free: 67.02 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/7.313, allocations: 1.171 MB / 1.996 GB, free: 65.62 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/7.315, allocations: 0.9157 MB / 1.997 GB, free: 64.71 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/7.315, allocations: 4 kB / 1.997 GB, free: 64.71 MB / 0.823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.005642/7.321, allocations: 2.167 MB / 1.999 GB, free: 62.53 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001248/7.322, allocations: 5.68 MB / 2.005 GB, free: 56.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.757e-05/7.323, allocations: 16 kB / 2.005 GB, free: 56.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/7.324, allocations: 297.1 kB / 2.005 GB, free: 56.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/7.327, allocations: 355.4 kB / 2.006 GB, free: 55.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004162/7.331, allocations: 2.985 MB / 2.009 GB, free: 52.58 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/7.335, allocations: 195.5 kB / 2.009 GB, free: 52.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003502/7.335, allocations: 75.98 kB / 2.009 GB, free: 52.31 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/7.335, allocations: 4 kB / 2.009 GB, free: 52.31 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004934/7.34, allocations: 1.903 MB / 2.011 GB, free: 50.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/7.34, allocations: 16.19 kB / 2.011 GB, free: 50.38 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008176/7.341, allocations: 209.3 kB / 2.011 GB, free: 50.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/7.344, allocations: 387.3 kB / 2.011 GB, free: 49.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004735/7.348, allocations: 3.759 MB / 2.015 GB, free: 45.82 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003573/7.352, allocations: 183.5 kB / 2.015 GB, free: 45.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002934/7.352, allocations: 79.97 kB / 2.015 GB, free: 45.56 MB / 0.823 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,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 180 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005261/7.353, allocations: 156.9 kB / 2.015 GB, free: 45.4 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004245/7.357, allocations: 1.601 MB / 2.017 GB, free: 43.79 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/7.358, allocations: 197.6 kB / 2.017 GB, free: 43.59 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005008/7.363, allocations: 1.839 MB / 2.019 GB, free: 41.75 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/7.363, allocations: 19.98 kB / 2.019 GB, free: 41.73 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/7.363, allocations: 112 / 2.019 GB, free: 41.73 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003398/7.366, allocations: 1.48 MB / 2.02 GB, free: 40.23 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/7.378, allocations: 4.033 MB / 2.024 GB, free: 36.15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/7.378, allocations: 4 kB / 2.024 GB, free: 36.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/7.379, allocations: 203.7 kB / 2.025 GB, free: 35.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/7.38, allocations: 277.5 kB / 2.025 GB, free: 35.67 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/7.381, allocations: 23.94 kB / 2.025 GB, free: 35.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003716/7.384, allocations: 2.927 MB / 2.028 GB, free: 32.59 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/7.384, allocations: 3.281 kB / 2.028 GB, free: 32.59 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006164/7.391, allocations: 2.776 MB / 2.03 GB, free: 29.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/7.392, allocations: 498.5 kB / 2.031 GB, free: 29.24 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005257/7.393, allocations: 15.98 kB / 2.031 GB, free: 29.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/7.396, allocations: 167.6 kB / 2.031 GB, free: 29.06 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/7.396, allocations: 97.16 kB / 2.031 GB, free: 28.97 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/7.396, allocations: 39.98 kB / 2.031 GB, free: 28.93 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002731/7.399, allocations: 1.297 MB / 2.032 GB, free: 27.61 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.31e-07/7.399, allocations: 0 / 2.032 GB, free: 27.61 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007098/7.406, allocations: 1.447 MB / 2.034 GB, free: 26.16 MB / 0.823 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,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.007669/7.414, allocations: 3.969 MB / 2.038 GB, free: 22.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00678/7.421, allocations: 3.089 MB / 2.041 GB, free: 19.08 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/7.421, allocations: 3.438 kB / 2.041 GB, free: 19.08 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00198/7.423, allocations: 0.9131 MB / 2.042 GB, free: 18.17 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009051/7.432, allocations: 1.069 MB / 2.043 GB, free: 17.12 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/7.445, allocations: 4.874 MB / 2.047 GB, free: 12.21 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/7.448, allocations: 2.194 MB / 2.05 GB, free: 9.98 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006861/7.454, allocations: 1.322 MB / 2.051 GB, free: 8.691 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002152/7.457, allocations: 0.9757 MB / 2.052 GB, free: 7.715 MB / 0.823 GB Notification: Performance of SimCode: time 1.112e-06/7.457, allocations: 0 / 2.052 GB, free: 7.715 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8529/8.31, allocations: 64.78 MB / 2.115 GB, free: 137.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/8.31, allocations: 199.6 kB / 2.115 GB, free: 137.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.741/14.05, allocations: 0 / 2.115 GB, free: 137.6 MB / 0.823 GB