Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01479/0.01479, allocations: 88.59 kB / 15.04 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001803/0.001803, allocations: 170.9 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.266/2.266, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.63/2.63, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006647/0.0006652, allocations: 13.47 kB / 0.6243 GB, free: 21.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2986, allocations: 106.2 MB / 0.7281 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.08946/0.3881, allocations: 46.85 MB / 0.7738 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03218/0.4204, allocations: 15.47 MB / 0.7889 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/0.4233, allocations: 63.56 kB / 0.789 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.4276, allocations: 0.8084 MB / 0.7898 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009794/0.4374, allocations: 2.123 MB / 0.7918 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006822/0.4442, allocations: 1.478 MB / 0.7933 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.02156/0.4658, allocations: 11.35 MB / 0.8044 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01482/0.4807, allocations: 7.131 MB / 0.8113 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/0.4927, allocations: 4.458 MB / 0.8157 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.5029, allocations: 3.874 MB / 0.8195 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002322/0.5052, allocations: 344 kB / 0.8198 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006764/0.512, allocations: 0.843 MB / 0.8206 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003853/0.5159, allocations: 1.452 MB / 0.822 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004367/0.5203, allocations: 1.6 MB / 0.8236 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.678/1.198, allocations: 10.15 MB / 0.8335 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.198, allocations: 0 / 0.8335 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.737e-06/1.198, allocations: 1.594 kB / 0.8335 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000526/1.199, allocations: 3.625 kB / 0.8335 GB, free: 24.75 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.03318/1.232, allocations: 6.914 MB / 0.8403 GB, free: 22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/1.232, allocations: 9.781 kB / 0.8403 GB, free: 22 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006579/1.239, allocations: 0.8423 MB / 0.8411 GB, free: 21.92 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009612/1.249, allocations: 0.8439 MB / 0.8419 GB, free: 21.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02229/1.271, allocations: 5.962 MB / 0.8477 GB, free: 20.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008364/1.272, allocations: 460.7 kB / 0.8482 GB, free: 20.74 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004308/1.276, allocations: 0.6004 MB / 0.8488 GB, free: 20.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03861/1.315, allocations: 8.829 MB / 0.8574 GB, free: 19.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004862/1.315, allocations: 17.66 kB / 0.8574 GB, free: 19.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003657/1.319, allocations: 256.6 kB / 0.8577 GB, free: 19.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003413/1.319, allocations: 180.4 kB / 0.8578 GB, free: 19.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02934/1.349, allocations: 7.449 MB / 0.8651 GB, free: 19.77 MB / 0.6511 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.08042/1.429, allocations: 35.35 MB / 0.8996 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/1.441, allocations: 4.467 MB / 0.904 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/1.444, allocations: 0.9851 MB / 0.905 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007504/1.451, allocations: 2.392 MB / 0.9073 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005071/1.456, allocations: 471.8 kB / 0.9077 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=329): time 2.197e-05/1.456, allocations: 0 / 0.9077 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of matching and sorting (n=329): time 0.02355/1.48, allocations: 7.247 MB / 0.9148 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.48, allocations: 94.67 kB / 0.9149 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0147/1.495, allocations: 5.725 MB / 0.9205 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001316/1.496, allocations: 89.7 kB / 0.9206 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.005395/1.502, allocations: 3.135 MB / 0.9236 GB, free: 3.773 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.002794/1.504, allocations: 1.152 MB / 0.9248 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006702/1.505, allocations: 92 kB / 0.9249 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0005763/1.506, allocations: 495.8 kB / 0.9253 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007454/1.513, allocations: 2.191 MB / 0.9275 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009347/1.523, allocations: 3.669 MB / 0.931 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009112/1.532, allocations: 2.945 MB / 0.9339 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.597e-05/1.532, allocations: 16 kB / 0.9339 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.02384/1.556, allocations: 6.812 MB / 0.9406 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/1.556, allocations: 53.69 kB / 0.9406 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/1.556, allocations: 49.64 kB / 0.9407 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/1.558, allocations: 429.6 kB / 0.9411 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008888/1.567, allocations: 1.071 MB / 0.9421 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009902/1.577, allocations: 5.324 MB / 0.9473 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/1.587, allocations: 482.8 kB / 0.9478 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001366/1.588, allocations: 216 kB / 0.948 GB, free: 10.28 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * 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.007805/1.596, allocations: 2.457 MB / 0.9504 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002221/1.598, allocations: 0.5173 MB / 0.9509 GB, free: 7.355 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01862/1.617, allocations: 5.379 MB / 0.9562 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.875e-05/1.617, allocations: 34.91 kB / 0.9562 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/1.617, allocations: 7.953 kB / 0.9562 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01492/1.632, allocations: 4.623 MB / 0.9607 GB, free: 13.19 MB / 0.7136 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.04583/1.678, allocations: 12.24 MB / 0.9727 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/1.678, allocations: 2.812 kB / 0.9727 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007022/1.685, allocations: 0.6459 MB / 0.9733 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/1.687, allocations: 368 kB / 0.9737 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001026/1.688, allocations: 95.94 kB / 0.9738 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.702, allocations: 5.241 MB / 0.9789 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/1.702, allocations: 0 / 0.9789 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03267/1.735, allocations: 7.893 MB / 0.9866 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007721/1.742, allocations: 1.291 MB / 0.9878 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003048/1.746, allocations: 67.98 kB / 0.9879 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01178/1.757, allocations: 444.2 kB / 0.9883 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001641/1.759, allocations: 206.3 kB / 0.9885 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009072/1.76, allocations: 127.9 kB / 0.9886 GB, free: 188 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.01239/1.772, allocations: 4.021 MB / 0.9926 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.597e-06/1.772, allocations: 0 / 0.9926 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01259/1.785, allocations: 2.014 MB / 0.9945 GB, free: 10.17 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0365/1.822, allocations: 9.032 MB / 1.003 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.02194/1.844, allocations: 5.456 MB / 1.009 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/1.844, allocations: 0 / 1.009 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01063/1.854, allocations: 2.568 MB / 1.011 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03036/1.885, allocations: 3.168 MB / 1.014 GB, free: 6.074 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2335/2.118, allocations: 83.34 MB / 1.096 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01022/2.129, allocations: 4.723 MB / 1.1 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01326/2.142, allocations: 2.049 MB / 1.102 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008386/2.15, allocations: 2.654 MB / 1.105 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of SimCode: time 1.393e-06/2.15, allocations: 2.734 kB / 1.105 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.071/3.222, allocations: 169.6 MB / 1.271 GB, free: 224.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/3.222, allocations: 270.9 kB / 1.271 GB, free: 224.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.037/12.26, allocations: 7.938 kB / 1.271 GB, free: 224.5 MB / 0.9167 GB