Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.26/2.26, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 177.7 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.423/2.423, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 92 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 9.844 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2303, allocations: 106.3 MB / 0.8989 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.1425/0.3729, allocations: 96.91 MB / 0.9935 GB, free: 384 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.054/0.4269, allocations: 23 MB / 1.016 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005062/0.4321, allocations: 107.2 kB / 1.016 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.008822/0.441, allocations: 1.403 MB / 1.017 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.02118/0.4622, allocations: 3.359 MB / 1.021 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0249/0.4872, allocations: 4.355 MB / 1.025 GB, free: 188 kB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01513/0.5023, allocations: 4.388 MB / 1.029 GB, free: 11.79 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007477/0.5099, allocations: 2.184 MB / 1.031 GB, free: 9.566 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009595/0.5195, allocations: 2.343 MB / 1.034 GB, free: 7.215 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004486/0.5241, allocations: 1.505 MB / 1.035 GB, free: 5.703 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.001171/0.5253, allocations: 112 kB / 1.035 GB, free: 5.594 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005805/0.5311, allocations: 1.061 MB / 1.036 GB, free: 4.531 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.5328, allocations: 0.5212 MB / 1.037 GB, free: 4.008 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.001955/0.5348, allocations: 0.6914 MB / 1.037 GB, free: 3.309 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.009367/0.5442, allocations: 4.34 MB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5442, allocations: 0 / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5443, allocations: 0 / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001893/0.5445, allocations: 0 / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 502 * Number of variables: 502 Notification: Performance of Generate backend data structure: time 0.0111/0.5556, allocations: 3.133 MB / 1.045 GB, free: 11.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.5556, allocations: 12.03 kB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.566, allocations: 1.143 MB / 1.046 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008068/0.5741, allocations: 2.534 MB / 1.048 GB, free: 8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.5744, allocations: 159.9 kB / 1.049 GB, free: 7.844 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008078/0.5752, allocations: 223.9 kB / 1.049 GB, free: 7.625 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.5861, allocations: 2.752 MB / 1.051 GB, free: 4.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.063e-05/0.5862, allocations: 3.938 kB / 1.051 GB, free: 4.746 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003666/0.5866, allocations: 84 kB / 1.052 GB, free: 4.664 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.215e-05/0.5867, allocations: 59.95 kB / 1.052 GB, free: 4.605 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.5993, allocations: 2.501 MB / 1.054 GB, free: 2.102 MB / 0.698 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.7295/1.329, allocations: 12.86 MB / 1.067 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01652/1.345, allocations: 2.516 MB / 1.069 GB, free: 141.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/1.347, allocations: 1.381 MB / 1.07 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/1.347, allocations: 50.22 kB / 1.07 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002369/1.35, allocations: 255.2 kB / 1.071 GB, free: 140 MB / 0.698 GB Notification: Performance of pre-optimization done (n=119): time 3.843e-05/1.35, allocations: 0 / 1.071 GB, free: 140 MB / 0.698 GB Notification: Performance of matching and sorting (n=125): time 0.03163/1.381, allocations: 5.891 MB / 1.076 GB, free: 139.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/1.382, allocations: 483.2 kB / 1.077 GB, free: 138.6 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter hex.valHea.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter hex.valHea.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter hex.valHea.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter hex.valHea.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter hex.valCoo.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter hex.valCoo.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter hex.valCoo.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter hex.valCoo.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006773/1.388, allocations: 2.39 MB / 1.079 GB, free: 138.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005543/1.389, allocations: 55.2 kB / 1.079 GB, free: 138.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00187/1.391, allocations: 1.326 MB / 1.081 GB, free: 137.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009168/1.392, allocations: 441.9 kB / 1.081 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/1.392, allocations: 34.78 kB / 1.081 GB, free: 136.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.392, allocations: 375.9 kB / 1.081 GB, free: 136.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005202/1.398, allocations: 1.065 MB / 1.082 GB, free: 136.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00581/1.403, allocations: 1.569 MB / 1.084 GB, free: 135.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005446/1.409, allocations: 1.189 MB / 1.085 GB, free: 134.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-05/1.409, allocations: 4 kB / 1.085 GB, free: 134.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01521/1.424, allocations: 3.255 MB / 1.088 GB, free: 133.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008997/1.425, allocations: 3.979 MB / 1.092 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.81e-05/1.425, allocations: 18.58 kB / 1.092 GB, free: 129 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005782/1.431, allocations: 0.7038 MB / 1.093 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004554/1.436, allocations: 487.8 kB / 1.093 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0201/1.456, allocations: 5.469 MB / 1.099 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006447/1.462, allocations: 395.8 kB / 1.099 GB, free: 124.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007168/1.463, allocations: 82.83 kB / 1.099 GB, free: 124.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.463, allocations: 3.969 kB / 1.099 GB, free: 124.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01176/1.475, allocations: 2.752 MB / 1.102 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.488e-05/1.475, allocations: 18.31 kB / 1.102 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004771/1.48, allocations: 0.6783 MB / 1.103 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/1.484, allocations: 456.8 kB / 1.103 GB, free: 122.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02105/1.505, allocations: 6.856 MB / 1.11 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/1.51, allocations: 339.4 kB / 1.11 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000437/1.511, allocations: 83.95 kB / 1.11 GB, free: 115.5 MB / 0.698 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 (185): * Single equations (assignments): 175 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.002131/1.513, allocations: 0.7085 MB / 1.111 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008967/1.514, allocations: 260.7 kB / 1.111 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009935/1.524, allocations: 2.54 MB / 1.113 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/1.524, allocations: 23.98 kB / 1.113 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/1.524, allocations: 0 / 1.113 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008199/1.532, allocations: 2.326 MB / 1.116 GB, free: 109.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/1.548, allocations: 5.108 MB / 1.121 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.548, allocations: 3.938 kB / 1.121 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00352/1.551, allocations: 387.5 kB / 1.121 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004341/1.552, allocations: 110.1 kB / 1.121 GB, free: 103.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002267/1.552, allocations: 47.97 kB / 1.121 GB, free: 103.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006777/1.553, allocations: 0.6889 MB / 1.122 GB, free: 103.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.553, allocations: 0 / 1.122 GB, free: 103.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/1.566, allocations: 3.685 MB / 1.126 GB, free: 99.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/1.568, allocations: 0.5833 MB / 1.126 GB, free: 98.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008429/1.569, allocations: 39.95 kB / 1.126 GB, free: 98.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004702/1.574, allocations: 312 kB / 1.126 GB, free: 98.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003642/1.574, allocations: 81.19 kB / 1.127 GB, free: 98.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002408/1.574, allocations: 51.97 kB / 1.127 GB, free: 98.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003914/1.578, allocations: 1.599 MB / 1.128 GB, free: 96.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.578, allocations: 0 / 1.128 GB, free: 96.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007103/1.586, allocations: 1.269 MB / 1.129 GB, free: 95.47 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hex.valCoo.res1.filter.x[1],hex.valCoo.res1.filter.x[2],hex.valCoo.res3.filter.x[1],hex.valCoo.res3.filter.x[2],hex.valCoo.vol.dynBal.U,hex.valHea.res1.filter.x[1],hex.valHea.res1.filter.x[2],hex.valHea.res3.filter.x[1],hex.valHea.res3.filter.x[2],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 (129): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001691/1.587, allocations: 0.6012 MB / 1.13 GB, free: 94.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0168/1.604, allocations: 4.54 MB / 1.134 GB, free: 90.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/1.604, allocations: 4 kB / 1.134 GB, free: 90.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004523/1.609, allocations: 1.093 MB / 1.135 GB, free: 89.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009779/1.619, allocations: 1.215 MB / 1.137 GB, free: 88.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/1.64, allocations: 6.552 MB / 1.143 GB, free: 81.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/1.642, allocations: 1.838 MB / 1.145 GB, free: 79.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005302/1.648, allocations: 0.5987 MB / 1.145 GB, free: 78.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/1.649, allocations: 211.3 kB / 1.146 GB, free: 78.78 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.649, allocations: 0 / 1.146 GB, free: 78.78 MB / 0.698 GB Notification: Performance of Templates: time 0.1362/1.785, allocations: 56.73 MB / 1.201 GB, free: 22.48 MB / 0.698 GB