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_T.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.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009318/0.009318, allocations: 111.3 kB / 15.06 MB, free: 5.965 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.001169/0.001169, allocations: 185 kB / 15.95 MB, free: 5.93 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 1.832/1.832, allocations: 194.5 MB / 211.2 MB, free: 11.11 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.268/2.268, allocations: 236.2 MB / 492.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.000491, allocations: 16 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6519/0.6524, allocations: 98.71 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/1.739, allocations: 437.8 MB / 1.111 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.739, allocations: 110.3 kB / 1.111 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.463/7.202, allocations: 1.128 GB / 2.239 GB, free: 125.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.21e-06/7.202, allocations: 2.656 kB / 2.239 GB, free: 125.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002962/7.203, allocations: 61.81 kB / 2.239 GB, free: 125.7 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007313/7.21, allocations: 2.584 MB / 2.241 GB, free: 124.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/7.21, allocations: 11.12 kB / 2.241 GB, free: 124.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/7.213, allocations: 458.1 kB / 2.242 GB, free: 124.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008113/7.221, allocations: 2.32 MB / 2.244 GB, free: 124.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/7.221, allocations: 93.38 kB / 2.244 GB, free: 124.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003346/7.222, allocations: 125.1 kB / 2.244 GB, free: 124.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/7.225, allocations: 1.312 MB / 2.246 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-05/7.225, allocations: 6.859 kB / 2.246 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003404/7.225, allocations: 54.84 kB / 2.246 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.55e-05/7.225, allocations: 26.56 kB / 2.246 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006433/7.232, allocations: 0.9601 MB / 2.247 GB, free: 123.8 MB / 0.8386 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.01788/7.25, allocations: 6.862 MB / 2.253 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/7.254, allocations: 1.287 MB / 2.255 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009305/7.264, allocations: 2.857 MB / 2.257 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001912/7.266, allocations: 399.9 kB / 2.258 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001338/7.267, allocations: 93.16 kB / 2.258 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 8.075e-06/7.267, allocations: 0 / 2.258 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.006169/7.273, allocations: 1.121 MB / 2.259 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/7.273, allocations: 170.9 kB / 2.259 GB, free: 116.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004525/7.278, allocations: 1.353 MB / 2.26 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000278/7.278, allocations: 46.36 kB / 2.26 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001379/7.28, allocations: 0.8946 MB / 2.261 GB, free: 116.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/7.28, allocations: 213.4 kB / 2.262 GB, free: 116 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/7.28, allocations: 17.91 kB / 2.262 GB, free: 116 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001413/7.28, allocations: 348.2 kB / 2.262 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/7.282, allocations: 332.4 kB / 2.262 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/7.285, allocations: 0.7602 MB / 2.263 GB, free: 115.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/7.287, allocations: 489.2 kB / 2.263 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.456e-05/7.287, allocations: 6.406 kB / 2.263 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.006267/7.293, allocations: 1.245 MB / 2.265 GB, free: 114.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001298/7.295, allocations: 4.582 MB / 2.269 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.605e-05/7.295, allocations: 17.2 kB / 2.269 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.782e-05/7.295, allocations: 17.22 kB / 2.269 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002391/7.297, allocations: 245.9 kB / 2.269 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-05/7.297, allocations: 24.19 kB / 2.269 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/7.301, allocations: 125.5 kB / 2.27 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/7.301, allocations: 55.91 kB / 2.27 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/7.301, allocations: 3.938 kB / 2.27 GB, free: 110.1 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004981/7.306, allocations: 1.054 MB / 2.271 GB, free: 110 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.088e-05/7.306, allocations: 11.25 kB / 2.271 GB, free: 110 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.033e-05/7.306, allocations: 20.97 kB / 2.271 GB, free: 110 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/7.308, allocations: 237.8 kB / 2.271 GB, free: 110 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-05/7.308, allocations: 24.03 kB / 2.271 GB, free: 110 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/7.312, allocations: 104.5 kB / 2.271 GB, free: 110 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003498/7.312, allocations: 53.47 kB / 2.271 GB, free: 110 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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): 118 * Array equations: 2 * Algorithm blocks: 2 * 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.002295/7.314, allocations: 499.2 kB / 2.272 GB, free: 109.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007729/7.315, allocations: 164.3 kB / 2.272 GB, free: 109.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/7.319, allocations: 1.052 MB / 2.273 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/7.319, allocations: 11.97 kB / 2.273 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/7.319, allocations: 0 / 2.273 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001969/7.321, allocations: 0.8945 MB / 2.274 GB, free: 109.4 MB / 0.8386 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.005489/7.327, allocations: 2.232 MB / 2.276 GB, free: 109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.583e-06/7.327, allocations: 3.656 kB / 2.276 GB, free: 109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009491/7.328, allocations: 136.7 kB / 2.276 GB, free: 109 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/7.328, allocations: 29.97 kB / 2.276 GB, free: 109 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.223e-05/7.328, allocations: 23.16 kB / 2.276 GB, free: 109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/7.329, allocations: 1.308 MB / 2.277 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.512e-06/7.329, allocations: 1.969 kB / 2.277 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/7.333, allocations: 1.447 MB / 2.279 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/7.334, allocations: 343.8 kB / 2.279 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/7.334, allocations: 11 kB / 2.279 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/7.336, allocations: 101.1 kB / 2.279 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/7.336, allocations: 60.33 kB / 2.279 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-05/7.336, allocations: 25.91 kB / 2.279 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002125/7.338, allocations: 1.1 MB / 2.28 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.026e-06/7.338, allocations: 0 / 2.28 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004721/7.343, allocations: 1.013 MB / 2.281 GB, free: 107 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.outCon.T) * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.00289/7.346, allocations: 1.244 MB / 2.282 GB, free: 106.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003857/7.35, allocations: 1.642 MB / 2.284 GB, free: 106.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.87e-06/7.35, allocations: 4.641 kB / 2.284 GB, free: 106.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/7.351, allocations: 0.5026 MB / 2.285 GB, free: 106.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/7.355, allocations: 0.7214 MB / 2.285 GB, free: 106.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006882/7.362, allocations: 3.667 MB / 2.289 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/7.363, allocations: 1.407 MB / 2.29 GB, free: 103.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002794/7.366, allocations: 425.2 kB / 2.291 GB, free: 103.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/7.367, allocations: 139.7 kB / 2.291 GB, free: 103.9 MB / 0.8386 GB Notification: Performance of SimCode: time 2.803e-06/7.367, allocations: 0 / 2.291 GB, free: 103.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.08169/7.449, allocations: 35.61 MB / 2.326 GB, free: 102 MB / 0.8386 GB