Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.01835/0.01836, allocations: 107 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.002709/0.002709, allocations: 181.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.116/2.116, allocations: 194.6 MB / 211.3 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.554/2.554, allocations: 236.1 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005291/0.0005293, allocations: 11.98 kB / 0.587 GB, free: 2.109 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7292/0.7297, allocations: 98.72 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.09137/0.8212, allocations: 46.27 MB / 0.7286 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.037/0.8582, allocations: 15.32 MB / 0.7436 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003852/0.8622, allocations: 63.56 kB / 0.7436 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004876/0.8671, allocations: 0.8123 MB / 0.7444 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.8785, allocations: 2.111 MB / 0.7465 GB, free: 13.73 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007439/0.886, allocations: 1.388 MB / 0.7478 GB, free: 12.34 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.02712/0.9132, allocations: 11.34 MB / 0.7589 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01723/0.9305, allocations: 7.104 MB / 0.7658 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01297/0.9435, allocations: 4.446 MB / 0.7702 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/0.9546, allocations: 3.859 MB / 0.774 GB, free: 1.473 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.002864/0.9575, allocations: 344 kB / 0.7743 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007891/0.9655, allocations: 0.8352 MB / 0.7751 GB, free: 308 kB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.004327/0.9699, allocations: 1.413 MB / 0.7765 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.004954/0.9749, allocations: 1.592 MB / 0.778 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01902/0.994, allocations: 10.04 MB / 0.7878 GB, free: 3.215 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.994, allocations: 4 kB / 0.7878 GB, free: 3.211 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.447e-06/0.9941, allocations: 0 / 0.7878 GB, free: 3.211 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0004951/0.9946, allocations: 0 / 0.7878 GB, free: 3.211 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.02692/1.021, allocations: 6.873 MB / 0.7946 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/1.022, allocations: 8.031 kB / 0.7946 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004149/1.026, allocations: 0.8457 MB / 0.7954 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005809/1.032, allocations: 0.8345 MB / 0.7962 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02133/1.053, allocations: 5.909 MB / 0.802 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007995/1.054, allocations: 464.2 kB / 0.8024 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00302/1.057, allocations: 0.5936 MB / 0.803 GB, free: 3.516 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03393/1.091, allocations: 8.752 MB / 0.8115 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003842/1.091, allocations: 19.78 kB / 0.8116 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002702/1.094, allocations: 256 kB / 0.8118 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003278/1.094, allocations: 191.9 kB / 0.812 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02812/1.123, allocations: 7.438 MB / 0.8193 GB, free: 2.578 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.08509/1.208, allocations: 34.92 MB / 0.8534 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01359/1.221, allocations: 4.424 MB / 0.8577 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002341/1.224, allocations: 0.9817 MB / 0.8586 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008031/1.232, allocations: 2.329 MB / 0.8609 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004712/1.237, allocations: 471.4 kB / 0.8614 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=326): time 1.902e-05/1.237, allocations: 4 kB / 0.8614 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of matching and sorting (n=326): time 0.02736/1.264, allocations: 7.199 MB / 0.8684 GB, free: 13.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.486e-05/1.264, allocations: 85.97 kB / 0.8685 GB, free: 13.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01574/1.28, allocations: 5.664 MB / 0.874 GB, free: 8.227 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009541/1.281, allocations: 93.7 kB / 0.8741 GB, free: 8.129 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005413/1.286, allocations: 3.11 MB / 0.8771 GB, free: 4.988 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002742/1.289, allocations: 1.148 MB / 0.8783 GB, free: 3.824 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007535/1.29, allocations: 88 kB / 0.8783 GB, free: 3.738 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0005515/1.291, allocations: 495.7 kB / 0.8788 GB, free: 3.246 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007304/1.298, allocations: 2.183 MB / 0.8809 GB, free: 1.055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009151/1.307, allocations: 3.637 MB / 0.8845 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0091/1.316, allocations: 2.936 MB / 0.8874 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.005e-05/1.317, allocations: 16 kB / 0.8874 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=573) (initialization): time 0.02342/1.34, allocations: 6.767 MB / 0.894 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.34, allocations: 55.22 kB / 0.894 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/1.34, allocations: 48.84 kB / 0.8941 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/1.342, allocations: 434.1 kB / 0.8945 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008622/1.351, allocations: 1.065 MB / 0.8955 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/1.361, allocations: 5.324 MB / 0.9007 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009328/1.37, allocations: 494.6 kB / 0.9012 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.372, allocations: 216 kB / 0.9014 GB, free: 11.06 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (544): * Single equations (assignments): 541 * Array equations: 0 * Algorithm blocks: 1 * 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.007803/1.38, allocations: 2.444 MB / 0.9038 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002083/1.382, allocations: 0.5172 MB / 0.9043 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/1.4, allocations: 5.33 MB / 0.9095 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-05/1.4, allocations: 32 kB / 0.9095 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.401, allocations: 4 kB / 0.9095 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6336/2.034, allocations: 4.602 MB / 0.914 GB, free: 195.6 MB / 0.7292 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.05301/2.087, allocations: 12.07 MB / 0.9258 GB, free: 191 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/2.087, allocations: 0 / 0.9258 GB, free: 191 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006431/2.094, allocations: 0.6357 MB / 0.9264 GB, free: 191 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/2.095, allocations: 372.8 kB / 0.9268 GB, free: 190.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008474/2.096, allocations: 89.88 kB / 0.9269 GB, free: 190.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00873/2.105, allocations: 5.24 MB / 0.932 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/2.105, allocations: 1.094 kB / 0.932 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02374/2.129, allocations: 7.725 MB / 0.9395 GB, free: 184.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005712/2.135, allocations: 1.252 MB / 0.9408 GB, free: 183.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002593/2.137, allocations: 68.67 kB / 0.9408 GB, free: 183.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008368/2.146, allocations: 440.7 kB / 0.9413 GB, free: 183.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/2.147, allocations: 206.3 kB / 0.9415 GB, free: 183.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007306/2.148, allocations: 120.2 kB / 0.9416 GB, free: 183.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.01181/2.16, allocations: 3.988 MB / 0.9455 GB, free: 181.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.62e-07/2.16, allocations: 0 / 0.9455 GB, free: 181.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01105/2.171, allocations: 1.991 MB / 0.9474 GB, free: 181.6 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 20 (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,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,tan.vol[6].dynBal.U,tan.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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.02378/2.195, allocations: 8.721 MB / 0.9559 GB, free: 176.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01442/2.209, allocations: 5.432 MB / 0.9612 GB, free: 173.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/2.209, allocations: 3.688 kB / 0.9612 GB, free: 173.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007128/2.216, allocations: 2.551 MB / 0.9637 GB, free: 171.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02547/2.242, allocations: 3.135 MB / 0.9668 GB, free: 168.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2053/2.447, allocations: 82.11 MB / 1.047 GB, free: 83.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008613/2.456, allocations: 4.694 MB / 1.052 GB, free: 78.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01267/2.469, allocations: 2.201 MB / 1.054 GB, free: 76.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007008/2.476, allocations: 2.624 MB / 1.056 GB, free: 73.79 MB / 0.7292 GB Notification: Performance of SimCode: time 2.685e-06/2.476, allocations: 0 / 1.056 GB, free: 73.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4867/2.962, allocations: 167.2 MB / 1.22 GB, free: 3.762 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000483/2.963, allocations: 267.9 kB / 1.22 GB, free: 3.395 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.78/11.74, allocations: 4 kB / 1.22 GB, free: 3.391 MB / 0.823 GB