Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.656/4.656, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002749/0.002748, allocations: 353 kB / 0.6446 GB, free: 21.62 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.063/4.063, allocations: 410.7 MB / 1.113 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001842/0.001842, allocations: 178 kB / 1.226 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 11.34 kB / 1.349 GB, free: 320.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2028, allocations: 115.3 MB / 1.461 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05732/0.2602, allocations: 49.16 MB / 1.509 GB, free: 171.6 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02916/0.2894, allocations: 16.41 MB / 1.525 GB, free: 155.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.2925, allocations: 79.5 kB / 1.525 GB, free: 155.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004109/0.2967, allocations: 0.8814 MB / 1.526 GB, free: 154.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.009321/0.306, allocations: 2.459 MB / 1.529 GB, free: 151.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01179/0.3178, allocations: 3.059 MB / 1.532 GB, free: 148.8 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.007857/0.3257, allocations: 5.183 MB / 1.537 GB, free: 143.6 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002902/0.3286, allocations: 1.241 MB / 1.538 GB, free: 142.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004438/0.3331, allocations: 1.489 MB / 1.539 GB, free: 140.8 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/0.336, allocations: 1.252 MB / 1.541 GB, free: 139.6 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0004691/0.3365, allocations: 71.94 kB / 1.541 GB, free: 139.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/0.3408, allocations: 1.345 MB / 1.542 GB, free: 138.2 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0009027/0.3417, allocations: 422.2 kB / 1.542 GB, free: 137.7 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0007598/0.3425, allocations: 408.6 kB / 1.543 GB, free: 137.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.004558/0.3471, allocations: 2.455 MB / 1.545 GB, free: 134.9 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3471, allocations: 0 / 1.545 GB, free: 134.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3471, allocations: 0 / 1.545 GB, free: 134.9 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.257e-05/0.3472, allocations: 0 / 1.545 GB, free: 134.9 MB / 0.8073 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.005659/0.3529, allocations: 2.229 MB / 1.547 GB, free: 132.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.353, allocations: 20.83 kB / 1.547 GB, free: 132.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003574/0.3565, allocations: 484.9 kB / 1.548 GB, free: 132.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/0.3611, allocations: 1.579 MB / 1.549 GB, free: 130.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000635/0.3618, allocations: 158.1 kB / 1.55 GB, free: 130.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002946/0.3621, allocations: 120 kB / 1.55 GB, free: 130.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003955/0.3661, allocations: 1.392 MB / 1.551 GB, free: 128.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.825e-05/0.3662, allocations: 3.938 kB / 1.551 GB, free: 128.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/0.3663, allocations: 48 kB / 1.551 GB, free: 128.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/0.3664, allocations: 32 kB / 1.551 GB, free: 128.6 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004365/0.3708, allocations: 1.128 MB / 1.552 GB, free: 127.5 MB / 0.8073 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.01219/0.383, allocations: 7.022 MB / 1.559 GB, free: 119.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/0.387, allocations: 1.433 MB / 1.56 GB, free: 118.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.3887, allocations: 434.8 kB / 1.561 GB, free: 117.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006562/0.3953, allocations: 3.083 MB / 1.564 GB, free: 114.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001645/0.3969, allocations: 462.9 kB / 1.564 GB, free: 114.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007401/0.3977, allocations: 91.25 kB / 1.564 GB, free: 114 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=60): time 4.008e-06/0.3977, allocations: 0 / 1.564 GB, free: 114 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60): time 0.005194/0.4029, allocations: 1.299 MB / 1.566 GB, free: 112.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.403, allocations: 137.1 kB / 1.566 GB, free: 112.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.4059, allocations: 1.578 MB / 1.567 GB, free: 110.9 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.4062, allocations: 37.7 kB / 1.567 GB, free: 110.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008448/0.407, allocations: 0.8842 MB / 1.568 GB, free: 110 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/0.4073, allocations: 216.9 kB / 1.568 GB, free: 109.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-05/0.4074, allocations: 27.98 kB / 1.568 GB, free: 109.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.4075, allocations: 345.9 kB / 1.569 GB, free: 109.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.4091, allocations: 389.8 kB / 1.569 GB, free: 109 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.411, allocations: 0.8008 MB / 1.57 GB, free: 108 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.4128, allocations: 0.5005 MB / 1.57 GB, free: 107.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.4129, allocations: 4 kB / 1.57 GB, free: 107.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004402/0.4173, allocations: 1.34 MB / 1.572 GB, free: 106.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002349/0.4175, allocations: 441.5 kB / 1.572 GB, free: 105.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.4176, allocations: 12 kB / 1.572 GB, free: 105.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-05/0.4176, allocations: 16 kB / 1.572 GB, free: 105.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.4196, allocations: 267.6 kB / 1.572 GB, free: 105.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/0.4196, allocations: 23.92 kB / 1.573 GB, free: 105.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.4219, allocations: 136.3 kB / 1.573 GB, free: 105.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.4222, allocations: 55.98 kB / 1.573 GB, free: 105.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4222, allocations: 4 kB / 1.573 GB, free: 105.1 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004028/0.4262, allocations: 1.169 MB / 1.574 GB, free: 103.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.4263, allocations: 15.94 kB / 1.574 GB, free: 103.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.4263, allocations: 20 kB / 1.574 GB, free: 103.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.4283, allocations: 268.1 kB / 1.574 GB, free: 103.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.902e-05/0.4283, allocations: 23.92 kB / 1.574 GB, free: 103.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.4306, allocations: 120.5 kB / 1.574 GB, free: 103.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.4308, allocations: 55.98 kB / 1.574 GB, free: 103.4 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (122): * Single equations (assignments): 118 * 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.001068/0.4319, allocations: 487.3 kB / 1.575 GB, free: 102.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/0.4323, allocations: 173.8 kB / 1.575 GB, free: 102.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.4365, allocations: 1.171 MB / 1.576 GB, free: 101.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003198/0.4398, allocations: 1.009 MB / 1.577 GB, free: 100.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.4398, allocations: 0 / 1.577 GB, free: 100.5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.4413, allocations: 334.8 kB / 1.577 GB, free: 100.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007835/0.4421, allocations: 16 kB / 1.577 GB, free: 100.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.444, allocations: 103.8 kB / 1.578 GB, free: 100 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.4442, allocations: 56.53 kB / 1.578 GB, free: 99.98 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004557/0.4488, allocations: 1.107 MB / 1.579 GB, free: 98.86 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005175/0.454, allocations: 1.67 MB / 1.58 GB, free: 97.17 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001482/0.4555, allocations: 441 kB / 1.581 GB, free: 96.74 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002099/0.4576, allocations: 1.053 MB / 1.582 GB, free: 95.7 MB / 0.8073 GB Notification: Performance of Backend: time 9.61e-07/0.4576, allocations: 0 / 1.582 GB, free: 95.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00779/0.4654, allocations: 2.242 MB / 1.584 GB, free: 93.58 MB / 0.8073 GB Notification: Performance of SimCode: time 0.009718/0.4752, allocations: 4.483 MB / 1.588 GB, free: 89.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.07957/0.5548, allocations: 34.11 MB / 1.622 GB, free: 55.34 MB / 0.8073 GB