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.01651/0.01651, allocations: 108.1 kB / 15.05 MB, free: 6.055 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.001979/0.00198, allocations: 185.9 kB / 15.95 MB, free: 5.98 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.07 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.317/2.317, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004803, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6555/0.656, allocations: 98.7 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.809, allocations: 391.2 MB / 1.065 GB, free: 57.31 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/1.809, allocations: 93.83 kB / 1.066 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 11.86/13.67, allocations: 2.115 GB / 3.181 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.755e-06/13.67, allocations: 0 / 3.181 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.00118/13.67, allocations: 189.2 kB / 3.181 GB, free: 119.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.03254/13.7, allocations: 7.181 MB / 3.188 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/13.7, allocations: 7.312 kB / 3.188 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004097/13.71, allocations: 0.8407 MB / 3.189 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006031/13.71, allocations: 0.8347 MB / 3.19 GB, free: 117 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02638/13.74, allocations: 7.654 MB / 3.197 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006946/13.74, allocations: 455.4 kB / 3.198 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003101/13.74, allocations: 0.6009 MB / 3.198 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03046/13.77, allocations: 8.241 MB / 3.206 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004625/13.77, allocations: 14.75 kB / 3.206 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002923/13.78, allocations: 260.7 kB / 3.207 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003049/13.78, allocations: 178.6 kB / 3.207 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02393/13.8, allocations: 6.92 MB / 3.213 GB, free: 115.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 preOpt removeSimpleEquations (simulation): time 0.07207/13.87, allocations: 32.9 MB / 3.246 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/13.89, allocations: 4.366 MB / 3.25 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001815/13.89, allocations: 0.9611 MB / 3.251 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006284/13.89, allocations: 2.27 MB / 3.253 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00434/13.9, allocations: 491.1 kB / 3.253 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=326): time 1.644e-05/13.9, allocations: 0 / 3.253 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=326): time 0.02255/13.92, allocations: 7.106 MB / 3.26 GB, free: 99.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/13.92, allocations: 89.75 kB / 3.26 GB, free: 99.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01298/13.93, allocations: 5.109 MB / 3.265 GB, free: 99.37 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0009999/13.93, allocations: 94.42 kB / 3.266 GB, free: 99.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.004404/13.94, allocations: 3.088 MB / 3.269 GB, free: 98.11 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002294/13.94, allocations: 1.147 MB / 3.27 GB, free: 97.39 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000665/13.94, allocations: 92.97 kB / 3.27 GB, free: 97.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004111/13.94, allocations: 498.4 kB / 3.27 GB, free: 97.08 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006253/13.95, allocations: 2.137 MB / 3.272 GB, free: 97.06 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008135/13.96, allocations: 3.61 MB / 3.276 GB, free: 95.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008156/13.96, allocations: 2.89 MB / 3.279 GB, free: 95.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.127e-05/13.97, allocations: 11.34 kB / 3.279 GB, free: 95.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=573) (initialization): time 0.0211/13.99, allocations: 6.69 MB / 3.285 GB, free: 94.81 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-05/13.99, allocations: 56.25 kB / 3.285 GB, free: 94.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-05/13.99, allocations: 45.06 kB / 3.285 GB, free: 94.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/13.99, allocations: 433.1 kB / 3.286 GB, free: 94.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008285/14, allocations: 1.04 MB / 3.287 GB, free: 94.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008184/14, allocations: 5.413 MB / 3.292 GB, free: 92.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009592/14.01, allocations: 473.8 kB / 3.293 GB, free: 91.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001416/14.02, allocations: 218.6 kB / 3.293 GB, free: 91.98 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.007411/14.02, allocations: 2.449 MB / 3.295 GB, free: 91.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001995/14.03, allocations: 0.5103 MB / 3.296 GB, free: 91.57 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01766/14.04, allocations: 5.478 MB / 3.301 GB, free: 91.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/14.04, allocations: 31.38 kB / 3.301 GB, free: 91.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/14.04, allocations: 6.438 kB / 3.301 GB, free: 91.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01332/14.06, allocations: 4.489 MB / 3.305 GB, free: 89.87 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.03891/14.1, allocations: 11.65 MB / 3.317 GB, free: 85.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/14.1, allocations: 0 / 3.317 GB, free: 85.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006161/14.1, allocations: 0.6455 MB / 3.317 GB, free: 85.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/14.1, allocations: 366.9 kB / 3.318 GB, free: 85.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008411/14.1, allocations: 88.75 kB / 3.318 GB, free: 85.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007752/14.11, allocations: 5.31 MB / 3.323 GB, free: 81.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/14.11, allocations: 5.938 kB / 3.323 GB, free: 81.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02131/14.13, allocations: 7.661 MB / 3.33 GB, free: 78.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005569/14.14, allocations: 1.21 MB / 3.332 GB, free: 77.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002809/14.14, allocations: 65.58 kB / 3.332 GB, free: 77.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01282/14.15, allocations: 422.7 kB / 3.332 GB, free: 77.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001555/14.16, allocations: 205.7 kB / 3.332 GB, free: 77.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001152/14.16, allocations: 95.62 kB / 3.332 GB, free: 77.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01695/14.17, allocations: 4.01 MB / 3.336 GB, free: 76.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.393e-06/14.17, allocations: 0 / 3.336 GB, free: 76.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01529/14.19, allocations: 2.044 MB / 3.338 GB, free: 75.64 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.03545/14.23, allocations: 9.059 MB / 3.347 GB, free: 71.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02053/14.25, allocations: 5.358 MB / 3.352 GB, free: 69.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/14.25, allocations: 7.922 kB / 3.352 GB, free: 69.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00958/14.26, allocations: 2.502 MB / 3.355 GB, free: 68.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03492/14.29, allocations: 3.13 MB / 3.358 GB, free: 68.13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3052/14.6, allocations: 82.1 MB / 3.438 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01694/14.61, allocations: 4.696 MB / 3.443 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0181/14.63, allocations: 1.997 MB / 3.445 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01218/14.64, allocations: 2.784 MB / 3.447 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of SimCode: time 2.114e-06/14.64, allocations: 0 / 3.447 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.099/15.74, allocations: 171 MB / 3.614 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/15.74, allocations: 256.3 kB / 3.615 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.15/24.89, allocations: 4.812 kB / 3.615 GB, free: 129.5 MB / 0.8855 GB