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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.338/4.338, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.129e-05/4.138e-05, allocations: 4.484 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2413, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.263/1.504, allocations: 391.1 MB / 1.017 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/1.504, allocations: 86.27 kB / 1.017 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 12.1/13.6, allocations: 2.11 GB / 3.127 GB, free: 126.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.725e-06/13.6, allocations: 1.781 kB / 3.127 GB, free: 126.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001287/13.6, allocations: 186.1 kB / 3.127 GB, free: 126.6 MB / 0.8386 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.02757/13.63, allocations: 6.087 MB / 3.133 GB, free: 124.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/13.63, allocations: 9.188 kB / 3.133 GB, free: 124.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004447/13.64, allocations: 0.8328 MB / 3.134 GB, free: 124.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006617/13.64, allocations: 0.8333 MB / 3.134 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02879/13.67, allocations: 7.614 MB / 3.142 GB, free: 122.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008159/13.67, allocations: 461.7 kB / 3.142 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003462/13.68, allocations: 0.6026 MB / 3.143 GB, free: 121.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03166/13.71, allocations: 8.113 MB / 3.151 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005192/13.71, allocations: 31.83 kB / 3.151 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002846/13.71, allocations: 252.1 kB / 3.151 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002596/13.71, allocations: 179.2 kB / 3.151 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02425/13.74, allocations: 6.752 MB / 3.158 GB, free: 115.4 MB / 0.8386 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.07812/13.81, allocations: 32.9 MB / 3.19 GB, free: 84.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/13.82, allocations: 4.274 MB / 3.194 GB, free: 80.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008269/13.83, allocations: 3.453 MB / 3.198 GB, free: 77.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/13.83, allocations: 0.9587 MB / 3.198 GB, free: 75.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006614/13.84, allocations: 2.2 MB / 3.201 GB, free: 73.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004994/13.85, allocations: 494.2 kB / 3.201 GB, free: 73.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=326): time 1.715e-05/13.85, allocations: 0 / 3.201 GB, free: 73.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=326): time 0.01417/13.86, allocations: 4.544 MB / 3.206 GB, free: 68.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/13.86, allocations: 89.91 kB / 3.206 GB, free: 68.49 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01406/13.87, allocations: 5.056 MB / 3.211 GB, free: 63.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001061/13.88, allocations: 89.7 kB / 3.211 GB, free: 63.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.004659/13.88, allocations: 3.09 MB / 3.214 GB, free: 60.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002288/13.88, allocations: 1.149 MB / 3.215 GB, free: 59.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005987/13.88, allocations: 92 kB / 3.215 GB, free: 59.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004084/13.88, allocations: 499.5 kB / 3.215 GB, free: 58.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005703/13.89, allocations: 2.062 MB / 3.217 GB, free: 56.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007162/13.9, allocations: 3.527 MB / 3.221 GB, free: 52.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0072/13.9, allocations: 2.832 MB / 3.224 GB, free: 49.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.996e-05/13.9, allocations: 12 kB / 3.224 GB, free: 49.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01968/13.92, allocations: 6.528 MB / 3.23 GB, free: 42.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/13.92, allocations: 53.7 kB / 3.23 GB, free: 42.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.787e-05/13.92, allocations: 48.84 kB / 3.23 GB, free: 42.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/13.93, allocations: 427.8 kB / 3.23 GB, free: 42.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008192/13.93, allocations: 1.041 MB / 3.231 GB, free: 41.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007956/13.94, allocations: 5.292 MB / 3.237 GB, free: 35.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009817/13.95, allocations: 470.8 kB / 3.237 GB, free: 35.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/13.95, allocations: 227.8 kB / 3.237 GB, free: 35.01 MB / 0.8386 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 () * 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.001312/13.95, allocations: 385.2 kB / 3.238 GB, free: 34.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/13.96, allocations: 0.5172 MB / 3.238 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/13.97, allocations: 5.324 MB / 3.243 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.962e-05/13.97, allocations: 32 kB / 3.243 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/13.97, allocations: 7.938 kB / 3.243 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01093/13.98, allocations: 4.361 MB / 3.248 GB, free: 24.22 MB / 0.8386 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 postOpt removeSimpleEquations (simulation): time 0.03965/14.02, allocations: 11.65 MB / 3.259 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/14.02, allocations: 0 / 3.259 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006361/14.03, allocations: 0.6359 MB / 3.26 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/14.03, allocations: 361.9 kB / 3.26 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009678/14.03, allocations: 87.95 kB / 3.26 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007599/14.04, allocations: 5.219 MB / 3.265 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/14.04, allocations: 0 / 3.265 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/14.06, allocations: 7.446 MB / 3.272 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00634/14.07, allocations: 1.217 MB / 3.274 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002742/14.07, allocations: 60 kB / 3.274 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008471/14.08, allocations: 411.2 kB / 3.274 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001245/14.08, allocations: 198.5 kB / 3.274 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004576/14.08, allocations: 103.9 kB / 3.274 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01317/14.09, allocations: 3.964 MB / 3.278 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.91e-07/14.09, allocations: 0 / 3.278 GB, free: 8.438 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01189/14.11, allocations: 2.042 MB / 3.28 GB, free: 6.391 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 296 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.7667/14.87, allocations: 8.839 MB / 3.289 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02122/14.89, allocations: 5.194 MB / 3.294 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/14.89, allocations: 5.719 kB / 3.294 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009332/14.9, allocations: 2.429 MB / 3.296 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02786/14.93, allocations: 3.131 MB / 3.299 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04884/14.98, allocations: 13.81 MB / 3.313 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009844/14.99, allocations: 4.701 MB / 3.317 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01246/15, allocations: 1.966 MB / 3.319 GB, free: 137 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008659/15.01, allocations: 2.645 MB / 3.322 GB, free: 137 MB / 0.8542 GB Notification: Performance of SimCode: time 1.683e-06/15.01, allocations: 0 / 3.322 GB, free: 137 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4028/15.41, allocations: 171.9 MB / 3.49 GB, free: 78.61 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/15.41, allocations: 236.2 kB / 3.49 GB, free: 78.36 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.711/25.13, allocations: 0 / 3.49 GB, free: 78.36 MB / 0.8542 GB