Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.965/4.965, allocations: 0.5623 GB / 0.5769 GB, free: 3.367 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.002427/0.002426, allocations: 355 kB / 0.644 GB, free: 185.6 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.279/4.279, allocations: 410.7 MB / 1.112 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.001743/0.001742, allocations: 175 kB / 1.225 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.000483, allocations: 12 kB / 1.348 GB, free: 8.266 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.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.1027/0.68, allocations: 106.7 MB / 1.565 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0346/0.7147, allocations: 24.4 MB / 1.589 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004278/0.719, allocations: 119.1 kB / 1.589 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004289/0.7233, allocations: 1.231 MB / 1.59 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.735, allocations: 3.525 MB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01347/0.7485, allocations: 4.432 MB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.009115/0.7576, allocations: 8.102 MB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003314/0.761, allocations: 2.029 MB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.7658, allocations: 2.313 MB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.7686, allocations: 1.921 MB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003981/0.769, allocations: 104 kB / 1.612 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.7718, allocations: 0.8729 MB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004841/0.7723, allocations: 473.7 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0008083/0.7731, allocations: 0.6251 MB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004043/0.7772, allocations: 3.846 MB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7772, allocations: 4 kB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.092e-06/0.7772, allocations: 0 / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.433e-05/0.7773, allocations: 0 / 1.618 GB, free: 123.8 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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.005299/0.7826, allocations: 2.842 MB / 1.62 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.7827, allocations: 15.62 kB / 1.62 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006142/0.7888, allocations: 1.101 MB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004727/0.7936, allocations: 2.385 MB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.7937, allocations: 147.7 kB / 1.624 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/0.7941, allocations: 192 kB / 1.624 GB, free: 117 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00582/0.7999, allocations: 2.508 MB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.684e-05/0.8, allocations: 7.906 kB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/0.8002, allocations: 76 kB / 1.627 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.542e-05/0.8003, allocations: 59.92 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007009/0.8073, allocations: 2.368 MB / 1.629 GB, free: 111.9 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.01739/0.8247, allocations: 12.14 MB / 1.641 GB, free: 98.88 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007569/0.8323, allocations: 2.115 MB / 1.643 GB, free: 96.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/0.8351, allocations: 0.9396 MB / 1.644 GB, free: 95.83 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.8362, allocations: 1.377 MB / 1.645 GB, free: 94.15 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.8363, allocations: 47.52 kB / 1.645 GB, free: 94.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001451/0.8377, allocations: 230.6 kB / 1.646 GB, free: 93.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=105): time 4.701e-06/0.8377, allocations: 0 / 1.646 GB, free: 93.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=111): time 0.03982/0.8776, allocations: 9.156 MB / 1.654 GB, free: 84.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.8777, allocations: 171.2 kB / 1.655 GB, free: 84.44 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.8813, allocations: 2.058 MB / 1.657 GB, free: 82.36 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002754/0.8816, allocations: 53.7 kB / 1.657 GB, free: 82.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009533/0.8826, allocations: 1.191 MB / 1.658 GB, free: 81.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.883, allocations: 382.4 kB / 1.658 GB, free: 80.71 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.8832, allocations: 32 kB / 1.658 GB, free: 80.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8833, allocations: 365.9 kB / 1.659 GB, free: 80.32 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002887/0.8862, allocations: 0.894 MB / 1.659 GB, free: 79.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003164/0.8894, allocations: 1.308 MB / 1.661 GB, free: 77.96 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/0.8924, allocations: 0.9901 MB / 1.662 GB, free: 76.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.411e-06/0.8924, allocations: 0 / 1.662 GB, free: 76.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.009537/0.902, allocations: 3.01 MB / 1.665 GB, free: 73.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.9022, allocations: 380 kB / 1.665 GB, free: 73.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.9022, allocations: 8 kB / 1.665 GB, free: 73.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007247/0.9095, allocations: 1.432 MB / 1.666 GB, free: 72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.9114, allocations: 331.5 kB / 1.667 GB, free: 71.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/0.9265, allocations: 6.073 MB / 1.673 GB, free: 65.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/0.9302, allocations: 383.3 kB / 1.673 GB, free: 65.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000323/0.9306, allocations: 71.95 kB / 1.673 GB, free: 65.01 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.9306, allocations: 8 kB / 1.673 GB, free: 65 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007611/0.9382, allocations: 2.359 MB / 1.675 GB, free: 62.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/0.9383, allocations: 12 kB / 1.675 GB, free: 62.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003296/0.9416, allocations: 0.6846 MB / 1.676 GB, free: 61.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/0.9439, allocations: 399.4 kB / 1.676 GB, free: 61.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.9588, allocations: 6.769 MB / 1.683 GB, free: 54.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/0.9621, allocations: 331.4 kB / 1.683 GB, free: 54.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/0.9625, allocations: 71.95 kB / 1.683 GB, free: 54.14 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 16,3 36} Notification: Performance of prepare postOptimizeDAE: time 0.001413/0.9639, allocations: 0.6155 MB / 1.684 GB, free: 53.51 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/0.9644, allocations: 233 kB / 1.684 GB, free: 53.28 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007328/0.9718, allocations: 2.516 MB / 1.687 GB, free: 50.77 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/0.9718, allocations: 12 kB / 1.687 GB, free: 50.76 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.841e-06/0.9718, allocations: 0 / 1.687 GB, free: 50.76 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006057/0.9779, allocations: 2.353 MB / 1.689 GB, free: 48.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.9914, allocations: 5.136 MB / 1.694 GB, free: 43.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.9914, allocations: 96 / 1.694 GB, free: 43.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.9931, allocations: 263.7 kB / 1.694 GB, free: 42.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003888/0.997, allocations: 0.8313 MB / 1.695 GB, free: 42.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/0.9973, allocations: 35.97 kB / 1.695 GB, free: 41.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/1, allocations: 1.481 MB / 1.697 GB, free: 40.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.256e-06/1, allocations: 4 kB / 1.697 GB, free: 40.47 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/1.01, allocations: 3.558 MB / 1.7 GB, free: 36.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.012, allocations: 0.5252 MB / 1.701 GB, free: 36.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/1.012, allocations: 24 kB / 1.701 GB, free: 36.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002714/1.015, allocations: 307.5 kB / 1.701 GB, free: 36.01 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/1.015, allocations: 76.89 kB / 1.701 GB, free: 35.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.015, allocations: 51.95 kB / 1.701 GB, free: 35.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002646/1.018, allocations: 1.388 MB / 1.702 GB, free: 34.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.04e-07/1.018, allocations: 0 / 1.702 GB, free: 34.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00468/1.023, allocations: 1.148 MB / 1.704 GB, free: 33.34 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {3 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/1.024, allocations: 0.5119 MB / 1.704 GB, free: 32.83 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01057/1.034, allocations: 3.821 MB / 1.708 GB, free: 28.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.588e-06/1.034, allocations: 4 kB / 1.708 GB, free: 28.97 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002993/1.037, allocations: 0.9919 MB / 1.709 GB, free: 27.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006392/1.044, allocations: 1.154 MB / 1.71 GB, free: 26.85 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/1.057, allocations: 5.758 MB / 1.715 GB, free: 21.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/1.058, allocations: 1.668 MB / 1.717 GB, free: 19.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003066/1.062, allocations: 487 kB / 1.718 GB, free: 18.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006114/1.062, allocations: 179.3 kB / 1.718 GB, free: 18.73 MB / 0.8542 GB Notification: Performance of SimCode: time 1.728e-06/1.062, allocations: 0 / 1.718 GB, free: 18.73 MB / 0.8542 GB Notification: Performance of Templates: time 0.63/1.692, allocations: 55.3 MB / 1.772 GB, free: 244.4 MB / 0.8542 GB