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 2.65/2.65, allocations: 287.9 MB / 302.9 MB, free: 8.344 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.001419/0.001419, allocations: 190 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.197/2.197, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001007/0.001007, allocations: 82.88 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004698, allocations: 15 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1547, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.6649/0.8196, allocations: 96.88 MB / 1.073 GB, free: 24.05 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04064/0.8603, allocations: 23.02 MB / 1.096 GB, free: 23.85 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004817/0.8652, allocations: 105.2 kB / 1.096 GB, free: 23.85 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005522/0.8707, allocations: 1.406 MB / 1.097 GB, free: 23.85 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01347/0.8842, allocations: 3.369 MB / 1.101 GB, free: 23.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01664/0.9009, allocations: 4.423 MB / 1.105 GB, free: 23.64 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009606/0.9105, allocations: 4.401 MB / 1.109 GB, free: 23.62 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004867/0.9154, allocations: 2.184 MB / 1.111 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006704/0.9222, allocations: 2.345 MB / 1.114 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003805/0.926, allocations: 1.512 MB / 1.115 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008045/0.9269, allocations: 114.8 kB / 1.115 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005145/0.9321, allocations: 1.063 MB / 1.116 GB, free: 22.82 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.9333, allocations: 0.5242 MB / 1.117 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.9348, allocations: 0.6859 MB / 1.117 GB, free: 22.58 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006702/0.9415, allocations: 4.369 MB / 1.122 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.444e-06/0.9416, allocations: 6.625 kB / 1.122 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9416, allocations: 0 / 1.122 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001055/0.9417, allocations: 0 / 1.122 GB, free: 21.86 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.007124/0.9489, allocations: 3.137 MB / 1.125 GB, free: 19.67 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.9489, allocations: 9.5 kB / 1.125 GB, free: 19.67 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00668/0.9556, allocations: 1.14 MB / 1.126 GB, free: 19.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005571/0.9612, allocations: 2.541 MB / 1.128 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.9614, allocations: 159.7 kB / 1.129 GB, free: 17.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005475/0.962, allocations: 220.8 kB / 1.129 GB, free: 17.09 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00766/0.9696, allocations: 2.763 MB / 1.131 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.178e-05/0.9697, allocations: 1.281 kB / 1.131 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/0.9701, allocations: 87.25 kB / 1.132 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.876e-05/0.9701, allocations: 54.41 kB / 1.132 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008939/0.9791, allocations: 2.515 MB / 1.134 GB, free: 14.05 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.02321/1.002, allocations: 12.89 MB / 1.147 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/1.013, allocations: 2.522 MB / 1.149 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/1.014, allocations: 1.375 MB / 1.15 GB, free: 192 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/1.014, allocations: 51.19 kB / 1.15 GB, free: 140 kB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001914/1.016, allocations: 249.8 kB / 1.151 GB, free: 0 / 0.6823 GB Notification: Performance of pre-optimization done (n=119): time 5.607e-06/1.016, allocations: 0 / 1.151 GB, free: 0 / 0.6823 GB Notification: Performance of matching and sorting (n=125): time 0.02202/1.038, allocations: 5.925 MB / 1.157 GB, free: 12.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002857/1.039, allocations: 487 kB / 1.157 GB, free: 12.3 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.005194/1.044, allocations: 2.383 MB / 1.159 GB, free: 11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000397/1.044, allocations: 61.36 kB / 1.159 GB, free: 10.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001573/1.046, allocations: 1.321 MB / 1.161 GB, free: 9.785 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006846/1.047, allocations: 440.5 kB / 1.161 GB, free: 9.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/1.047, allocations: 37.34 kB / 1.161 GB, free: 9.383 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000237/1.047, allocations: 374.9 kB / 1.161 GB, free: 9.027 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003579/1.051, allocations: 1.064 MB / 1.163 GB, free: 8.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004254/1.055, allocations: 1.567 MB / 1.164 GB, free: 7.391 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003953/1.059, allocations: 1.19 MB / 1.165 GB, free: 6.816 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.059, allocations: 7.25 kB / 1.165 GB, free: 6.812 MB / 0.698 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.0116/1.071, allocations: 3.256 MB / 1.168 GB, free: 5.105 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002112/1.073, allocations: 3.973 MB / 1.172 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-05/1.073, allocations: 19.98 kB / 1.172 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004/1.077, allocations: 0.6984 MB / 1.173 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/1.08, allocations: 483.3 kB / 1.173 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/1.096, allocations: 5.485 MB / 1.179 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004652/1.1, allocations: 390 kB / 1.179 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003524/1.101, allocations: 83.94 kB / 1.179 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.101, allocations: 4 kB / 1.179 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009138/1.11, allocations: 2.753 MB / 1.182 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.835e-05/1.11, allocations: 15.98 kB / 1.182 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/1.114, allocations: 0.6749 MB / 1.183 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/1.116, allocations: 459.3 kB / 1.183 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01784/1.134, allocations: 6.86 MB / 1.19 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/1.138, allocations: 339.4 kB / 1.19 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003604/1.138, allocations: 79.95 kB / 1.19 GB, free: 14.11 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.002034/1.14, allocations: 0.7143 MB / 1.191 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007371/1.141, allocations: 260.7 kB / 1.191 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008042/1.149, allocations: 2.54 MB / 1.194 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-05/1.149, allocations: 12 kB / 1.194 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.722e-06/1.149, allocations: 4 kB / 1.194 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006522/1.156, allocations: 2.34 MB / 1.196 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/1.169, allocations: 5.132 MB / 1.201 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/1.169, allocations: 3.984 kB / 1.201 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/1.172, allocations: 383.6 kB / 1.201 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003998/1.172, allocations: 105 kB / 1.201 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.173, allocations: 39.97 kB / 1.201 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008457/1.173, allocations: 0.6913 MB / 1.202 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.258e-06/1.173, allocations: 8 kB / 1.202 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/1.184, allocations: 3.692 MB / 1.206 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001922/1.186, allocations: 0.5835 MB / 1.206 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000612/1.187, allocations: 43.92 kB / 1.206 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002959/1.19, allocations: 318.4 kB / 1.207 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/1.19, allocations: 85.38 kB / 1.207 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/1.19, allocations: 55.91 kB / 1.207 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003607/1.194, allocations: 1.609 MB / 1.208 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.24e-07/1.194, allocations: 0 / 1.208 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006181/1.2, allocations: 1.268 MB / 1.21 GB, free: 10.01 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.0015/1.202, allocations: 0.5815 MB / 1.21 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01347/1.215, allocations: 4.551 MB / 1.215 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.12e-06/1.215, allocations: 0 / 1.215 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003546/1.219, allocations: 1.089 MB / 1.216 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006708/1.226, allocations: 1.218 MB / 1.217 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.243, allocations: 6.576 MB / 1.223 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002221/1.246, allocations: 1.827 MB / 1.225 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004127/1.25, allocations: 0.5966 MB / 1.226 GB, free: 9.547 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.251, allocations: 215.3 kB / 1.226 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of SimCode: time 1.573e-06/1.251, allocations: 0 / 1.226 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of Templates: time 0.1352/1.386, allocations: 56.87 MB / 1.281 GB, free: 0.9922 MB / 0.8073 GB