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.Stratified.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.Stratified,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Examples_Stratified",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0108/0.0108, allocations: 107.5 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001331/0.001331, allocations: 179.2 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.148/2.148, allocations: 194.5 MB / 211.2 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.319/2.319, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005307/0.0005307, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7031, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.06981/0.773, allocations: 46.42 MB / 0.7288 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03106/0.8041, allocations: 14.92 MB / 0.7433 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003227/0.8074, allocations: 63.56 kB / 0.7434 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00406/0.8115, allocations: 0.8552 MB / 0.7442 GB, free: 0 / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.8222, allocations: 2.243 MB / 0.7464 GB, free: 13.75 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007553/0.8298, allocations: 1.537 MB / 0.7479 GB, free: 12.21 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.02801/0.8578, allocations: 15.55 MB / 0.7631 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01971/0.8776, allocations: 9.949 MB / 0.7728 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01568/0.8933, allocations: 5.992 MB / 0.7787 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01379/0.9072, allocations: 5.283 MB / 0.7838 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.002925/0.9101, allocations: 468 kB / 0.7843 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009666/0.9198, allocations: 1.225 MB / 0.7855 GB, free: 5.609 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.005055/0.9249, allocations: 1.931 MB / 0.7873 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.006064/0.931, allocations: 2.2 MB / 0.7895 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.02436/0.9555, allocations: 14 MB / 0.8032 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.9555, allocations: 3.938 kB / 0.8032 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.887e-06/0.9555, allocations: 3.938 kB / 0.8032 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0006464/0.9562, allocations: 0 / 0.8032 GB, free: 3.422 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: 2143 * Number of variables: 2143 Notification: Performance of Generate backend data structure: time 0.03414/0.9903, allocations: 9.412 MB / 0.8124 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.9904, allocations: 12.03 kB / 0.8124 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005265/0.9957, allocations: 1.142 MB / 0.8135 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007603/1.003, allocations: 1.159 MB / 0.8146 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02807/1.031, allocations: 8.185 MB / 0.8226 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009934/1.033, allocations: 0.6178 MB / 0.8232 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003966/1.037, allocations: 0.8201 MB / 0.824 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.043/1.08, allocations: 12.16 MB / 0.8359 GB, free: 1.332 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004977/1.08, allocations: 27.8 kB / 0.8359 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003052/1.083, allocations: 352 kB / 0.8363 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003678/1.084, allocations: 247.9 kB / 0.8365 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03542/1.119, allocations: 10.35 MB / 0.8466 GB, free: 6.355 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.1068/1.226, allocations: 48.39 MB / 0.8939 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01701/1.243, allocations: 6.411 MB / 0.9001 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002223/1.245, allocations: 0.8477 MB / 0.901 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009663/1.255, allocations: 3.275 MB / 0.9042 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00567/1.261, allocations: 0.533 MB / 0.9047 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=453): time 1.466e-05/1.261, allocations: 0 / 0.9047 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of matching and sorting (n=453): time 1.177/2.437, allocations: 8.985 MB / 0.9134 GB, free: 190.7 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/2.438, allocations: 157 kB / 0.9136 GB, free: 190.6 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02368/2.461, allocations: 7.744 MB / 0.9212 GB, free: 188.2 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/2.463, allocations: 111.6 kB / 0.9213 GB, free: 188.1 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.008935/2.472, allocations: 4.241 MB / 0.9254 GB, free: 185.7 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 0.004694/2.476, allocations: 1.575 MB / 0.9269 GB, free: 184.5 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001632/2.478, allocations: 115.3 kB / 0.9271 GB, free: 184.4 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 0.0009266/2.479, allocations: 0.5435 MB / 0.9276 GB, free: 184 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01108/2.49, allocations: 3.004 MB / 0.9305 GB, free: 183 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01068/2.501, allocations: 4.843 MB / 0.9352 GB, free: 179.7 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/2.512, allocations: 4.046 MB / 0.9392 GB, free: 178.1 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/2.512, allocations: 16.88 kB / 0.9392 GB, free: 178.1 MB / 0.7293 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.02584/2.538, allocations: 8.781 MB / 0.9478 GB, free: 174.8 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.005912/2.544, allocations: 28.32 MB / 0.9754 GB, free: 144.7 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002524/2.544, allocations: 60.91 kB / 0.9755 GB, free: 144.7 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/2.544, allocations: 96.66 kB / 0.9756 GB, free: 144.7 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01132/2.556, allocations: 1.423 MB / 0.977 GB, free: 144.6 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001518/2.556, allocations: 123.8 kB / 0.9771 GB, free: 144.5 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/2.567, allocations: 0.6347 MB / 0.9777 GB, free: 144.4 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/2.569, allocations: 280.8 kB / 0.978 GB, free: 144.3 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/2.569, allocations: 4.344 kB / 0.978 GB, free: 144.3 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02051/2.589, allocations: 8.205 MB / 0.986 GB, free: 140.4 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/2.59, allocations: 57.12 kB / 0.9861 GB, free: 140.4 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.977e-05/2.59, allocations: 100.1 kB / 0.9862 GB, free: 140.4 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01317/2.603, allocations: 1.419 MB / 0.9875 GB, free: 140 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002179/2.603, allocations: 129 kB / 0.9877 GB, free: 140 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02336/2.627, allocations: 0.6139 MB / 0.9883 GB, free: 139.7 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00622/2.633, allocations: 269.3 kB / 0.9885 GB, free: 139.6 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 258 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02065/2.653, allocations: 3.552 MB / 0.992 GB, free: 137.4 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01107/2.665, allocations: 0.6985 MB / 0.9927 GB, free: 137 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02287/2.688, allocations: 7.071 MB / 0.9996 GB, free: 130.9 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-05/2.688, allocations: 44 kB / 0.9996 GB, free: 130.9 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/2.688, allocations: 0 / 0.9996 GB, free: 130.9 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.015/2.703, allocations: 5.781 MB / 1.005 GB, free: 125.1 MB / 0.7293 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 postOpt removeSimpleEquations (simulation): time 0.04768/2.75, allocations: 16.35 MB / 1.021 GB, free: 108.7 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-05/2.75, allocations: 0 / 1.021 GB, free: 108.7 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008569/2.759, allocations: 0.8972 MB / 1.022 GB, free: 107.8 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.804e-05/2.759, allocations: 12 kB / 1.022 GB, free: 107.8 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009326/2.76, allocations: 120.8 kB / 1.022 GB, free: 107.6 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-05/2.76, allocations: 20 kB / 1.022 GB, free: 107.6 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.76, allocations: 0 / 1.022 GB, free: 107.6 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02445/2.785, allocations: 10.61 MB / 1.033 GB, free: 96.95 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006785/2.791, allocations: 1.73 MB / 1.034 GB, free: 95.19 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002668/2.794, allocations: 91.98 kB / 1.034 GB, free: 95.1 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01062/2.805, allocations: 0.605 MB / 1.035 GB, free: 94.5 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/2.806, allocations: 247.1 kB / 1.035 GB, free: 94.26 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006415/2.807, allocations: 171.9 kB / 1.035 GB, free: 94.09 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.01314/2.82, allocations: 5.461 MB / 1.041 GB, free: 88.65 MB / 0.7293 GB Notification: Performance of sort global known variables: time 9.72e-07/2.82, allocations: 0 / 1.041 GB, free: 88.65 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.02017/2.84, allocations: 4.815 MB / 1.045 GB, free: 83.85 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (447): * Single equations (assignments): 443 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02876/2.869, allocations: 11.71 MB / 1.057 GB, free: 72.15 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.02855/2.898, allocations: 11.52 MB / 1.068 GB, free: 60.61 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/2.898, allocations: 8.156 kB / 1.068 GB, free: 60.6 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.008372/2.906, allocations: 3.24 MB / 1.071 GB, free: 57.34 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03451/2.941, allocations: 4.333 MB / 1.076 GB, free: 53.07 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3708/3.312, allocations: 112.7 MB / 1.186 GB, free: 15.81 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.013/3.325, allocations: 6.229 MB / 1.192 GB, free: 9.555 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.02316/3.348, allocations: 4.272 MB / 1.196 GB, free: 5.27 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01145/3.359, allocations: 3.713 MB / 1.199 GB, free: 1.555 MB / 0.8074 GB Notification: Performance of SimCode: time 1.172e-06/3.359, allocations: 0 / 1.199 GB, free: 1.555 MB / 0.8074 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.177/4.536, allocations: 227.1 MB / 1.421 GB, free: 127.1 MB / 0.8387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/4.537, allocations: 214.8 kB / 1.421 GB, free: 126.9 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/15.88, allocations: 0 / 1.421 GB, free: 126.9 MB / 0.8387 GB