Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.568/2.568, allocations: 287.9 MB / 302.9 MB, free: 8.438 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 177.2 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 92.05 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004647, allocations: 16.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.156, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.07332/0.2293, allocations: 56.25 MB / 1.034 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03506/0.2644, allocations: 17.01 MB / 1.05 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/0.2677, allocations: 75.44 kB / 1.05 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004207/0.2719, allocations: 1.003 MB / 1.051 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.2822, allocations: 2.648 MB / 1.054 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0123/0.2945, allocations: 3.151 MB / 1.057 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007583/0.3021, allocations: 3.151 MB / 1.06 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003045/0.3052, allocations: 1.368 MB / 1.061 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/0.3094, allocations: 1.463 MB / 1.063 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/0.3117, allocations: 0.972 MB / 1.064 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004447/0.3122, allocations: 76 kB / 1.064 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004762/0.317, allocations: 1.451 MB / 1.065 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009647/0.318, allocations: 410.4 kB / 1.066 GB, free: 3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009518/0.319, allocations: 444.6 kB / 1.066 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5397/0.8587, allocations: 2.672 MB / 1.069 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.953e-06/0.8587, allocations: 3.375 kB / 1.069 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.876e-06/0.8587, allocations: 0 / 1.069 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.445e-05/0.8588, allocations: 0.7812 kB / 1.069 GB, free: 22.73 MB / 0.6823 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.005362/0.8642, allocations: 2.34 MB / 1.071 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.8643, allocations: 9.312 kB / 1.071 GB, free: 21.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.8662, allocations: 389.8 kB / 1.071 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00432/0.8706, allocations: 1.652 MB / 1.073 GB, free: 20.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004759/0.8711, allocations: 168.4 kB / 1.073 GB, free: 20.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002859/0.8714, allocations: 136 kB / 1.073 GB, free: 20.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00372/0.8751, allocations: 1.447 MB / 1.075 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/0.8752, allocations: 3.797 kB / 1.075 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.8754, allocations: 49.06 kB / 1.075 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.098e-05/0.8754, allocations: 37.66 kB / 1.075 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003585/0.879, allocations: 1.122 MB / 1.076 GB, free: 20.66 MB / 0.6823 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.01215/0.8912, allocations: 7.439 MB / 1.083 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002998/0.8942, allocations: 1.358 MB / 1.084 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005571/0.8999, allocations: 2.617 MB / 1.087 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/0.9013, allocations: 457.7 kB / 1.087 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009107/0.9023, allocations: 99.3 kB / 1.088 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 6.339e-06/0.9023, allocations: 4.703 kB / 1.088 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.004273/0.9066, allocations: 1.289 MB / 1.089 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.9066, allocations: 139.9 kB / 1.089 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/0.9097, allocations: 1.554 MB / 1.09 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002141/0.9099, allocations: 44.53 kB / 1.091 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008702/0.9108, allocations: 0.9072 MB / 1.091 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.9111, allocations: 228.2 kB / 1.092 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.9112, allocations: 21.44 kB / 1.092 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.9113, allocations: 342.3 kB / 1.092 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.9125, allocations: 391.6 kB / 1.092 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.9139, allocations: 0.7588 MB / 1.093 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.9153, allocations: 0.5005 MB / 1.094 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.9153, allocations: 2.719 kB / 1.094 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003784/0.9191, allocations: 1.322 MB / 1.095 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.9202, allocations: 3.822 MB / 1.099 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.364e-05/0.9203, allocations: 10.19 kB / 1.099 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.979e-05/0.9203, allocations: 20.09 kB / 1.099 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.9218, allocations: 268.2 kB / 1.099 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.06e-05/0.9218, allocations: 17.28 kB / 1.099 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/0.9239, allocations: 148.9 kB / 1.099 GB, free: 24.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.9242, allocations: 53.94 kB / 1.099 GB, free: 24.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.9242, allocations: 3.312 kB / 1.099 GB, free: 24.22 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003559/0.9278, allocations: 1.151 MB / 1.1 GB, free: 24.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.053e-05/0.9278, allocations: 14.11 kB / 1.1 GB, free: 24.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.9279, allocations: 24 kB / 1.1 GB, free: 24.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.9293, allocations: 260.8 kB / 1.1 GB, free: 24.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/0.9294, allocations: 21.44 kB / 1.101 GB, free: 24.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.9315, allocations: 147.7 kB / 1.101 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.9317, allocations: 59.45 kB / 1.101 GB, free: 24.14 MB / 0.698 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 (124): * Single equations (assignments): 120 * 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.001245/0.933, allocations: 490.8 kB / 1.101 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004583/0.9335, allocations: 166.3 kB / 1.101 GB, free: 23.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/0.9368, allocations: 1.134 MB / 1.102 GB, free: 23.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.9368, allocations: 8.891 kB / 1.102 GB, free: 23.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.9369, allocations: 0 / 1.102 GB, free: 23.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002424/0.9393, allocations: 0.8284 MB / 1.103 GB, free: 23.66 MB / 0.698 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.006849/0.9462, allocations: 2.638 MB / 1.106 GB, free: 23.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.9462, allocations: 1.5 kB / 1.106 GB, free: 23.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000985/0.9472, allocations: 161.6 kB / 1.106 GB, free: 23.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002793/0.9475, allocations: 43.73 kB / 1.106 GB, free: 23.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-05/0.9476, allocations: 23.27 kB / 1.106 GB, free: 23.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.9492, allocations: 1.394 MB / 1.107 GB, free: 21.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.197e-06/0.9492, allocations: 4.875 kB / 1.107 GB, free: 21.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004779/0.954, allocations: 1.77 MB / 1.109 GB, free: 21.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.9555, allocations: 381.2 kB / 1.11 GB, free: 21.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.9559, allocations: 21.09 kB / 1.11 GB, free: 21.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/0.9578, allocations: 128.9 kB / 1.11 GB, free: 21.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.958, allocations: 57.69 kB / 1.11 GB, free: 21.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.9582, allocations: 38.28 kB / 1.11 GB, free: 21.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002244/0.9604, allocations: 1.125 MB / 1.111 GB, free: 20.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.96e-07/0.9605, allocations: 7 kB / 1.111 GB, free: 20.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003971/0.9645, allocations: 1.016 MB / 1.112 GB, free: 20.81 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/0.966, allocations: 0.5627 MB / 1.112 GB, free: 20.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00469/0.9707, allocations: 1.709 MB / 1.114 GB, free: 20.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.412e-06/0.9707, allocations: 0 / 1.114 GB, free: 20.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.9723, allocations: 0.5729 MB / 1.115 GB, free: 20.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/0.9772, allocations: 0.864 MB / 1.115 GB, free: 20.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006918/0.9842, allocations: 3.9 MB / 1.119 GB, free: 18.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.9856, allocations: 1.448 MB / 1.121 GB, free: 17.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002712/0.9884, allocations: 430.2 kB / 1.121 GB, free: 17.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006277/0.989, allocations: 151.6 kB / 1.121 GB, free: 17.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.673e-06/0.989, allocations: 4 kB / 1.121 GB, free: 17.4 MB / 0.698 GB Notification: Performance of Templates: time 0.08212/1.071, allocations: 34.89 MB / 1.155 GB, free: 448 kB / 0.698 GB