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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00596/0.005959, allocations: 230.3 kB / 15.82 MB, free: 6.293 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.00184/0.00184, allocations: 174.8 kB / 16.7 MB, free: 5.441 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 3.927/3.927, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.89/3.89, allocations: 472.3 MB / 0.9024 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006397/0.0006401, allocations: 12 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1843, allocations: 98.72 MB / 1.105 GB, free: 42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.734/1.918, allocations: 391.2 MB / 1.487 GB, free: 236.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/1.918, allocations: 98.95 kB / 1.487 GB, free: 236.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.6/12.52, allocations: 2.099 GB / 3.586 GB, free: 93.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.808e-06/12.52, allocations: 0 / 3.586 GB, free: 93.93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001193/12.52, allocations: 184.8 kB / 3.586 GB, free: 93.9 MB / 0.8542 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.03216/12.55, allocations: 7.167 MB / 3.593 GB, free: 89.43 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/12.55, allocations: 11.41 kB / 3.593 GB, free: 89.43 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006032/12.56, allocations: 0.8425 MB / 3.594 GB, free: 89.02 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02548/12.58, allocations: 7.251 MB / 3.601 GB, free: 84.53 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006936/12.58, allocations: 460.5 kB / 3.602 GB, free: 84.32 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00301/12.58, allocations: 0.6039 MB / 3.602 GB, free: 84.11 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02943/12.61, allocations: 8.283 MB / 3.61 GB, free: 76.32 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000385/12.61, allocations: 19.78 kB / 3.61 GB, free: 76.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002412/12.62, allocations: 256 kB / 3.61 GB, free: 76.05 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/12.62, allocations: 180 kB / 3.611 GB, free: 75.88 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/12.64, allocations: 6.919 MB / 3.617 GB, free: 68.95 MB / 0.8542 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.07173/12.71, allocations: 32.66 MB / 3.649 GB, free: 35.16 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/12.72, allocations: 4.303 MB / 3.654 GB, free: 30.89 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008448/12.73, allocations: 3.525 MB / 3.657 GB, free: 27.37 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/12.73, allocations: 0.9616 MB / 3.658 GB, free: 26.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006695/12.74, allocations: 2.276 MB / 3.66 GB, free: 23.93 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004543/12.74, allocations: 459.7 kB / 3.661 GB, free: 23.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=326): time 1.263e-05/12.74, allocations: 0 / 3.661 GB, free: 23.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=326): time 0.02315/12.77, allocations: 7.074 MB / 3.667 GB, free: 16.31 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/12.77, allocations: 85.97 kB / 3.668 GB, free: 16.21 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/12.78, allocations: 5.258 MB / 3.673 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000942/12.78, allocations: 89.7 kB / 3.673 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.004356/12.79, allocations: 3.094 MB / 3.676 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00206/12.79, allocations: 1.153 MB / 3.677 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005484/12.79, allocations: 88 kB / 3.677 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003441/12.79, allocations: 499.7 kB / 3.677 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00577/12.79, allocations: 2.124 MB / 3.68 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6637/13.46, allocations: 3.608 MB / 3.683 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008992/13.47, allocations: 2.884 MB / 3.686 GB, free: 105 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.857e-05/13.47, allocations: 12.44 kB / 3.686 GB, free: 105 MB / 0.8542 GB Notification: Performance of matching and sorting (n=573) (initialization): time 0.02153/13.49, allocations: 6.664 MB / 3.692 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/13.49, allocations: 51.86 kB / 3.692 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.973e-05/13.49, allocations: 50.47 kB / 3.693 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/13.49, allocations: 434.7 kB / 3.693 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007965/13.5, allocations: 0.9897 MB / 3.694 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008443/13.51, allocations: 5.309 MB / 3.699 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009297/13.52, allocations: 463.8 kB / 3.7 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/13.52, allocations: 219.1 kB / 3.7 GB, free: 102.2 MB / 0.8542 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.007694/13.53, allocations: 2.446 MB / 3.702 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001931/13.53, allocations: 0.5131 MB / 3.703 GB, free: 102 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/13.55, allocations: 5.439 MB / 3.708 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/13.55, allocations: 34.78 kB / 3.708 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/13.55, allocations: 9.828 kB / 3.708 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01249/13.56, allocations: 4.464 MB / 3.712 GB, free: 101.3 MB / 0.8542 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.03899/13.6, allocations: 11.67 MB / 3.724 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/13.6, allocations: 2.969 kB / 3.724 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006265/13.6, allocations: 0.6605 MB / 3.724 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/13.61, allocations: 374.4 kB / 3.725 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008958/13.61, allocations: 88.77 kB / 3.725 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007504/13.61, allocations: 5.213 MB / 3.73 GB, free: 97.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/13.61, allocations: 6.766 kB / 3.73 GB, free: 97.72 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0202/13.63, allocations: 7.541 MB / 3.737 GB, free: 97.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00531/13.64, allocations: 1.142 MB / 3.738 GB, free: 96.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002347/13.64, allocations: 78.09 kB / 3.738 GB, free: 96.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007869/13.65, allocations: 447.4 kB / 3.739 GB, free: 96.74 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/13.65, allocations: 201.4 kB / 3.739 GB, free: 96.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004537/13.65, allocations: 105.3 kB / 3.739 GB, free: 96.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01042/13.66, allocations: 3.677 MB / 3.743 GB, free: 96.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.22e-07/13.66, allocations: 0 / 3.743 GB, free: 96.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01039/13.67, allocations: 2.017 MB / 3.745 GB, free: 96.43 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) * Number of clocked states: 0 () * 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.002598/13.68, allocations: 0.8092 MB / 3.746 GB, free: 96.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01436/13.69, allocations: 5.319 MB / 3.751 GB, free: 95.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/13.69, allocations: 5.375 kB / 3.751 GB, free: 95.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006906/13.7, allocations: 2.483 MB / 3.753 GB, free: 95.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02882/13.73, allocations: 3.194 MB / 3.756 GB, free: 95.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04036/13.77, allocations: 16.19 MB / 3.772 GB, free: 90.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009464/13.78, allocations: 4.711 MB / 3.777 GB, free: 89.22 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0149/13.79, allocations: 1.938 MB / 3.779 GB, free: 89.17 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004388/13.79, allocations: 460.5 kB / 3.779 GB, free: 89.17 MB / 0.8542 GB Notification: Performance of SimCode: time 1.643e-06/13.79, allocations: 0 / 3.779 GB, free: 89.17 MB / 0.8542 GB Notification: Performance of Templates: time 0.2721/14.07, allocations: 112.4 MB / 3.889 GB, free: 79.54 MB / 0.8542 GB