Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.01228/0.01229, allocations: 88.75 kB / 15.04 MB, free: 6.051 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.001219/0.001219, allocations: 169.8 kB / 15.92 MB, free: 5.992 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.138/2.138, 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.971/2.971, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004972, allocations: 10.06 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2525, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.07618/0.3288, allocations: 41.23 MB / 0.7683 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02751/0.3563, allocations: 11.89 MB / 0.7799 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.3593, allocations: 55.62 kB / 0.78 GB, free: 4.859 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004033/0.3634, allocations: 0.7462 MB / 0.7807 GB, free: 4.109 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009679/0.3731, allocations: 1.955 MB / 0.7826 GB, free: 2.148 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.006734/0.3799, allocations: 1.332 MB / 0.7839 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02435/0.4043, allocations: 10.47 MB / 0.7941 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01489/0.4192, allocations: 6.5 MB / 0.8005 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.4305, allocations: 3.986 MB / 0.8044 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009343/0.4399, allocations: 3.442 MB / 0.8077 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002364/0.4423, allocations: 300 kB / 0.808 GB, free: 8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006919/0.4493, allocations: 0.8 MB / 0.8088 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003649/0.453, allocations: 1.292 MB / 0.8101 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004243/0.4573, allocations: 1.471 MB / 0.8115 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01754/0.4749, allocations: 9.29 MB / 0.8206 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4749, allocations: 0 / 0.8206 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 6.242e-06/0.475, allocations: 4 kB / 0.8206 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004457/0.4754, allocations: 3.938 kB / 0.8206 GB, free: 11.1 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02643/0.5018, allocations: 6.256 MB / 0.8267 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.982e-05/0.5019, allocations: 8.031 kB / 0.8267 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004272/0.5062, allocations: 0.76 MB / 0.8274 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007025/0.5133, allocations: 0.7767 MB / 0.8282 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02789/0.5413, allocations: 5.594 MB / 0.8337 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/0.5424, allocations: 415.1 kB / 0.8341 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003004/0.5454, allocations: 0.5428 MB / 0.8346 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03743/0.5829, allocations: 7.883 MB / 0.8423 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004936/0.5835, allocations: 11.88 kB / 0.8423 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002624/0.5861, allocations: 240 kB / 0.8425 GB, free: 4.262 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003865/0.5866, allocations: 167.9 kB / 0.8427 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6372/1.224, allocations: 6.516 MB / 0.8491 GB, free: 105.7 MB / 0.6667 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.1289/1.353, allocations: 30.78 MB / 0.8791 GB, free: 85.64 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01748/1.37, allocations: 3.749 MB / 0.8828 GB, free: 83.73 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002154/1.373, allocations: 0.8395 MB / 0.8836 GB, free: 82.84 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/1.373, allocations: 68.3 kB / 0.8837 GB, free: 82.78 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=275): time 1.229e-05/1.373, allocations: 0 / 0.8837 GB, free: 82.78 MB / 0.6667 GB Notification: Performance of matching and sorting (n=275): time 0.03339/1.406, allocations: 5.853 MB / 0.8894 GB, free: 79.68 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/1.406, allocations: 84.59 kB / 0.8895 GB, free: 79.61 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01528/1.422, allocations: 5.321 MB / 0.8947 GB, free: 76.86 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0008167/1.423, allocations: 77.58 kB / 0.8947 GB, free: 76.79 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.003748/1.426, allocations: 2.828 MB / 0.8975 GB, free: 74.33 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.002013/1.428, allocations: 0.9613 MB / 0.8984 GB, free: 73.51 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005647/1.429, allocations: 75.44 kB / 0.8985 GB, free: 73.45 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003927/1.429, allocations: 467.4 kB / 0.8989 GB, free: 73.03 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007659/1.437, allocations: 1.709 MB / 0.9006 GB, free: 72.14 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009959/1.447, allocations: 2.914 MB / 0.9035 GB, free: 69.68 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009546/1.457, allocations: 2.315 MB / 0.9057 GB, free: 68.42 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.46e-05/1.457, allocations: 11.12 kB / 0.9057 GB, free: 68.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.02503/1.482, allocations: 5.491 MB / 0.9111 GB, free: 63.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/1.482, allocations: 20 kB / 0.9111 GB, free: 63.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.86e-05/1.482, allocations: 40 kB / 0.9112 GB, free: 63.53 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/1.485, allocations: 426.4 kB / 0.9116 GB, free: 63.11 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00975/1.495, allocations: 0.8619 MB / 0.9124 GB, free: 62.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/1.508, allocations: 5.33 MB / 0.9176 GB, free: 56.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01217/1.52, allocations: 0.6858 MB / 0.9183 GB, free: 55.97 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/1.521, allocations: 176 kB / 0.9184 GB, free: 55.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (455): * Single equations (assignments): 453 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009773/1.531, allocations: 2.261 MB / 0.9206 GB, free: 53.53 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003206/1.534, allocations: 482.2 kB / 0.9211 GB, free: 53.05 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02059/1.555, allocations: 4.265 MB / 0.9253 GB, free: 48.73 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.202e-05/1.555, allocations: 31.95 kB / 0.9253 GB, free: 48.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.325e-05/1.555, allocations: 4 kB / 0.9253 GB, free: 48.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01586/1.571, allocations: 3.709 MB / 0.9289 GB, free: 44.87 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04831/1.62, allocations: 10.46 MB / 0.9392 GB, free: 34.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-05/1.62, allocations: 4 kB / 0.9392 GB, free: 34.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007346/1.627, allocations: 0.5156 MB / 0.9397 GB, free: 33.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002417/1.629, allocations: 377.3 kB / 0.94 GB, free: 33.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008867/1.63, allocations: 79.95 kB / 0.9401 GB, free: 33.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/1.643, allocations: 5.266 MB / 0.9452 GB, free: 27.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/1.643, allocations: 11.94 kB / 0.9452 GB, free: 27.74 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/1.664, allocations: 7.152 MB / 0.9522 GB, free: 20.23 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004807/1.669, allocations: 1.228 MB / 0.9534 GB, free: 18.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002169/1.671, allocations: 63.98 kB / 0.9535 GB, free: 18.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008363/1.679, allocations: 354.7 kB / 0.9538 GB, free: 18.57 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001193/1.681, allocations: 177.8 kB / 0.954 GB, free: 18.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001078/1.682, allocations: 119.9 kB / 0.9541 GB, free: 18.27 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0152/1.697, allocations: 3.922 MB / 0.9579 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.803e-06/1.697, allocations: 0 / 0.9579 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01287/1.71, allocations: 1.802 MB / 0.9597 GB, free: 12.58 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * 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 (250): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03019/1.74, allocations: 9.092 MB / 0.9686 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0183/1.759, allocations: 4.323 MB / 0.9728 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/1.759, allocations: 4 kB / 0.9728 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.009759/1.768, allocations: 2.091 MB / 0.9749 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04329/1.812, allocations: 3.234 MB / 0.978 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3282/2.14, allocations: 71.94 MB / 1.048 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01451/2.155, allocations: 4.39 MB / 1.053 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01795/2.173, allocations: 1.905 MB / 1.054 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01153/2.184, allocations: 2.397 MB / 1.057 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of SimCode: time 2.094e-06/2.184, allocations: 0 / 1.057 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.052/3.237, allocations: 160.4 MB / 1.213 GB, free: 278.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/3.237, allocations: 261 kB / 1.214 GB, free: 278.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/11.3, allocations: 3.938 kB / 1.214 GB, free: 278.2 MB / 0.8698 GB