Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadModel(Buildings): time 3.875/3.875, allocations: 433.4 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.71e-05, allocations: 4 kB / 0.5325 GB, free: 1.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4915/0.4915, allocations: 98.71 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9706/1.462, allocations: 390.5 MB / 1.01 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004108/1.463, allocations: 84.2 kB / 1.01 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 10.02/11.49, allocations: 2.099 GB / 3.109 GB, free: 138.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.554e-06/11.49, allocations: 6.781 kB / 3.109 GB, free: 138.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0009928/11.49, allocations: 182.8 kB / 3.109 GB, free: 138.3 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.01988/11.51, allocations: 6.079 MB / 3.115 GB, free: 136.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/11.51, allocations: 7.312 kB / 3.115 GB, free: 136.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/11.51, allocations: 0.8365 MB / 3.116 GB, free: 135.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02128/11.54, allocations: 7.622 MB / 3.124 GB, free: 134.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/11.54, allocations: 195.8 kB / 3.124 GB, free: 134.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/11.54, allocations: 359.6 kB / 3.124 GB, free: 134.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01675/11.55, allocations: 6.362 MB / 3.13 GB, free: 134.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0211/11.58, allocations: 7.242 MB / 3.137 GB, free: 134 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/11.58, allocations: 17.72 kB / 3.137 GB, free: 134 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/11.58, allocations: 11.09 kB / 3.137 GB, free: 134 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/11.58, allocations: 177.2 kB / 3.138 GB, free: 134 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.05574/11.63, allocations: 32.04 MB / 3.169 GB, free: 113.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008102/11.64, allocations: 4.174 MB / 3.173 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005766/11.65, allocations: 3.082 MB / 3.176 GB, free: 111 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/11.65, allocations: 0.6315 MB / 3.177 GB, free: 110.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004573/11.65, allocations: 2.091 MB / 3.179 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003232/11.66, allocations: 357.4 kB / 3.179 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=324): time 1.73e-05/11.66, allocations: 1.562 kB / 3.179 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=324): time 0.0117/11.67, allocations: 4.575 MB / 3.183 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/11.67, allocations: 85.95 kB / 3.184 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008909/11.68, allocations: 4.178 MB / 3.188 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0006868/11.68, allocations: 29.7 kB / 3.188 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003511/11.68, allocations: 3.112 MB / 3.191 GB, free: 101 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002146/11.68, allocations: 1.1 MB / 3.192 GB, free: 99.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004129/11.68, allocations: 4 kB / 3.192 GB, free: 99.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003429/11.68, allocations: 498.5 kB / 3.192 GB, free: 99.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003934/11.69, allocations: 1.973 MB / 3.194 GB, free: 97.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005158/11.69, allocations: 3.413 MB / 3.197 GB, free: 94.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007279/11.7, allocations: 2.996 MB / 3.2 GB, free: 91.72 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.034e-05/11.7, allocations: 16 kB / 3.2 GB, free: 91.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01671/11.72, allocations: 6.256 MB / 3.207 GB, free: 86.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/11.72, allocations: 49.7 kB / 3.207 GB, free: 86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.147e-05/11.72, allocations: 48.88 kB / 3.207 GB, free: 85.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/11.72, allocations: 433.3 kB / 3.207 GB, free: 85.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005175/11.72, allocations: 1.034 MB / 3.208 GB, free: 84.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006435/11.73, allocations: 5.138 MB / 3.213 GB, free: 79.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007244/11.74, allocations: 382.7 kB / 3.213 GB, free: 78.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/11.74, allocations: 223.9 kB / 3.214 GB, free: 78.54 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.001444/11.74, allocations: 240.6 kB / 3.214 GB, free: 78.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/11.74, allocations: 465.7 kB / 3.214 GB, free: 77.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/11.75, allocations: 5.03 MB / 3.219 GB, free: 72.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/11.75, allocations: 32 kB / 3.219 GB, free: 72.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/11.75, allocations: 7.25 kB / 3.219 GB, free: 72.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00965/11.76, allocations: 4.447 MB / 3.224 GB, free: 68.16 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.02947/11.79, allocations: 10.97 MB / 3.234 GB, free: 57.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/11.79, allocations: 0 / 3.234 GB, free: 57.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00387/11.8, allocations: 0.6359 MB / 3.235 GB, free: 56.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/11.8, allocations: 357.4 kB / 3.235 GB, free: 56.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005819/11.8, allocations: 47.95 kB / 3.235 GB, free: 56.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006102/11.8, allocations: 5.046 MB / 3.24 GB, free: 50.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.104e-06/11.8, allocations: 0 / 3.24 GB, free: 50.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/11.82, allocations: 7.417 MB / 3.248 GB, free: 43.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004104/11.82, allocations: 1.132 MB / 3.249 GB, free: 42.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00185/11.83, allocations: 19.98 kB / 3.249 GB, free: 42.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005484/11.83, allocations: 355.2 kB / 3.249 GB, free: 41.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008369/11.83, allocations: 198.3 kB / 3.249 GB, free: 41.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/11.83, allocations: 104 kB / 3.249 GB, free: 41.47 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.006996/11.84, allocations: 3.173 MB / 3.252 GB, free: 38.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.135e-06/11.84, allocations: 3.938 kB / 3.252 GB, free: 38.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.009581/11.85, allocations: 2.01 MB / 3.254 GB, free: 36.28 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.001962/11.85, allocations: 0.7796 MB / 3.255 GB, free: 35.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0092/11.86, allocations: 4.953 MB / 3.26 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.271e-06/11.86, allocations: 4 kB / 3.26 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004537/11.87, allocations: 2.336 MB / 3.262 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01329/11.88, allocations: 2.464 MB / 3.265 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/11.9, allocations: 11.41 MB / 3.276 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00696/11.91, allocations: 4.692 MB / 3.28 GB, free: 9.793 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.008437/11.92, allocations: 1.798 MB / 3.282 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002559/11.92, allocations: 439.2 kB / 3.283 GB, free: 7.641 MB / 0.8386 GB Notification: Performance of SimCode: time 3.165e-06/11.92, allocations: 0 / 3.283 GB, free: 7.641 MB / 0.8386 GB Notification: Performance of Templates: time 0.8647/12.79, allocations: 89.47 MB / 3.37 GB, free: 133.9 MB / 0.8542 GB