Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01071/0.01072, allocations: 221.3 kB / 15.17 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001125/0.001125, allocations: 180.2 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.709/3.709, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.228/4.228, allocations: 472.3 MB / 0.9018 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004979, allocations: 12 kB / 1.008 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5767, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.1257/0.7024, allocations: 105.5 MB / 1.207 GB, free: 132.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03726/0.7397, allocations: 24.23 MB / 1.231 GB, free: 108.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005164/0.7449, allocations: 119.1 kB / 1.231 GB, free: 108.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004818/0.7498, allocations: 1.23 MB / 1.232 GB, free: 107.3 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01284/0.7627, allocations: 3.511 MB / 1.235 GB, free: 103.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.7763, allocations: 4.298 MB / 1.24 GB, free: 99.68 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009853/0.7862, allocations: 8.063 MB / 1.248 GB, free: 91.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003755/0.79, allocations: 1.99 MB / 1.249 GB, free: 89.67 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/0.7955, allocations: 2.297 MB / 1.252 GB, free: 87.36 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003285/0.7988, allocations: 1.913 MB / 1.254 GB, free: 85.45 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005807/0.7994, allocations: 100 kB / 1.254 GB, free: 85.35 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003345/0.8028, allocations: 0.8767 MB / 1.255 GB, free: 84.47 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0006272/0.8034, allocations: 457.8 kB / 1.255 GB, free: 84.02 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009836/0.8044, allocations: 0.6212 MB / 1.256 GB, free: 83.39 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004619/0.8091, allocations: 3.764 MB / 1.259 GB, free: 79.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.177e-06/0.8091, allocations: 0 / 1.259 GB, free: 79.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.501e-06/0.8091, allocations: 0 / 1.259 GB, free: 79.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.44e-05/0.8092, allocations: 0 / 1.259 GB, free: 79.62 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.005749/0.815, allocations: 2.811 MB / 1.262 GB, free: 76.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.815, allocations: 16.69 kB / 1.262 GB, free: 76.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006087/0.8211, allocations: 1.089 MB / 1.263 GB, free: 75.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004907/0.8261, allocations: 2.367 MB / 1.265 GB, free: 73.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.8262, allocations: 139.6 kB / 1.266 GB, free: 73.06 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004122/0.8267, allocations: 195.9 kB / 1.266 GB, free: 72.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006203/0.8329, allocations: 2.463 MB / 1.268 GB, free: 70.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/0.833, allocations: 7.938 kB / 1.268 GB, free: 70.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.8332, allocations: 83.75 kB / 1.268 GB, free: 70.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.74e-05/0.8333, allocations: 47.98 kB / 1.268 GB, free: 70.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007438/0.8408, allocations: 2.344 MB / 1.271 GB, free: 67.83 MB / 0.7292 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.01878/0.8596, allocations: 12.01 MB / 1.282 GB, free: 55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009364/0.869, allocations: 2.324 MB / 1.285 GB, free: 52.67 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002803/0.8718, allocations: 0.9244 MB / 1.285 GB, free: 51.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.873, allocations: 1.374 MB / 1.287 GB, free: 50.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.873, allocations: 50.14 kB / 1.287 GB, free: 50.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001542/0.8746, allocations: 234.6 kB / 1.287 GB, free: 49.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=103): time 4.559e-06/0.8746, allocations: 0 / 1.287 GB, free: 49.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=109): time 0.03616/0.9108, allocations: 8.582 MB / 1.295 GB, free: 41.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.9109, allocations: 167.2 kB / 1.296 GB, free: 40.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003526/0.9144, allocations: 2.052 MB / 1.298 GB, free: 38.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002911/0.9148, allocations: 53.7 kB / 1.298 GB, free: 38.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009608/0.9157, allocations: 1.183 MB / 1.299 GB, free: 37.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004797/0.9163, allocations: 378.5 kB / 1.299 GB, free: 37.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.9164, allocations: 32 kB / 1.299 GB, free: 37.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.9165, allocations: 353.9 kB / 1.3 GB, free: 36.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002983/0.9195, allocations: 0.8979 MB / 1.3 GB, free: 35.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00335/0.9229, allocations: 1.296 MB / 1.302 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003195/0.9262, allocations: 0.9783 MB / 1.303 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/0.9262, allocations: 4 kB / 1.303 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01004/0.9363, allocations: 2.991 MB / 1.306 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.9365, allocations: 391.4 kB / 1.306 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.9365, allocations: 8 kB / 1.306 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006216/0.9427, allocations: 1.256 MB / 1.307 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.9446, allocations: 335.5 kB / 1.307 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/0.9604, allocations: 6.058 MB / 1.313 GB, free: 22.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003601/0.9641, allocations: 371.4 kB / 1.314 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003711/0.9645, allocations: 75.95 kB / 1.314 GB, free: 21.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.9645, allocations: 11.75 kB / 1.314 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007375/0.9719, allocations: 2.349 MB / 1.316 GB, free: 19.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.972, allocations: 16.09 kB / 1.316 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003267/0.9753, allocations: 0.6831 MB / 1.317 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.9774, allocations: 395.4 kB / 1.317 GB, free: 18.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/0.9925, allocations: 6.774 MB / 1.324 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/0.9959, allocations: 331.4 kB / 1.324 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/0.9962, allocations: 72.89 kB / 1.324 GB, free: 10.95 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 (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.001451/0.9977, allocations: 0.6139 MB / 1.325 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005601/0.9982, allocations: 229.1 kB / 1.325 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007378/1.006, allocations: 2.47 MB / 1.327 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/1.006, allocations: 19.98 kB / 1.327 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.652e-06/1.006, allocations: 0 / 1.327 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006128/1.012, allocations: 2.325 MB / 1.33 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/1.024, allocations: 4.76 MB / 1.334 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/1.024, allocations: 0 / 1.334 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.026, allocations: 255.7 kB / 1.335 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/1.029, allocations: 0.656 MB / 1.335 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/1.029, allocations: 31.98 kB / 1.335 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/1.033, allocations: 1.483 MB / 1.337 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/1.033, allocations: 0 / 1.337 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.045, allocations: 3.46 MB / 1.34 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/1.046, allocations: 0.5124 MB / 1.341 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005921/1.047, allocations: 24 kB / 1.341 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/1.05, allocations: 319 kB / 1.341 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/1.05, allocations: 68.89 kB / 1.341 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/1.051, allocations: 43.97 kB / 1.341 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003481/1.054, allocations: 1.387 MB / 1.342 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.21e-07/1.054, allocations: 0 / 1.342 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005891/1.06, allocations: 1.137 MB / 1.343 GB, free: 6.945 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (84): * Single equations (assignments): 76 * 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.001344/1.061, allocations: 0.5003 MB / 1.344 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.074, allocations: 3.804 MB / 1.348 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.833e-06/1.074, allocations: 3.938 kB / 1.348 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003616/1.078, allocations: 0.9831 MB / 1.349 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007018/1.085, allocations: 1.142 MB / 1.35 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/1.101, allocations: 5.658 MB / 1.355 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/1.103, allocations: 1.66 MB / 1.357 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003387/1.107, allocations: 479.9 kB / 1.357 GB, free: 8.789 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007829/1.108, allocations: 175.4 kB / 1.358 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of SimCode: time 1.489e-06/1.108, allocations: 0 / 1.358 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of Templates: time 0.573/1.681, allocations: 54.75 MB / 1.411 GB, free: 213.5 MB / 0.7605 GB