Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.29/5.29, allocations: 0.5623 GB / 0.5769 GB, free: 3.281 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.00248/0.00248, allocations: 359.4 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 3.961/3.961, allocations: 410.7 MB / 1.112 GB, free: 5.973 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.001785/0.001784, allocations: 176.8 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005047, allocations: 16 kB / 1.348 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.606/0.6065, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.1012/0.7078, allocations: 106.7 MB / 1.565 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.04704/0.7549, allocations: 24.39 MB / 1.589 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007036/0.762, allocations: 111.2 kB / 1.589 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.007602/0.7697, allocations: 1.242 MB / 1.59 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0204/0.7901, allocations: 3.511 MB / 1.593 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0256/0.8158, allocations: 4.448 MB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0104/0.8262, allocations: 8.106 MB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003827/0.8301, allocations: 2.025 MB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005315/0.8355, allocations: 2.317 MB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.8389, allocations: 1.913 MB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006182/0.8395, allocations: 104 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003508/0.8431, allocations: 0.869 MB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008728/0.844, allocations: 473.7 kB / 1.613 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.8451, allocations: 0.6251 MB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004948/0.8501, allocations: 3.842 MB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.8501, allocations: 0 / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8501, allocations: 0 / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.21e-05/0.8502, 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.006075/0.8563, allocations: 2.854 MB / 1.62 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.8564, allocations: 11.62 kB / 1.62 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006245/0.8626, allocations: 1.097 MB / 1.621 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00518/0.8678, allocations: 2.389 MB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.868, allocations: 147.7 kB / 1.624 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003796/0.8684, allocations: 196 kB / 1.624 GB, free: 117 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006451/0.8749, allocations: 2.511 MB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.968e-05/0.875, allocations: 7.906 kB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002448/0.8752, allocations: 79.98 kB / 1.627 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.157e-05/0.8753, allocations: 51.94 kB / 1.627 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007783/0.8831, allocations: 2.375 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.0198/0.903, allocations: 12.14 MB / 1.641 GB, free: 98.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009787/0.9128, allocations: 2.346 MB / 1.643 GB, free: 96.55 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002972/0.9158, allocations: 0.9435 MB / 1.644 GB, free: 95.61 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.917, allocations: 1.377 MB / 1.645 GB, free: 93.94 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.47e-05/0.917, allocations: 47.52 kB / 1.645 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001618/0.9187, allocations: 230.6 kB / 1.646 GB, free: 93.66 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=105): time 6.319e-06/0.9187, allocations: 0 / 1.646 GB, free: 93.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=111): time 0.04015/0.9589, allocations: 9.152 MB / 1.655 GB, free: 84.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.9589, allocations: 175.2 kB / 1.655 GB, free: 84.22 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003641/0.9626, allocations: 2.054 MB / 1.657 GB, free: 82.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002767/0.9629, allocations: 53.7 kB / 1.657 GB, free: 82.09 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009354/0.9639, allocations: 1.191 MB / 1.658 GB, free: 80.88 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/0.9643, allocations: 390.4 kB / 1.658 GB, free: 80.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.9644, allocations: 32 kB / 1.658 GB, free: 80.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.9645, allocations: 357.9 kB / 1.659 GB, free: 80.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.9675, allocations: 0.9017 MB / 1.66 GB, free: 79.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/0.9709, allocations: 1.304 MB / 1.661 GB, free: 77.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/0.9741, allocations: 0.9861 MB / 1.662 GB, free: 76.76 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.9741, allocations: 4 kB / 1.662 GB, free: 76.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01353/0.9877, allocations: 3.002 MB / 1.665 GB, free: 73.74 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000263/0.988, allocations: 388 kB / 1.665 GB, free: 73.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/0.988, allocations: 12 kB / 1.665 GB, free: 73.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/0.9998, allocations: 1.436 MB / 1.667 GB, free: 71.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.002, allocations: 331.5 kB / 1.667 GB, free: 71.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/1.017, allocations: 6.062 MB / 1.673 GB, free: 65.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/1.021, allocations: 387.3 kB / 1.673 GB, free: 64.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003247/1.021, allocations: 75.95 kB / 1.673 GB, free: 64.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/1.021, allocations: 7.953 kB / 1.673 GB, free: 64.79 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007268/1.028, allocations: 2.359 MB / 1.676 GB, free: 62.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/1.028, allocations: 8.688 kB / 1.676 GB, free: 62.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003219/1.032, allocations: 0.6808 MB / 1.676 GB, free: 61.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/1.034, allocations: 395.4 kB / 1.677 GB, free: 61.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/1.049, allocations: 6.77 MB / 1.683 GB, free: 54.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/1.052, allocations: 327.4 kB / 1.684 GB, free: 54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/1.053, allocations: 75.95 kB / 1.684 GB, free: 53.92 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.001448/1.054, allocations: 0.614 MB / 1.684 GB, free: 53.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/1.055, allocations: 241 kB / 1.684 GB, free: 53.06 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007499/1.062, allocations: 2.513 MB / 1.687 GB, free: 50.55 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/1.062, allocations: 12 kB / 1.687 GB, free: 50.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.027e-06/1.062, allocations: 0 / 1.687 GB, free: 50.54 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006192/1.069, allocations: 2.356 MB / 1.689 GB, free: 48.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/1.083, allocations: 5.125 MB / 1.694 GB, free: 42.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.083, allocations: 3.938 kB / 1.694 GB, free: 42.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.084, allocations: 263.8 kB / 1.694 GB, free: 42.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00393/1.088, allocations: 0.8313 MB / 1.695 GB, free: 41.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/1.088, allocations: 35.97 kB / 1.695 GB, free: 41.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/1.091, allocations: 1.485 MB / 1.697 GB, free: 40.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.362e-06/1.091, allocations: 3.953 kB / 1.697 GB, free: 40.25 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.102, allocations: 3.546 MB / 1.7 GB, free: 36.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/1.103, allocations: 0.5251 MB / 1.701 GB, free: 36.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004448/1.104, allocations: 28 kB / 1.701 GB, free: 36.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/1.107, allocations: 307.4 kB / 1.701 GB, free: 35.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/1.107, allocations: 76.89 kB / 1.701 GB, free: 35.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/1.107, allocations: 51.97 kB / 1.701 GB, free: 35.67 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002906/1.11, allocations: 1.388 MB / 1.703 GB, free: 34.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.57e-07/1.11, allocations: 4 kB / 1.703 GB, free: 34.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005084/1.115, allocations: 1.14 MB / 1.704 GB, free: 33.13 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.001113/1.116, allocations: 0.5149 MB / 1.704 GB, free: 32.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.127, allocations: 3.821 MB / 1.708 GB, free: 28.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/1.127, allocations: 0 / 1.708 GB, free: 28.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003136/1.131, allocations: 0.9958 MB / 1.709 GB, free: 27.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006548/1.137, allocations: 1.156 MB / 1.71 GB, free: 26.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/1.151, allocations: 5.763 MB / 1.716 GB, free: 20.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/1.153, allocations: 1.672 MB / 1.717 GB, free: 19.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00327/1.156, allocations: 486.6 kB / 1.718 GB, free: 18.69 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007502/1.157, allocations: 175.3 kB / 1.718 GB, free: 18.52 MB / 0.8542 GB Notification: Performance of SimCode: time 1.65e-06/1.157, allocations: 0 / 1.718 GB, free: 18.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.6394/1.796, allocations: 55.3 MB / 1.772 GB, free: 245.8 MB / 0.8542 GB