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.4/4.4, allocations: 0.5623 GB / 0.5769 GB, free: 66.91 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.002619/0.002618, allocations: 364.4 kB / 0.644 GB, free: 21.54 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.014/4.014, allocations: 410.7 MB / 1.112 GB, free: 15.73 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.001778/0.001778, allocations: 190 kB / 1.225 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004896, allocations: 13.39 kB / 1.348 GB, free: 320.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1535, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.0475/0.201, allocations: 49.15 MB / 1.509 GB, free: 171.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02344/0.2245, allocations: 16.41 MB / 1.525 GB, free: 155.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002557/0.2271, allocations: 79.5 kB / 1.525 GB, free: 155.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002922/0.23, allocations: 0.8831 MB / 1.526 GB, free: 154.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00744/0.2375, allocations: 2.455 MB / 1.528 GB, free: 151.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.009455/0.247, allocations: 3.06 MB / 1.531 GB, free: 148.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.006071/0.2531, allocations: 5.187 MB / 1.536 GB, free: 143.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.255, allocations: 1.237 MB / 1.537 GB, free: 142.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/0.2575, allocations: 1.485 MB / 1.539 GB, free: 140.8 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.2591, allocations: 1.26 MB / 1.54 GB, free: 139.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002342/0.2594, allocations: 68 kB / 1.54 GB, free: 139.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.2625, allocations: 1.345 MB / 1.541 GB, free: 138.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004894/0.263, allocations: 418.2 kB / 1.542 GB, free: 137.7 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0005604/0.2636, allocations: 408.6 kB / 1.542 GB, free: 137.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003069/0.2667, allocations: 2.459 MB / 1.545 GB, free: 134.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.268e-06/0.2667, allocations: 0 / 1.545 GB, free: 134.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.919e-06/0.2667, allocations: 0 / 1.545 GB, free: 134.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.2667, allocations: 0 / 1.545 GB, free: 134.8 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.003862/0.2706, allocations: 2.225 MB / 1.547 GB, free: 132.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2707, allocations: 20.83 kB / 1.547 GB, free: 132.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/0.2729, allocations: 488.9 kB / 1.547 GB, free: 132 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/0.2765, allocations: 1.585 MB / 1.549 GB, free: 130.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004007/0.2769, allocations: 154.2 kB / 1.549 GB, free: 130.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.2771, allocations: 120 kB / 1.549 GB, free: 130.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.2801, allocations: 1.403 MB / 1.55 GB, free: 128.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.2801, allocations: 3.938 kB / 1.55 GB, free: 128.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.2803, allocations: 48 kB / 1.55 GB, free: 128.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.2803, allocations: 32 kB / 1.551 GB, free: 128.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00318/0.2835, allocations: 1.128 MB / 1.552 GB, free: 127.4 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.009441/0.293, allocations: 7.014 MB / 1.558 GB, free: 119.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/0.2958, allocations: 1.429 MB / 1.56 GB, free: 118.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.297, allocations: 437 kB / 1.56 GB, free: 117.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004924/0.3019, allocations: 3.078 MB / 1.563 GB, free: 114.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.3032, allocations: 466.9 kB / 1.564 GB, free: 114 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004711/0.3037, allocations: 91.25 kB / 1.564 GB, free: 113.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=60): time 3.742e-06/0.3037, allocations: 0 / 1.564 GB, free: 113.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60): time 0.00364/0.3074, allocations: 1.295 MB / 1.565 GB, free: 112.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3074, allocations: 145 kB / 1.565 GB, free: 112.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.3097, allocations: 1.574 MB / 1.567 GB, free: 110.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.301e-05/0.3098, allocations: 37.7 kB / 1.567 GB, free: 110.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006911/0.3105, allocations: 0.8803 MB / 1.568 GB, free: 109.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.3107, allocations: 220.9 kB / 1.568 GB, free: 109.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.3107, allocations: 24 kB / 1.568 GB, free: 109.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.3108, allocations: 345.9 kB / 1.568 GB, free: 109.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.312, allocations: 393.8 kB / 1.569 GB, free: 108.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.3133, allocations: 0.8008 MB / 1.569 GB, free: 108 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.3146, allocations: 0.5005 MB / 1.57 GB, free: 107.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.156e-06/0.3146, allocations: 4 kB / 1.57 GB, free: 107.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003239/0.3179, allocations: 1.34 MB / 1.571 GB, free: 106.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.3181, allocations: 441.5 kB / 1.572 GB, free: 105.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/0.3181, allocations: 12 kB / 1.572 GB, free: 105.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.3182, allocations: 16 kB / 1.572 GB, free: 105.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.3195, allocations: 275.6 kB / 1.572 GB, free: 105.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-05/0.3195, allocations: 23.92 kB / 1.572 GB, free: 105.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.3211, allocations: 132.4 kB / 1.572 GB, free: 105.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.3212, allocations: 59.97 kB / 1.572 GB, free: 105 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.3212, allocations: 4 kB / 1.572 GB, free: 105 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002876/0.3241, allocations: 1.169 MB / 1.573 GB, free: 103.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.3242, allocations: 12 kB / 1.573 GB, free: 103.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3242, allocations: 19.95 kB / 1.573 GB, free: 103.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.3254, allocations: 268.2 kB / 1.574 GB, free: 103.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.3255, allocations: 19.94 kB / 1.574 GB, free: 103.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.327, allocations: 132.4 kB / 1.574 GB, free: 103.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.3272, allocations: 55.98 kB / 1.574 GB, free: 103.3 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.0008321/0.328, allocations: 484.7 kB / 1.574 GB, free: 102.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.3283, allocations: 169.8 kB / 1.574 GB, free: 102.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.3317, allocations: 1.168 MB / 1.575 GB, free: 101.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.3318, allocations: 11.94 kB / 1.575 GB, free: 101.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.18e-06/0.3318, allocations: 0 / 1.575 GB, free: 101.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002337/0.3341, allocations: 1.009 MB / 1.576 GB, free: 100.4 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 postOpt removeSimpleEquations (simulation): time 0.005161/0.3393, allocations: 2.445 MB / 1.579 GB, free: 97.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.3394, allocations: 7.953 kB / 1.579 GB, free: 97.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000956/0.3403, allocations: 151.9 kB / 1.579 GB, free: 97.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.3405, allocations: 36.81 kB / 1.579 GB, free: 97.73 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.369e-05/0.3406, allocations: 27.92 kB / 1.579 GB, free: 97.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.3418, allocations: 1.359 MB / 1.58 GB, free: 96.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3418, allocations: 0 / 1.58 GB, free: 96.21 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003882/0.3457, allocations: 1.62 MB / 1.582 GB, free: 94.56 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007707/0.3465, allocations: 354.6 kB / 1.582 GB, free: 94.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/0.3469, allocations: 16 kB / 1.582 GB, free: 94.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.3482, allocations: 121.4 kB / 1.582 GB, free: 94.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.3484, allocations: 60.41 kB / 1.583 GB, free: 94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-05/0.3485, allocations: 27.98 kB / 1.583 GB, free: 93.97 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001786/0.3503, allocations: 1.11 MB / 1.584 GB, free: 92.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.64e-07/0.3503, allocations: 0 / 1.584 GB, free: 92.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003037/0.3533, allocations: 0.9201 MB / 1.585 GB, free: 91.92 MB / 0.8073 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) * Number of clocked states: 0 () * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002121/0.3555, allocations: 0.7455 MB / 1.585 GB, free: 91.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00419/0.3597, allocations: 1.725 MB / 1.587 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.233e-06/0.3597, allocations: 0 / 1.587 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.3612, allocations: 0.5769 MB / 1.588 GB, free: 88.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/0.3651, allocations: 0.7418 MB / 1.588 GB, free: 88.24 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006239/0.3714, allocations: 3.78 MB / 1.592 GB, free: 84.43 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009264/0.3724, allocations: 1.411 MB / 1.593 GB, free: 82.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002157/0.3745, allocations: 430.2 kB / 1.594 GB, free: 82.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.375, allocations: 139.4 kB / 1.594 GB, free: 82.42 MB / 0.8073 GB Notification: Performance of SimCode: time 1.573e-06/0.375, allocations: 4 kB / 1.594 GB, free: 82.42 MB / 0.8073 GB Notification: Performance of Templates: time 0.06318/0.4382, allocations: 31.15 MB / 1.624 GB, free: 51.71 MB / 0.8073 GB