Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.174/2.174, allocations: 252.6 MB / 265.2 MB, free: 5.727 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 183.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.4 MB / 0.5754 GB, free: 10.51 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.001139, allocations: 98.64 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.365e-05/4.375e-05, allocations: 4 kB / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.213, allocations: 106.2 MB / 0.8949 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.893/2.106, allocations: 446.7 MB / 1.331 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/2.106, allocations: 93.86 kB / 1.331 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.564/7.67, allocations: 1.135 GB / 2.466 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.424e-06/7.67, allocations: 3.938 kB / 2.466 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003734/7.67, allocations: 56.02 kB / 2.466 GB, free: 117.1 MB / 0.8855 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.006364/7.677, allocations: 2.071 MB / 2.468 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/7.677, allocations: 10.34 kB / 2.468 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003704/7.681, allocations: 459.3 kB / 2.469 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009319/7.69, allocations: 2.284 MB / 2.471 GB, free: 114 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/7.69, allocations: 90.94 kB / 2.471 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004036/7.691, allocations: 131.4 kB / 2.471 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003041/7.694, allocations: 1.245 MB / 2.472 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.613e-05/7.694, allocations: 3.938 kB / 2.472 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/7.694, allocations: 44.06 kB / 2.472 GB, free: 113 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.286e-05/7.694, allocations: 40.27 kB / 2.473 GB, free: 113 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/7.696, allocations: 0.8313 MB / 2.473 GB, free: 112.7 MB / 0.8855 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.01273/7.709, allocations: 6.875 MB / 2.48 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/7.711, allocations: 1.14 MB / 2.481 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007504/7.712, allocations: 312.3 kB / 2.481 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006605/7.719, allocations: 2.901 MB / 2.484 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008395/7.719, allocations: 346.2 kB / 2.485 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001007/7.72, allocations: 90 kB / 2.485 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.767e-06/7.72, allocations: 0 / 2.485 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002034/7.723, allocations: 0.672 MB / 2.485 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/7.723, allocations: 165.3 kB / 2.486 GB, free: 102 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/7.725, allocations: 1.34 MB / 2.487 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002584/7.726, allocations: 41.61 kB / 2.487 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008807/7.727, allocations: 0.89 MB / 2.488 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/7.727, allocations: 217.4 kB / 2.488 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/7.727, allocations: 23 kB / 2.488 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.301e-05/7.727, allocations: 347.9 kB / 2.488 GB, free: 99.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/7.728, allocations: 268.8 kB / 2.489 GB, free: 99.84 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009473/7.729, allocations: 0.7068 MB / 2.489 GB, free: 99.15 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000873/7.73, allocations: 397.4 kB / 2.49 GB, free: 98.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/7.73, allocations: 3.156 kB / 2.49 GB, free: 98.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002722/7.732, allocations: 1.11 MB / 2.491 GB, free: 98.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009784/7.733, allocations: 4.552 MB / 2.495 GB, free: 93.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.176e-05/7.733, allocations: 11.34 kB / 2.495 GB, free: 93.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.802e-05/7.733, allocations: 19.16 kB / 2.495 GB, free: 93.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/7.735, allocations: 247.1 kB / 2.495 GB, free: 93.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.99e-05/7.735, allocations: 26.39 kB / 2.495 GB, free: 93.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/7.738, allocations: 123 kB / 2.496 GB, free: 93.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/7.738, allocations: 52.39 kB / 2.496 GB, free: 93.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/7.738, allocations: 7.844 kB / 2.496 GB, free: 93.39 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00222/7.74, allocations: 0.9306 MB / 2.497 GB, free: 92.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/7.74, allocations: 17.34 kB / 2.497 GB, free: 92.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/7.74, allocations: 17.84 kB / 2.497 GB, free: 92.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/7.742, allocations: 243.6 kB / 2.497 GB, free: 92.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.74e-05/7.742, allocations: 30.64 kB / 2.497 GB, free: 92.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/7.744, allocations: 122.2 kB / 2.497 GB, free: 92.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/7.744, allocations: 50.77 kB / 2.497 GB, free: 92.82 MB / 0.8855 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 (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.0003367/7.744, allocations: 171.7 kB / 2.497 GB, free: 92.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/7.745, allocations: 166.9 kB / 2.497 GB, free: 92.57 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/7.748, allocations: 0.9398 MB / 2.498 GB, free: 92.06 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/7.748, allocations: 21.02 kB / 2.498 GB, free: 92.05 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/7.748, allocations: 0 / 2.498 GB, free: 92.05 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001456/7.749, allocations: 0.7781 MB / 2.499 GB, free: 91.54 MB / 0.8855 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.005146/7.754, allocations: 2.153 MB / 2.501 GB, free: 90.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/7.754, allocations: 0 / 2.501 GB, free: 90.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/7.756, allocations: 136.9 kB / 2.501 GB, free: 90.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002233/7.756, allocations: 31.72 kB / 2.501 GB, free: 90.03 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.781e-05/7.756, allocations: 19.98 kB / 2.501 GB, free: 90.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009738/7.757, allocations: 1.305 MB / 2.503 GB, free: 88.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/7.757, allocations: 0 / 2.503 GB, free: 88.58 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/7.76, allocations: 1.316 MB / 2.504 GB, free: 87.22 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009997/7.761, allocations: 350.6 kB / 2.504 GB, free: 86.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/7.761, allocations: 12 kB / 2.504 GB, free: 86.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/7.763, allocations: 104.3 kB / 2.504 GB, free: 86.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/7.763, allocations: 48.48 kB / 2.504 GB, free: 86.71 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.773e-05/7.763, allocations: 33.75 kB / 2.504 GB, free: 86.68 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002156/7.765, allocations: 1.075 MB / 2.505 GB, free: 85.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.01e-07/7.765, allocations: 4 kB / 2.505 GB, free: 85.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004296/7.77, allocations: 1.006 MB / 2.506 GB, free: 84.56 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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.003255/7.773, allocations: 1.309 MB / 2.508 GB, free: 83.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003218/7.776, allocations: 1.446 MB / 2.509 GB, free: 82.14 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/7.776, allocations: 0 / 2.509 GB, free: 82.14 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/7.777, allocations: 464.6 kB / 2.51 GB, free: 81.68 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005704/7.783, allocations: 0.736 MB / 2.51 GB, free: 81 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/7.789, allocations: 2.337 MB / 2.513 GB, free: 78.64 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/7.79, allocations: 1.414 MB / 2.514 GB, free: 77.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003991/7.794, allocations: 0.5965 MB / 2.515 GB, free: 76.64 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/7.795, allocations: 115.4 kB / 2.515 GB, free: 76.53 MB / 0.8855 GB Notification: Performance of SimCode: time 1.012e-06/7.795, allocations: 0 / 2.515 GB, free: 76.53 MB / 0.8855 GB Notification: Performance of Templates: time 0.1108/7.906, allocations: 40.45 MB / 2.554 GB, free: 37.02 MB / 0.8855 GB