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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.295/4.295, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.622e-05, allocations: 4 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6298/0.6299, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.863, allocations: 431.2 MB / 1.05 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/1.863, allocations: 88.39 kB / 1.05 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.077/7.94, allocations: 1.088 GB / 2.138 GB, free: 121.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.645e-06/7.94, allocations: 0 / 2.138 GB, free: 121.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000431/7.941, allocations: 56.09 kB / 2.138 GB, free: 121.6 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.007663/7.948, allocations: 2.18 MB / 2.14 GB, free: 120.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/7.948, allocations: 11.39 kB / 2.14 GB, free: 120.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/7.951, allocations: 380.5 kB / 2.14 GB, free: 120.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/7.962, allocations: 2.465 MB / 2.143 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/7.962, allocations: 43.31 kB / 2.143 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000441/7.962, allocations: 81.55 kB / 2.143 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002663/7.965, allocations: 0.8607 MB / 2.144 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/7.968, allocations: 1.168 MB / 2.145 GB, free: 120 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.934e-05/7.968, allocations: 8.828 kB / 2.145 GB, free: 120 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/7.969, allocations: 7.125 kB / 2.145 GB, free: 120 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.855e-05/7.969, allocations: 30.31 kB / 2.145 GB, free: 120 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.01331/7.982, allocations: 6.917 MB / 2.151 GB, free: 116.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/7.984, allocations: 1.187 MB / 2.153 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007256/7.985, allocations: 326 kB / 2.153 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005183/7.99, allocations: 2.214 MB / 2.155 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008155/7.991, allocations: 356.7 kB / 2.155 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001063/7.992, allocations: 67.31 kB / 2.156 GB, free: 114 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=67): time 4.939e-06/7.992, allocations: 3.156 kB / 2.156 GB, free: 114 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67): time 0.003152/7.995, allocations: 0.8121 MB / 2.156 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/7.995, allocations: 162.6 kB / 2.156 GB, free: 113.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/7.998, allocations: 1.199 MB / 2.158 GB, free: 113.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002637/7.998, allocations: 28.67 kB / 2.158 GB, free: 113.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009868/7.999, allocations: 0.8943 MB / 2.159 GB, free: 113.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/7.999, allocations: 236 kB / 2.159 GB, free: 113 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/7.999, allocations: 3.344 kB / 2.159 GB, free: 113 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001018/7.999, allocations: 342 kB / 2.159 GB, free: 112.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006645/8, allocations: 280.3 kB / 2.159 GB, free: 112.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000877/8.001, allocations: 0.6574 MB / 2.16 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/8.003, allocations: 467.9 kB / 2.16 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/8.003, allocations: 7.188 kB / 2.16 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003739/8.007, allocations: 1.103 MB / 2.162 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008674/8.008, allocations: 3.737 MB / 2.165 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-05/8.008, allocations: 15.34 kB / 2.165 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.438e-05/8.008, allocations: 16.06 kB / 2.165 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/8.01, allocations: 251.3 kB / 2.165 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/8.01, allocations: 19.94 kB / 2.165 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/8.012, allocations: 112.9 kB / 2.166 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/8.013, allocations: 52.25 kB / 2.166 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/8.013, allocations: 5.812 kB / 2.166 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003107/8.016, allocations: 0.8836 MB / 2.166 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/8.016, allocations: 7.406 kB / 2.166 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/8.016, allocations: 18.58 kB / 2.167 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/8.018, allocations: 242.5 kB / 2.167 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/8.018, allocations: 23.33 kB / 2.167 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/8.02, allocations: 104.4 kB / 2.167 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/8.02, allocations: 51.62 kB / 2.167 GB, free: 108.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * 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.0003711/8.02, allocations: 150.1 kB / 2.167 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002888/8.023, allocations: 0.7609 MB / 2.168 GB, free: 107.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/8.024, allocations: 169 kB / 2.168 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/8.027, allocations: 0.9763 MB / 2.169 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/8.027, allocations: 13 kB / 2.169 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/8.027, allocations: 1.312 kB / 2.169 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001944/8.029, allocations: 0.6902 MB / 2.17 GB, free: 107.6 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.005909/8.035, allocations: 2.099 MB / 2.172 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/8.035, allocations: 3.812 kB / 2.172 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/8.036, allocations: 154.5 kB / 2.172 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/8.037, allocations: 26.27 kB / 2.172 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-05/8.037, allocations: 11.28 kB / 2.172 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/8.038, allocations: 1.278 MB / 2.173 GB, free: 106.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/8.038, allocations: 0 / 2.173 GB, free: 106.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/8.041, allocations: 1.36 MB / 2.174 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/8.043, allocations: 333.9 kB / 2.175 GB, free: 105.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/8.043, allocations: 7.531 kB / 2.175 GB, free: 105.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/8.045, allocations: 102.5 kB / 2.175 GB, free: 105.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/8.045, allocations: 55.12 kB / 2.175 GB, free: 105.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.936e-05/8.045, allocations: 27.12 kB / 2.175 GB, free: 105.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001789/8.047, allocations: 0.8964 MB / 2.176 GB, free: 105.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.81e-07/8.047, allocations: 0 / 2.176 GB, free: 105.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004956/8.052, allocations: 1.075 MB / 2.177 GB, free: 105.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006537/8.058, allocations: 3.009 MB / 2.18 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003097/8.062, allocations: 1.422 MB / 2.181 GB, free: 104 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/8.062, allocations: 0 / 2.181 GB, free: 104 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/8.063, allocations: 463.8 kB / 2.182 GB, free: 103.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005988/8.069, allocations: 0.7348 MB / 2.182 GB, free: 103.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008825/8.078, allocations: 2.793 MB / 2.185 GB, free: 103.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/8.079, allocations: 1.453 MB / 2.186 GB, free: 102.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004002/8.083, allocations: 0.5461 MB / 2.187 GB, free: 102.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/8.084, allocations: 0.7201 MB / 2.188 GB, free: 102.3 MB / 0.8386 GB Notification: Performance of SimCode: time 1.393e-06/8.084, allocations: 3.969 kB / 2.188 GB, free: 102.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/8.229, allocations: 50.75 MB / 2.237 GB, free: 100 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/8.23, allocations: 186.1 kB / 2.237 GB, free: 99.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.706/12.94, allocations: 0 / 2.237 GB, free: 99.84 MB / 0.8386 GB