Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.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.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",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.01856/0.01857, allocations: 107.4 kB / 15.06 MB, free: 5.555 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.001968/0.001969, allocations: 182.2 kB / 15.95 MB, free: 5.52 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.018/2.018, allocations: 194.6 MB / 211.3 MB, free: 11.01 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.343/2.343, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004923, allocations: 16 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7017/0.7022, allocations: 98.7 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.1018/0.804, allocations: 55.68 MB / 0.7378 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.05924/0.8633, allocations: 16.95 MB / 0.7544 GB, free: 5.645 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005124/0.8685, allocations: 71.5 kB / 0.7544 GB, free: 5.574 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.007819/0.8764, allocations: 1.007 MB / 0.7554 GB, free: 4.562 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01708/0.8936, allocations: 2.649 MB / 0.758 GB, free: 1.906 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01881/0.9124, allocations: 3.005 MB / 0.7609 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.01231/0.9247, allocations: 3.159 MB / 0.764 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005187/0.93, allocations: 1.353 MB / 0.7653 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006516/0.9366, allocations: 1.448 MB / 0.7667 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004033/0.9407, allocations: 0.9758 MB / 0.7677 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0009952/0.9417, allocations: 75.94 kB / 0.7678 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006122/0.9479, allocations: 1.439 MB / 0.7692 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.9491, allocations: 398.4 kB / 0.7696 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.9504, allocations: 452.6 kB / 0.77 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006545/0.9569, allocations: 2.638 MB / 0.7726 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.957, allocations: 0 / 0.7726 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.367e-06/0.957, allocations: 4 kB / 0.7726 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001075/0.9571, allocations: 0 / 0.7726 GB, free: 2.922 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.007653/0.9648, allocations: 2.339 MB / 0.7749 GB, free: 0.5117 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.9649, allocations: 12.03 kB / 0.7749 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006737/0.9655, allocations: 185.8 kB / 0.775 GB, free: 316 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.9684, allocations: 393 kB / 0.7754 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007279/0.9757, allocations: 1.645 MB / 0.777 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007638/0.9765, allocations: 178.3 kB / 0.7772 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005094/0.9771, allocations: 139.9 kB / 0.7773 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005289/0.9824, allocations: 1.434 MB / 0.7787 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.476e-05/0.9825, allocations: 4 kB / 0.7787 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.9827, allocations: 48 kB / 0.7788 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.608e-05/0.9828, allocations: 36 kB / 0.7788 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005245/0.9881, allocations: 1.122 MB / 0.7799 GB, free: 11.17 MB / 0.6042 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.01689/1.005, allocations: 7.418 MB / 0.7871 GB, free: 3.164 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004268/1.009, allocations: 1.349 MB / 0.7885 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00722/1.017, allocations: 2.604 MB / 0.791 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/1.019, allocations: 446.9 kB / 0.7914 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001026/1.02, allocations: 99.09 kB / 0.7915 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=64): time 4.598e-06/1.02, allocations: 0 / 0.7915 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64): time 0.005936/1.026, allocations: 1.272 MB / 0.7928 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.026, allocations: 137.1 kB / 0.7929 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003907/1.03, allocations: 1.564 MB / 0.7944 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002473/1.03, allocations: 41.7 kB / 0.7945 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001318/1.031, allocations: 0.9037 MB / 0.7954 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004526/1.032, allocations: 228.8 kB / 0.7956 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/1.032, allocations: 23.94 kB / 0.7956 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.032, allocations: 345.9 kB / 0.7959 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/1.034, allocations: 382.1 kB / 0.7963 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/1.036, allocations: 0.7581 MB / 0.797 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/1.038, allocations: 0.4962 MB / 0.7975 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/1.038, allocations: 0 / 0.7975 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005251/1.044, allocations: 1.319 MB / 0.7988 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001817/1.045, allocations: 3.828 MB / 0.8025 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.09e-05/1.046, allocations: 12 kB / 0.8026 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.377e-05/1.046, allocations: 16 kB / 0.8026 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/1.048, allocations: 263.6 kB / 0.8028 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.004e-05/1.048, allocations: 19.92 kB / 0.8028 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/1.051, allocations: 148.5 kB / 0.803 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003375/1.051, allocations: 51.98 kB / 0.803 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.051, allocations: 4 kB / 0.803 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004442/1.055, allocations: 1.128 MB / 0.8041 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.191e-05/1.056, allocations: 12.59 kB / 0.8041 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/1.056, allocations: 20 kB / 0.8042 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/1.058, allocations: 255.6 kB / 0.8044 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.292e-05/1.058, allocations: 19.94 kB / 0.8044 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/1.06, allocations: 144.4 kB / 0.8046 GB, free: 384 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003135/1.061, allocations: 59.88 kB / 0.8046 GB, free: 324 kB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001518/1.062, allocations: 492.7 kB / 0.8051 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/1.063, allocations: 169.8 kB / 0.8053 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00478/1.067, allocations: 1.116 MB / 0.8063 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/1.068, allocations: 11.95 kB / 0.8064 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/1.068, allocations: 4.094 kB / 0.8064 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003421/1.071, allocations: 0.8198 MB / 0.8072 GB, free: 13.68 MB / 0.6355 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.008808/1.08, allocations: 2.6 MB / 0.8097 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.08, allocations: 0 / 0.8097 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.081, allocations: 160 kB / 0.8099 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/1.082, allocations: 44.83 kB / 0.8099 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/1.082, allocations: 23.98 kB / 0.8099 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/1.084, allocations: 1.386 MB / 0.8113 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.084, allocations: 0 / 0.8113 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006323/1.09, allocations: 1.735 MB / 0.813 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/1.091, allocations: 374.5 kB / 0.8133 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004705/1.092, allocations: 24.12 kB / 0.8133 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/1.094, allocations: 130.2 kB / 0.8135 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/1.095, allocations: 60.42 kB / 0.8135 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/1.095, allocations: 35.92 kB / 0.8136 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003123/1.098, allocations: 1.126 MB / 0.8147 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.62e-07/1.098, allocations: 0 / 0.8147 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005042/1.103, allocations: 1.002 MB / 0.8156 GB, free: 4.613 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008787/1.112, allocations: 3.186 MB / 0.8187 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006469/1.118, allocations: 1.686 MB / 0.8204 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.118, allocations: 0 / 0.8204 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/1.121, allocations: 0.5697 MB / 0.821 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006977/1.128, allocations: 0.8586 MB / 0.8218 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.143, allocations: 11.05 MB / 0.8326 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/1.145, allocations: 1.459 MB / 0.834 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00325/1.148, allocations: 434.7 kB / 0.8344 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/1.15, allocations: 0.7453 MB / 0.8351 GB, free: 212 kB / 0.6511 GB Notification: Performance of SimCode: time 1.392e-06/1.15, allocations: 0 / 0.8351 GB, free: 212 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/1.3, allocations: 50.51 MB / 0.8845 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004065/1.301, allocations: 250.9 kB / 0.8847 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.046/6.347, allocations: 0 / 0.8847 GB, free: 13.97 MB / 0.7136 GB