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 4.825/4.825, allocations: 0.5623 GB / 0.5775 GB, free: 3.398 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002579/0.002579, allocations: 358.5 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.22/4.22, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001833/0.001833, allocations: 185.9 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004845, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.6888, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.0967/0.7855, allocations: 61.8 MB / 1.522 GB, free: 222.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03202/0.8176, allocations: 17.94 MB / 1.539 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003505/0.8212, allocations: 77.91 kB / 1.539 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004325/0.8255, allocations: 0.9054 MB / 1.54 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.836, allocations: 2.801 MB / 1.543 GB, free: 201 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01224/0.8483, allocations: 3.207 MB / 1.546 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.008808/0.8571, allocations: 6.023 MB / 1.552 GB, free: 191.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.8602, allocations: 1.352 MB / 1.553 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.8645, allocations: 1.614 MB / 1.555 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.8674, allocations: 1.378 MB / 1.556 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006121/0.8681, allocations: 72 kB / 1.556 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004714/0.8728, allocations: 1.399 MB / 1.558 GB, free: 186 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0009716/0.8739, allocations: 438.1 kB / 1.558 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0008998/0.8748, allocations: 448.6 kB / 1.558 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004888/0.8797, allocations: 2.697 MB / 1.561 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8797, allocations: 0 / 1.561 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8798, allocations: 0 / 1.561 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.765e-05/0.8799, allocations: 0 / 1.561 GB, free: 182.4 MB / 0.8542 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.006199/0.8861, allocations: 2.337 MB / 1.563 GB, free: 180 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.8861, allocations: 16.02 kB / 1.563 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.8886, allocations: 388.9 kB / 1.564 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005145/0.8938, allocations: 1.735 MB / 1.565 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006848/0.8945, allocations: 170.4 kB / 1.566 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.8949, allocations: 136 kB / 1.566 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004039/0.899, allocations: 1.462 MB / 1.567 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.539e-05/0.8991, allocations: 4 kB / 1.567 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.8993, allocations: 50.58 kB / 1.567 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.8993, allocations: 36 kB / 1.567 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.9034, allocations: 1.137 MB / 1.568 GB, free: 174.7 MB / 0.8542 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.01265/0.9161, allocations: 7.391 MB / 1.576 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/0.9196, allocations: 1.367 MB / 1.577 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.9213, allocations: 454.6 kB / 1.577 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005747/0.9271, allocations: 2.6 MB / 1.58 GB, free: 162 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/0.9287, allocations: 0.5063 MB / 1.58 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007879/0.9295, allocations: 91.25 kB / 1.58 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=63): time 4.288e-06/0.9296, allocations: 0 / 1.58 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=63): time 0.004773/0.9344, allocations: 1.28 MB / 1.582 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.9344, allocations: 196.4 kB / 1.582 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.937, allocations: 1.506 MB / 1.583 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/0.9372, allocations: 45.7 kB / 1.583 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008067/0.938, allocations: 0.8958 MB / 1.584 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.9383, allocations: 224.8 kB / 1.584 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.9384, allocations: 23.98 kB / 1.585 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.9385, allocations: 345.9 kB / 1.585 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.94, allocations: 394.1 kB / 1.585 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.9417, allocations: 0.7634 MB / 1.586 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.9433, allocations: 0.5079 MB / 1.586 GB, free: 155 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.9433, allocations: 4 kB / 1.586 GB, free: 155 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004059/0.9474, allocations: 1.323 MB / 1.588 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.9476, allocations: 405.3 kB / 1.588 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.9477, allocations: 16 kB / 1.588 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-05/0.9477, allocations: 16 kB / 1.588 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.9495, allocations: 259.6 kB / 1.588 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.9495, allocations: 23.92 kB / 1.588 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.9518, allocations: 132.5 kB / 1.589 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.952, allocations: 51.98 kB / 1.589 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.952, allocations: 4 kB / 1.589 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003586/0.9556, allocations: 1.155 MB / 1.59 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.9557, allocations: 15.98 kB / 1.59 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.9557, allocations: 19.94 kB / 1.59 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.9574, allocations: 256.2 kB / 1.59 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.9575, allocations: 19.94 kB / 1.59 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.9596, allocations: 139.6 kB / 1.59 GB, free: 151 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.9598, allocations: 51.98 kB / 1.59 GB, free: 151 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 119 * 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.001038/0.9609, allocations: 496.7 kB / 1.591 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.9613, allocations: 177.8 kB / 1.591 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/0.965, allocations: 1.101 MB / 1.592 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002819/0.9679, allocations: 0.8276 MB / 1.593 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.9679, allocations: 4 kB / 1.593 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008819/0.9688, allocations: 346.7 kB / 1.593 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000324/0.9692, allocations: 16 kB / 1.593 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.9709, allocations: 111.6 kB / 1.593 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.9711, allocations: 52.58 kB / 1.593 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004273/0.9754, allocations: 1.236 MB / 1.594 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004846/0.9803, allocations: 1.794 MB / 1.596 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00142/0.9817, allocations: 425 kB / 1.597 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002036/0.9838, allocations: 1.006 MB / 1.598 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of Backend: time 1.313e-06/0.9838, allocations: 4 kB / 1.598 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006905/0.9908, allocations: 1.963 MB / 1.6 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0104/1.001, allocations: 4.709 MB / 1.604 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.084/1.085, allocations: 36.36 MB / 1.64 GB, free: 100.8 MB / 0.8542 GB