Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.919/3.919, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.253e-05, allocations: 8 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4992/0.4992, allocations: 98.7 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9864/1.486, allocations: 437.1 MB / 1.056 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.486, allocations: 100.2 kB / 1.056 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.131/6.617, allocations: 1.119 GB / 2.174 GB, free: 123.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.858e-06/6.617, allocations: 0 / 2.174 GB, free: 123.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002407/6.618, allocations: 52.45 kB / 2.174 GB, free: 123.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.00454/6.622, allocations: 2.094 MB / 2.177 GB, free: 122.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/6.622, allocations: 7.656 kB / 2.177 GB, free: 122.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/6.625, allocations: 460.5 kB / 2.177 GB, free: 122.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007692/6.633, allocations: 2.292 MB / 2.179 GB, free: 122.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/6.633, allocations: 35.94 kB / 2.179 GB, free: 122.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/6.633, allocations: 81.78 kB / 2.179 GB, free: 122.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002055/6.635, allocations: 0.7812 MB / 2.18 GB, free: 122.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/6.637, allocations: 1.084 MB / 2.181 GB, free: 121.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/6.638, allocations: 7.578 kB / 2.181 GB, free: 121.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/6.638, allocations: 0 / 2.181 GB, free: 121.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/6.638, allocations: 31.28 kB / 2.181 GB, free: 121.8 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.00984/6.648, allocations: 6.661 MB / 2.188 GB, free: 117.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/6.649, allocations: 1.148 MB / 2.189 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/6.65, allocations: 296.8 kB / 2.189 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005313/6.655, allocations: 2.865 MB / 2.192 GB, free: 115.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006078/6.656, allocations: 327.6 kB / 2.192 GB, free: 115.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007044/6.656, allocations: 78.61 kB / 2.192 GB, free: 115.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=59): time 4.496e-06/6.656, allocations: 0 / 2.192 GB, free: 115.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=59): time 0.006429/6.663, allocations: 1.297 MB / 2.194 GB, free: 115 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/6.663, allocations: 162.2 kB / 2.194 GB, free: 114.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/6.665, allocations: 1.236 MB / 2.195 GB, free: 114.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/6.665, allocations: 28.86 kB / 2.195 GB, free: 114.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008203/6.666, allocations: 0.8891 MB / 2.196 GB, free: 114.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/6.666, allocations: 202 kB / 2.196 GB, free: 114.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/6.666, allocations: 0 / 2.196 GB, free: 114.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/6.666, allocations: 343.1 kB / 2.196 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006032/6.667, allocations: 266.1 kB / 2.197 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/6.668, allocations: 0.6956 MB / 2.197 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005933/6.674, allocations: 0.9899 MB / 2.198 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/6.674, allocations: 3.562 kB / 2.198 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.007862/6.682, allocations: 1.638 MB / 2.2 GB, free: 113.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009206/6.683, allocations: 4.58 MB / 2.204 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.701e-05/6.683, allocations: 15.25 kB / 2.204 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/6.683, allocations: 19.38 kB / 2.204 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/6.684, allocations: 252.1 kB / 2.205 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/6.684, allocations: 20.88 kB / 2.205 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/6.686, allocations: 94.28 kB / 2.205 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/6.686, allocations: 64.45 kB / 2.205 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/6.686, allocations: 3.844 kB / 2.205 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007217/6.694, allocations: 1.415 MB / 2.206 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/6.694, allocations: 18.97 kB / 2.206 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/6.694, allocations: 16.94 kB / 2.206 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/6.695, allocations: 234.2 kB / 2.206 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/6.695, allocations: 25.78 kB / 2.206 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/6.697, allocations: 89.36 kB / 2.206 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/6.697, allocations: 56.59 kB / 2.207 GB, free: 108.3 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * 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.0003261/6.697, allocations: 142.3 kB / 2.207 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/6.698, allocations: 160.9 kB / 2.207 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006929/6.705, allocations: 1.489 MB / 2.208 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/6.705, allocations: 11.39 kB / 2.208 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/6.705, allocations: 0 / 2.208 GB, free: 108 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006019/6.711, allocations: 1.34 MB / 2.21 GB, free: 107.8 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.009442/6.72, allocations: 2.525 MB / 2.212 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/6.72, allocations: 3 kB / 2.212 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009497/6.721, allocations: 132.2 kB / 2.212 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/6.721, allocations: 35.31 kB / 2.212 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.201e-05/6.721, allocations: 18.03 kB / 2.212 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009002/6.722, allocations: 1.273 MB / 2.213 GB, free: 106.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.322e-06/6.722, allocations: 1.562 kB / 2.213 GB, free: 106.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00738/6.73, allocations: 1.831 MB / 2.215 GB, free: 106 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/6.731, allocations: 328.6 kB / 2.216 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002767/6.731, allocations: 3.781 kB / 2.216 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/6.732, allocations: 74.16 kB / 2.216 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/6.732, allocations: 51.72 kB / 2.216 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-05/6.732, allocations: 30.77 kB / 2.216 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001668/6.734, allocations: 0.917 MB / 2.217 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.31e-07/6.734, allocations: 5.188 kB / 2.217 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004779/6.739, allocations: 0.9788 MB / 2.218 GB, free: 105.5 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 59 * 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.002642/6.742, allocations: 1.162 MB / 2.219 GB, free: 105.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002629/6.744, allocations: 1.474 MB / 2.22 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.928e-06/6.744, allocations: 0 / 2.22 GB, free: 104.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008596/6.745, allocations: 438.5 kB / 2.221 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00365/6.749, allocations: 0.6246 MB / 2.221 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00523/6.754, allocations: 2.279 MB / 2.223 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/6.755, allocations: 1.405 MB / 2.225 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003587/6.759, allocations: 0.5854 MB / 2.225 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/6.759, allocations: 104.8 kB / 2.225 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of SimCode: time 1.794e-06/6.759, allocations: 0 / 2.225 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.07381/6.833, allocations: 32.43 MB / 2.257 GB, free: 101 MB / 0.8386 GB