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 2.617/2.617, allocations: 287.9 MB / 302.9 MB, free: 8.395 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 169.2 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 100.3 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009918/0.000992, allocations: 11 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1807, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.7041/0.8849, allocations: 96.96 MB / 1.073 GB, free: 24.39 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04082/0.9257, allocations: 23.02 MB / 1.096 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004833/0.9306, allocations: 105.2 kB / 1.096 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005482/0.9361, allocations: 1.406 MB / 1.097 GB, free: 24.17 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01355/0.9497, allocations: 3.367 MB / 1.101 GB, free: 24.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01763/0.9674, allocations: 4.422 MB / 1.105 GB, free: 23.96 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.9777, allocations: 4.396 MB / 1.109 GB, free: 23.95 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005221/0.9829, allocations: 2.184 MB / 1.111 GB, free: 23.68 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006848/0.9898, allocations: 2.349 MB / 1.114 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004034/0.9939, allocations: 1.503 MB / 1.115 GB, free: 23.19 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.995, allocations: 114.9 kB / 1.115 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005414/1, allocations: 1.062 MB / 1.116 GB, free: 23.15 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001207/1.002, allocations: 0.5294 MB / 1.117 GB, free: 23.04 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/1.003, allocations: 0.6865 MB / 1.118 GB, free: 22.9 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00668/1.01, allocations: 4.365 MB / 1.122 GB, free: 21.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/1.01, allocations: 2.625 kB / 1.122 GB, free: 21.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.31e-06/1.01, allocations: 3.984 kB / 1.122 GB, free: 21.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001231/1.01, allocations: 0 / 1.122 GB, free: 21.84 MB / 0.6823 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.007243/1.017, allocations: 3.141 MB / 1.125 GB, free: 19.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.017, allocations: 7.906 kB / 1.125 GB, free: 19.65 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006752/1.024, allocations: 1.139 MB / 1.126 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006075/1.03, allocations: 2.539 MB / 1.128 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/1.03, allocations: 162.8 kB / 1.129 GB, free: 17.15 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005395/1.031, allocations: 209.3 kB / 1.129 GB, free: 17.08 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008206/1.039, allocations: 2.769 MB / 1.132 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.865e-05/1.039, allocations: 1.25 kB / 1.132 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003088/1.04, allocations: 87.81 kB / 1.132 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.278e-05/1.04, allocations: 49.94 kB / 1.132 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009214/1.049, allocations: 2.515 MB / 1.134 GB, free: 14.04 MB / 0.6823 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.0241/1.073, allocations: 12.9 MB / 1.147 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009783/1.083, allocations: 2.283 MB / 1.149 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/1.084, allocations: 1.379 MB / 1.15 GB, free: 276 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/1.084, allocations: 49.81 kB / 1.15 GB, free: 224 kB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002478/1.087, allocations: 255.9 kB / 1.151 GB, free: 76 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=119): time 7.546e-06/1.087, allocations: 0 / 1.151 GB, free: 76 kB / 0.6823 GB Notification: Performance of matching and sorting (n=125): time 0.0238/1.111, allocations: 5.923 MB / 1.156 GB, free: 12.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002957/1.111, allocations: 479.4 kB / 1.157 GB, free: 12.39 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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.005509/1.116, allocations: 2.392 MB / 1.159 GB, free: 11.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004109/1.117, allocations: 55.45 kB / 1.159 GB, free: 11.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.119, allocations: 1.328 MB / 1.16 GB, free: 9.867 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007597/1.119, allocations: 444.7 kB / 1.161 GB, free: 9.488 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/1.12, allocations: 29.06 kB / 1.161 GB, free: 9.465 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002492/1.12, allocations: 373.7 kB / 1.161 GB, free: 9.109 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003744/1.124, allocations: 1.069 MB / 1.162 GB, free: 8.598 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004479/1.128, allocations: 1.568 MB / 1.164 GB, free: 7.473 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/1.132, allocations: 1.193 MB / 1.165 GB, free: 6.891 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/1.132, allocations: 2.844 kB / 1.165 GB, free: 6.891 MB / 0.698 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01195/1.144, allocations: 3.264 MB / 1.168 GB, free: 5.281 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002269/1.147, allocations: 3.974 MB / 1.172 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.42e-05/1.147, allocations: 15.98 kB / 1.172 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00411/1.151, allocations: 0.7058 MB / 1.173 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/1.154, allocations: 487.3 kB / 1.173 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/1.17, allocations: 5.477 MB / 1.179 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004275/1.174, allocations: 387.4 kB / 1.179 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005328/1.175, allocations: 83.95 kB / 1.179 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.175, allocations: 8 kB / 1.179 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00967/1.185, allocations: 2.749 MB / 1.182 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.307e-05/1.185, allocations: 15.98 kB / 1.182 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003631/1.188, allocations: 0.6794 MB / 1.182 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/1.191, allocations: 455.4 kB / 1.183 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/1.21, allocations: 6.867 MB / 1.19 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003922/1.214, allocations: 339.4 kB / 1.19 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004611/1.214, allocations: 79.95 kB / 1.19 GB, free: 14.29 MB / 0.7292 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.002259/1.217, allocations: 0.7115 MB / 1.191 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000833/1.217, allocations: 260.7 kB / 1.191 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008629/1.226, allocations: 2.532 MB / 1.193 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/1.226, allocations: 18.3 kB / 1.193 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.093e-06/1.226, allocations: 0 / 1.193 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007144/1.233, allocations: 2.346 MB / 1.196 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.248, allocations: 5.13 MB / 1.201 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.248, allocations: 4 kB / 1.201 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002579/1.251, allocations: 379.6 kB / 1.201 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/1.251, allocations: 104.7 kB / 1.201 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002703/1.252, allocations: 43.97 kB / 1.201 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008529/1.253, allocations: 0.6918 MB / 1.202 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.314e-06/1.253, allocations: 0 / 1.202 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/1.264, allocations: 3.699 MB / 1.206 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/1.267, allocations: 0.5834 MB / 1.206 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000828/1.267, allocations: 39.98 kB / 1.206 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003668/1.271, allocations: 314.9 kB / 1.206 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/1.272, allocations: 85.19 kB / 1.207 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002541/1.272, allocations: 51.95 kB / 1.207 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004419/1.276, allocations: 1.606 MB / 1.208 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.06e-07/1.276, allocations: 0 / 1.208 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006898/1.283, allocations: 1.271 MB / 1.209 GB, free: 10.2 MB / 0.7448 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.001619/1.285, allocations: 0.5822 MB / 1.21 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01434/1.299, allocations: 4.55 MB / 1.214 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.299, allocations: 4 kB / 1.214 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003848/1.303, allocations: 1.093 MB / 1.215 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007194/1.31, allocations: 1.208 MB / 1.217 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/1.329, allocations: 6.578 MB / 1.223 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/1.331, allocations: 1.827 MB / 1.225 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004297/1.336, allocations: 0.6005 MB / 1.225 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.337, allocations: 211.3 kB / 1.226 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of SimCode: time 1.759e-06/1.337, allocations: 7.938 kB / 1.226 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of Templates: time 0.1387/1.475, allocations: 56.86 MB / 1.281 GB, free: 1.172 MB / 0.8073 GB