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/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.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.104/4.104, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.955e-05, allocations: 3.625 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2287, allocations: 98.74 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.167/1.396, allocations: 390.4 MB / 1.01 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/1.396, allocations: 92.97 kB / 1.01 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 12.22/13.62, allocations: 2.099 GB / 3.109 GB, free: 133 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.278e-06/13.62, allocations: 2.156 kB / 3.109 GB, free: 133 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001616/13.62, allocations: 191.2 kB / 3.109 GB, free: 133 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.04132/13.66, allocations: 6.083 MB / 3.115 GB, free: 130.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/13.66, allocations: 10.47 kB / 3.115 GB, free: 130.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0076/13.67, allocations: 0.8282 MB / 3.116 GB, free: 130.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04904/13.72, allocations: 7.621 MB / 3.124 GB, free: 129.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007628/13.72, allocations: 197.1 kB / 3.124 GB, free: 129.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004143/13.72, allocations: 364.6 kB / 3.124 GB, free: 129.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03013/13.75, allocations: 6.357 MB / 3.13 GB, free: 129.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03843/13.79, allocations: 7.246 MB / 3.137 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006323/13.79, allocations: 23.03 kB / 3.137 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003246/13.8, allocations: 9.906 kB / 3.137 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000353/13.8, allocations: 183.1 kB / 3.138 GB, free: 128.7 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.07482/13.87, allocations: 32.03 MB / 3.169 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/13.88, allocations: 4.181 MB / 3.173 GB, free: 110.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00759/13.89, allocations: 3.084 MB / 3.176 GB, free: 109.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/13.89, allocations: 0.6296 MB / 3.177 GB, free: 109 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006223/13.9, allocations: 2.084 MB / 3.179 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004591/13.9, allocations: 357 kB / 3.179 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=324): time 3.238e-05/13.9, allocations: 0 / 3.179 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=324): time 0.01543/13.92, allocations: 4.579 MB / 3.183 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/13.92, allocations: 91.39 kB / 3.183 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/13.93, allocations: 4.173 MB / 3.188 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001055/13.93, allocations: 29.61 kB / 3.188 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.004992/13.94, allocations: 3.113 MB / 3.191 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002361/13.94, allocations: 1.099 MB / 3.192 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009019/13.94, allocations: 0 / 3.192 GB, free: 101.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005024/13.94, allocations: 0.4907 MB / 3.192 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005488/13.95, allocations: 1.97 MB / 3.194 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007041/13.95, allocations: 3.41 MB / 3.197 GB, free: 97.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009177/13.96, allocations: 3.002 MB / 3.2 GB, free: 95.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.208e-05/13.96, allocations: 13.75 kB / 3.2 GB, free: 95.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=573) (initialization): time 0.02163/13.98, allocations: 6.259 MB / 3.207 GB, free: 90.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/13.98, allocations: 53.7 kB / 3.207 GB, free: 90.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.578e-05/13.98, allocations: 47.75 kB / 3.207 GB, free: 90.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/13.99, allocations: 428.2 kB / 3.207 GB, free: 90.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008182/13.99, allocations: 1.043 MB / 3.208 GB, free: 89.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008334/14, allocations: 5.132 MB / 3.213 GB, free: 84.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009439/14.01, allocations: 382.6 kB / 3.213 GB, free: 84.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001515/14.01, allocations: 218.7 kB / 3.214 GB, free: 83.97 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.002147/14.02, allocations: 248.6 kB / 3.214 GB, free: 83.73 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01575/14.03, allocations: 4.575 MB / 3.218 GB, free: 79.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002593/14.03, allocations: 462.4 kB / 3.219 GB, free: 79.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/14.05, allocations: 5.028 MB / 3.224 GB, free: 75.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.504e-05/14.05, allocations: 28 kB / 3.224 GB, free: 75.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/14.05, allocations: 8 kB / 3.224 GB, free: 75.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01369/14.07, allocations: 4.447 MB / 3.228 GB, free: 70.92 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.03915/14.11, allocations: 10.98 MB / 3.239 GB, free: 59.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/14.11, allocations: 0 / 3.239 GB, free: 59.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006211/14.11, allocations: 0.6359 MB / 3.239 GB, free: 59.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/14.11, allocations: 371.6 kB / 3.24 GB, free: 58.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009377/14.11, allocations: 43.95 kB / 3.24 GB, free: 58.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008041/14.12, allocations: 5.047 MB / 3.245 GB, free: 53.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/14.12, allocations: 0 / 3.245 GB, free: 53.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02052/14.14, allocations: 7.406 MB / 3.252 GB, free: 46.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005482/14.15, allocations: 1.135 MB / 3.253 GB, free: 44.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002711/14.15, allocations: 15.98 kB / 3.253 GB, free: 44.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007907/14.16, allocations: 355.2 kB / 3.253 GB, free: 44.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001242/14.16, allocations: 210.3 kB / 3.254 GB, free: 44.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006013/14.16, allocations: 99.97 kB / 3.254 GB, free: 44.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.009116/14.17, allocations: 3.177 MB / 3.257 GB, free: 41.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.954e-06/14.17, allocations: 0 / 3.257 GB, free: 41.04 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01298/14.18, allocations: 2.009 MB / 3.259 GB, free: 39.03 MB / 0.8386 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.02353/14.21, allocations: 8.766 MB / 3.267 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01265/14.22, allocations: 4.949 MB / 3.272 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/14.22, allocations: 8.297 kB / 3.272 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.006109/14.23, allocations: 2.339 MB / 3.274 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02101/14.25, allocations: 2.459 MB / 3.277 GB, free: 20.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04583/14.29, allocations: 13.3 MB / 3.29 GB, free: 7.301 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/14.3, allocations: 4.696 MB / 3.294 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0122/14.32, allocations: 1.797 MB / 3.296 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009229/14.32, allocations: 2.629 MB / 3.299 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of SimCode: time 1.884e-06/14.32, allocations: 0 / 3.299 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.068/15.39, allocations: 141.3 MB / 3.437 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/15.39, allocations: 185.4 kB / 3.437 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.498/23.89, allocations: 7.469 kB / 3.437 GB, free: 128.4 MB / 0.8542 GB