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.618/4.618, allocations: 0.5623 GB / 0.5769 GB, free: 3.352 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.002369/0.002369, allocations: 356.4 kB / 0.644 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 3.878/3.878, allocations: 410.7 MB / 1.112 GB, free: 6.082 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.001769/0.001769, allocations: 188.7 kB / 1.225 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005166, allocations: 16 kB / 1.348 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5768/0.5773, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05996/0.6373, allocations: 61.8 MB / 1.521 GB, free: 222.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02829/0.6656, allocations: 17.95 MB / 1.539 GB, free: 204.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.6689, allocations: 75.5 kB / 1.539 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003231/0.6721, allocations: 0.9152 MB / 1.54 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.008705/0.6809, allocations: 2.789 MB / 1.542 GB, free: 201 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.6909, allocations: 3.208 MB / 1.545 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00682/0.6977, allocations: 6.016 MB / 1.551 GB, free: 191.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.7006, allocations: 1.36 MB / 1.553 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005795/0.7064, allocations: 1.618 MB / 1.554 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003394/0.7098, allocations: 1.369 MB / 1.556 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004995/0.7104, allocations: 76 kB / 1.556 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006635/0.717, allocations: 1.407 MB / 1.557 GB, free: 186 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0009468/0.718, allocations: 438.1 kB / 1.557 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.7191, allocations: 440.6 kB / 1.558 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006493/0.7256, allocations: 2.693 MB / 1.56 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.646e-06/0.7257, allocations: 0 / 1.56 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.943e-06/0.7257, allocations: 0 / 1.56 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.418e-05/0.7258, allocations: 0 / 1.56 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.00879/0.7346, allocations: 2.345 MB / 1.563 GB, free: 180 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/0.7347, allocations: 12.03 kB / 1.563 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.7384, allocations: 392.9 kB / 1.563 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008387/0.7468, allocations: 1.735 MB / 1.565 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008978/0.7478, allocations: 166.4 kB / 1.565 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005052/0.7483, allocations: 136 kB / 1.565 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006786/0.7551, allocations: 1.473 MB / 1.567 GB, free: 176 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.979e-05/0.7553, allocations: 0 / 1.567 GB, free: 176 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003477/0.7556, allocations: 60 kB / 1.567 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.217e-05/0.7557, allocations: 35.94 kB / 1.567 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006774/0.7625, allocations: 1.125 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.0196/0.7822, allocations: 7.39 MB / 1.575 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.7851, allocations: 1.37 MB / 1.576 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.7863, allocations: 462.6 kB / 1.577 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004349/0.7907, allocations: 2.596 MB / 1.579 GB, free: 162 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001199/0.7919, allocations: 0.4986 MB / 1.58 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004805/0.7924, allocations: 95.23 kB / 1.58 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=63): time 3.81e-06/0.7924, allocations: 0 / 1.58 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=63): time 0.003457/0.7959, allocations: 1.284 MB / 1.581 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.796, allocations: 192.5 kB / 1.581 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.7981, allocations: 1.506 MB / 1.583 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/0.7982, allocations: 41.7 kB / 1.583 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000682/0.7989, allocations: 0.8997 MB / 1.584 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.7991, allocations: 220.8 kB / 1.584 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.7992, allocations: 24 kB / 1.584 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.7993, allocations: 341.9 kB / 1.584 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.8004, allocations: 398 kB / 1.585 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.8017, allocations: 0.7634 MB / 1.585 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.8029, allocations: 0.5039 MB / 1.586 GB, free: 155 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.792e-06/0.8029, allocations: 0 / 1.586 GB, free: 155 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003081/0.806, allocations: 1.327 MB / 1.587 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.8062, allocations: 413.5 kB / 1.588 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.8062, allocations: 15.98 kB / 1.588 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.8063, allocations: 16 kB / 1.588 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.8075, allocations: 251.7 kB / 1.588 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.8075, allocations: 27.86 kB / 1.588 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.8091, allocations: 136.5 kB / 1.588 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.8092, allocations: 55.92 kB / 1.588 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.778e-06/0.8093, allocations: 4 kB / 1.588 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002751/0.812, allocations: 1.147 MB / 1.589 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.8121, allocations: 8.594 kB / 1.589 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.8121, allocations: 16 kB / 1.589 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.8133, allocations: 259.6 kB / 1.589 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.8133, allocations: 27.92 kB / 1.589 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.815, allocations: 132.4 kB / 1.59 GB, free: 151 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.8151, 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.0008772/0.816, allocations: 0.4912 MB / 1.59 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.8163, allocations: 169.8 kB / 1.59 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.8191, allocations: 1.111 MB / 1.591 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.8192, allocations: 12 kB / 1.591 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.663e-06/0.8192, allocations: 3.953 kB / 1.591 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002098/0.8213, allocations: 0.8199 MB / 1.592 GB, free: 148.4 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 postOpt removeSimpleEquations (simulation): time 0.004924/0.8263, allocations: 2.705 MB / 1.595 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.8263, allocations: 4 kB / 1.595 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009406/0.8272, allocations: 160 kB / 1.595 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.8275, allocations: 40.77 kB / 1.595 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.13e-05/0.8275, allocations: 23.98 kB / 1.595 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.8286, allocations: 1.381 MB / 1.596 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.8286, allocations: 0 / 1.596 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.8323, allocations: 1.635 MB / 1.598 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000688/0.833, allocations: 370.5 kB / 1.598 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/0.8334, allocations: 20 kB / 1.598 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.8348, allocations: 131.7 kB / 1.598 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.8349, allocations: 52.48 kB / 1.599 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.501e-05/0.835, allocations: 39.91 kB / 1.599 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001709/0.8368, allocations: 1.083 MB / 1.6 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.31e-07/0.8368, allocations: 0 / 1.6 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002896/0.8397, allocations: 0.9901 MB / 1.601 GB, free: 139.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (74): * Single equations (assignments): 66 * 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.001142/0.8408, allocations: 0.5353 MB / 1.601 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003954/0.8448, allocations: 1.703 MB / 1.603 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.784e-06/0.8448, allocations: 8.078 kB / 1.603 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.8463, allocations: 0.5723 MB / 1.603 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005101/0.8514, allocations: 0.8813 MB / 1.604 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00684/0.8583, allocations: 3.915 MB / 1.608 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009956/0.8593, allocations: 1.452 MB / 1.609 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002505/0.8618, allocations: 430.2 kB / 1.61 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/0.8623, allocations: 147.3 kB / 1.61 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.66e-06/0.8623, allocations: 0 / 1.61 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.07151/0.9338, allocations: 33.88 MB / 1.643 GB, free: 96.48 MB / 0.8542 GB