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_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 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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.405/2.405, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001591/0.001591, allocations: 190.8 kB / 325.6 MB, free: 2.82 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.415/2.415, allocations: 205.4 MB / 0.5766 GB, free: 21.13 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.001108/0.001108, allocations: 100.6 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004748, allocations: 12.2 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2488, allocations: 106.3 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.1979/0.4468, allocations: 96.97 MB / 0.9936 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.1075/0.5543, allocations: 23 MB / 1.016 GB, free: 9.727 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00477/0.5592, allocations: 107.1 kB / 1.016 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00714/0.5664, allocations: 1.407 MB / 1.018 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01594/0.5824, allocations: 3.371 MB / 1.021 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0199/0.6023, allocations: 4.35 MB / 1.025 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01378/0.6161, allocations: 4.376 MB / 1.029 GB, free: 12.17 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005481/0.6216, allocations: 2.18 MB / 1.031 GB, free: 9.949 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008056/0.6297, allocations: 2.351 MB / 1.034 GB, free: 7.59 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004449/0.6342, allocations: 1.501 MB / 1.035 GB, free: 6.082 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.6353, allocations: 108 kB / 1.035 GB, free: 5.977 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006609/0.642, allocations: 1.065 MB / 1.036 GB, free: 4.91 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 0.001804/0.6438, allocations: 0.5251 MB / 1.037 GB, free: 4.383 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.646, allocations: 0.6914 MB / 1.038 GB, free: 3.684 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.01566/0.6617, allocations: 4.344 MB / 1.042 GB, free: 15.33 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6618, allocations: 3.938 kB / 1.042 GB, free: 15.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.136e-06/0.6618, allocations: 0 / 1.042 GB, free: 15.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001721/0.662, allocations: 0 / 1.042 GB, free: 15.32 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.02152/0.6835, allocations: 3.133 MB / 1.045 GB, free: 12.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.6836, allocations: 12.03 kB / 1.045 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03404/0.7177, allocations: 1.135 MB / 1.046 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.7279, allocations: 2.538 MB / 1.048 GB, free: 8.371 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.7283, allocations: 159.9 kB / 1.049 GB, free: 8.215 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000807/0.7291, allocations: 219.9 kB / 1.049 GB, free: 8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.7392, allocations: 2.744 MB / 1.051 GB, free: 5.133 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-05/0.7393, allocations: 11.94 kB / 1.051 GB, free: 5.121 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003549/0.7397, allocations: 80 kB / 1.052 GB, free: 5.043 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.66e-05/0.7398, allocations: 59.95 kB / 1.052 GB, free: 4.984 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.7518, allocations: 2.501 MB / 1.054 GB, free: 2.48 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.67/1.422, allocations: 12.87 MB / 1.067 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/1.435, allocations: 2.277 MB / 1.069 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/1.437, allocations: 1.376 MB / 1.07 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.924e-05/1.437, allocations: 50.59 kB / 1.07 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00237/1.44, allocations: 250.2 kB / 1.07 GB, free: 140.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=119): time 7.925e-06/1.44, allocations: 0 / 1.07 GB, free: 140.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=125): time 0.03217/1.472, allocations: 5.896 MB / 1.076 GB, free: 139.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/1.472, allocations: 484.2 kB / 1.077 GB, free: 138.7 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.007168/1.479, allocations: 2.385 MB / 1.079 GB, free: 138.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005273/1.48, allocations: 59.3 kB / 1.079 GB, free: 138.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001808/1.482, allocations: 1.326 MB / 1.08 GB, free: 137.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008122/1.482, allocations: 443.9 kB / 1.081 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/1.483, allocations: 36.73 kB / 1.081 GB, free: 136.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.483, allocations: 371.3 kB / 1.081 GB, free: 136.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005259/1.488, allocations: 1.064 MB / 1.082 GB, free: 136.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00584/1.494, allocations: 1.564 MB / 1.084 GB, free: 135.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00565/1.5, allocations: 1.189 MB / 1.085 GB, free: 134.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-05/1.5, allocations: 2.531 kB / 1.085 GB, free: 134.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01554/1.515, allocations: 3.267 MB / 1.088 GB, free: 133.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000865/1.516, allocations: 3.973 MB / 1.092 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.53e-05/1.516, allocations: 21.64 kB / 1.092 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005713/1.522, allocations: 0.6972 MB / 1.093 GB, free: 128.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/1.527, allocations: 488.7 kB / 1.093 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/1.546, allocations: 5.47 MB / 1.099 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00583/1.552, allocations: 392.4 kB / 1.099 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006359/1.553, allocations: 84.17 kB / 1.099 GB, free: 124.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.553, allocations: 3.969 kB / 1.099 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01208/1.565, allocations: 2.751 MB / 1.102 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.439e-05/1.565, allocations: 14.95 kB / 1.102 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00485/1.57, allocations: 0.6815 MB / 1.102 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003859/1.574, allocations: 453.3 kB / 1.103 GB, free: 122.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/1.595, allocations: 6.866 MB / 1.109 GB, free: 116.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005132/1.601, allocations: 357.1 kB / 1.11 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004539/1.601, allocations: 75.97 kB / 1.11 GB, free: 115.9 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.002203/1.603, allocations: 0.7044 MB / 1.111 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009232/1.604, allocations: 260.7 kB / 1.111 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.615, allocations: 2.531 MB / 1.113 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/1.615, allocations: 27.94 kB / 1.113 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.615, allocations: 0 / 1.113 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008372/1.623, allocations: 2.33 MB / 1.116 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/1.639, allocations: 5.107 MB / 1.121 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.639, allocations: 3.938 kB / 1.121 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003463/1.643, allocations: 379.7 kB / 1.121 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004193/1.643, allocations: 108.7 kB / 1.121 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/1.643, allocations: 47.97 kB / 1.121 GB, free: 104.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006822/1.644, allocations: 0.6772 MB / 1.122 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.644, allocations: 0 / 1.122 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/1.658, allocations: 3.695 MB / 1.125 GB, free: 99.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/1.66, allocations: 0.5795 MB / 1.126 GB, free: 99.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008536/1.661, allocations: 36 kB / 1.126 GB, free: 99.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00463/1.666, allocations: 324.6 kB / 1.126 GB, free: 98.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/1.666, allocations: 89.12 kB / 1.126 GB, free: 98.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/1.666, allocations: 47.97 kB / 1.126 GB, free: 98.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004185/1.671, allocations: 1.603 MB / 1.128 GB, free: 97.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.671, allocations: 0 / 1.128 GB, free: 97.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007817/1.679, allocations: 1.269 MB / 1.129 GB, free: 95.91 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.001847/1.68, allocations: 0.5927 MB / 1.13 GB, free: 95.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0174/1.698, allocations: 4.544 MB / 1.134 GB, free: 90.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.698, allocations: 0 / 1.134 GB, free: 90.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004823/1.703, allocations: 1.09 MB / 1.135 GB, free: 89.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009909/1.713, allocations: 1.208 MB / 1.136 GB, free: 88.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/1.735, allocations: 6.567 MB / 1.143 GB, free: 81.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/1.737, allocations: 1.834 MB / 1.145 GB, free: 80 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00476/1.741, allocations: 0.5955 MB / 1.145 GB, free: 79.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/1.743, allocations: 215.3 kB / 1.145 GB, free: 79.22 MB / 0.698 GB Notification: Performance of SimCode: time 1.402e-06/1.743, allocations: 3.938 kB / 1.145 GB, free: 79.21 MB / 0.698 GB Notification: Performance of Templates: time 0.1352/1.878, allocations: 56.72 MB / 1.201 GB, free: 22.93 MB / 0.698 GB