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_Heating.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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0179/0.0179, allocations: 223 kB / 15.17 MB, free: 5.93 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.001813/0.001813, allocations: 181.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.57/3.57, allocations: 389 MB / 405.9 MB, free: 13.34 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.092/4.092, allocations: 472.3 MB / 0.9018 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004876, allocations: 16 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5924/0.5929, allocations: 98.72 MB / 1.104 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.1319/0.7248, allocations: 105.4 MB / 1.207 GB, free: 132.9 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03591/0.7608, allocations: 24.23 MB / 1.231 GB, free: 108.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005213/0.766, allocations: 119.1 kB / 1.231 GB, free: 108.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005071/0.7712, allocations: 1.231 MB / 1.232 GB, free: 107.4 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.01333/0.7845, allocations: 3.517 MB / 1.235 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01424/0.7988, allocations: 4.278 MB / 1.24 GB, free: 99.81 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009934/0.8088, allocations: 8.074 MB / 1.247 GB, free: 91.71 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003509/0.8123, allocations: 1.985 MB / 1.249 GB, free: 89.79 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005303/0.8177, allocations: 2.294 MB / 1.252 GB, free: 87.49 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003344/0.821, allocations: 1.917 MB / 1.253 GB, free: 85.57 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005832/0.8217, allocations: 100 kB / 1.254 GB, free: 85.47 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/0.8251, allocations: 0.869 MB / 1.254 GB, free: 84.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0007775/0.8259, allocations: 457.8 kB / 1.255 GB, free: 84.15 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.827, allocations: 0.6212 MB / 1.255 GB, free: 83.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004807/0.8318, allocations: 3.768 MB / 1.259 GB, free: 79.74 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.856e-06/0.8319, allocations: 0 / 1.259 GB, free: 79.74 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.433e-06/0.8319, allocations: 4 kB / 1.259 GB, free: 79.74 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.925e-05/0.832, allocations: 0 / 1.259 GB, free: 79.74 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.005777/0.8378, allocations: 2.81 MB / 1.262 GB, free: 76.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.8378, allocations: 12.03 kB / 1.262 GB, free: 76.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006122/0.844, allocations: 1.089 MB / 1.263 GB, free: 75.76 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/0.8489, allocations: 2.369 MB / 1.265 GB, free: 73.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.8491, allocations: 139.6 kB / 1.265 GB, free: 73.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004054/0.8495, allocations: 195.9 kB / 1.266 GB, free: 72.99 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006307/0.8558, allocations: 2.467 MB / 1.268 GB, free: 70.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.658e-05/0.8559, allocations: 3.938 kB / 1.268 GB, free: 70.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/0.8562, allocations: 80 kB / 1.268 GB, free: 70.35 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.578e-05/0.8562, allocations: 44 kB / 1.268 GB, free: 70.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007449/0.8637, allocations: 2.348 MB / 1.27 GB, free: 67.96 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.01862/0.8824, allocations: 12.01 MB / 1.282 GB, free: 55.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007652/0.8901, allocations: 2.1 MB / 1.284 GB, free: 53.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/0.8928, allocations: 0.9277 MB / 1.285 GB, free: 52.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.8939, allocations: 1.374 MB / 1.286 GB, free: 50.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.894, allocations: 54.45 kB / 1.287 GB, free: 50.37 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00166/0.8957, allocations: 222.8 kB / 1.287 GB, free: 50.15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=103): time 5.355e-06/0.8957, allocations: 0 / 1.287 GB, free: 50.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=109): time 0.03601/0.9317, allocations: 8.581 MB / 1.295 GB, free: 41.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.9318, allocations: 171.2 kB / 1.295 GB, free: 41.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/0.9354, allocations: 2.045 MB / 1.297 GB, free: 39.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.9357, allocations: 57.7 kB / 1.297 GB, free: 39.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009075/0.9366, allocations: 1.191 MB / 1.298 GB, free: 37.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004143/0.937, allocations: 378.5 kB / 1.299 GB, free: 37.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.9372, allocations: 32 kB / 1.299 GB, free: 37.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.9373, allocations: 357.9 kB / 1.299 GB, free: 37.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002848/0.9401, allocations: 0.8979 MB / 1.3 GB, free: 36.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003179/0.9433, allocations: 1.3 MB / 1.301 GB, free: 34.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/0.9474, allocations: 0.9783 MB / 1.302 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.308e-05/0.9475, allocations: 4 kB / 1.302 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01525/0.9627, allocations: 2.987 MB / 1.305 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001831/0.963, allocations: 388 kB / 1.306 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.963, allocations: 8 kB / 1.306 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006103/0.9691, allocations: 1.262 MB / 1.307 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.9709, allocations: 331.5 kB / 1.307 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01502/0.986, allocations: 6.066 MB / 1.313 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003487/0.9895, allocations: 387.3 kB / 1.313 GB, free: 22.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/0.9898, allocations: 75.95 kB / 1.314 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.9899, allocations: 7.094 kB / 1.314 GB, free: 22.11 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006996/0.9969, allocations: 2.343 MB / 1.316 GB, free: 19.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.9969, allocations: 12 kB / 1.316 GB, free: 19.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003225/1, allocations: 0.6821 MB / 1.317 GB, free: 19.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/1.002, allocations: 395.4 kB / 1.317 GB, free: 18.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/1.017, allocations: 6.768 MB / 1.324 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003229/1.02, allocations: 329.9 kB / 1.324 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002493/1.021, allocations: 75.95 kB / 1.324 GB, free: 11.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 (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.001371/1.022, allocations: 0.6157 MB / 1.324 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005261/1.023, allocations: 230.4 kB / 1.325 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007115/1.03, allocations: 2.469 MB / 1.327 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/1.03, allocations: 15.98 kB / 1.327 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.681e-06/1.03, allocations: 0 / 1.327 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005973/1.036, allocations: 2.333 MB / 1.329 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/1.048, allocations: 4.755 MB / 1.334 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.048, allocations: 4.031 kB / 1.334 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.049, allocations: 255.7 kB / 1.334 GB, free: 484 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/1.052, allocations: 0.6543 MB / 1.335 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002254/1.052, allocations: 35.97 kB / 1.335 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003365/1.056, allocations: 1.48 MB / 1.336 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.592e-06/1.056, allocations: 0 / 1.336 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/1.073, allocations: 3.464 MB / 1.34 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002676/1.076, allocations: 0.5096 MB / 1.34 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/1.077, allocations: 24 kB / 1.34 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004727/1.082, allocations: 311.6 kB / 1.341 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/1.082, allocations: 72.89 kB / 1.341 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000283/1.082, allocations: 43.97 kB / 1.341 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.005166/1.087, allocations: 1.383 MB / 1.342 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.645e-06/1.087, allocations: 0 / 1.342 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008354/1.096, allocations: 1.137 MB / 1.343 GB, free: 7.289 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.001275/1.097, allocations: 0.5037 MB / 1.344 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01274/1.11, allocations: 3.804 MB / 1.347 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.956e-06/1.11, allocations: 0 / 1.347 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003382/1.113, allocations: 0.984 MB / 1.348 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006498/1.12, allocations: 1.136 MB / 1.349 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/1.136, allocations: 5.666 MB / 1.355 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/1.138, allocations: 1.652 MB / 1.357 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003233/1.141, allocations: 478.2 kB / 1.357 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006895/1.142, allocations: 175.4 kB / 1.357 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of SimCode: time 1.93e-06/1.142, allocations: 0 / 1.357 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of Templates: time 0.6121/1.754, allocations: 54.75 MB / 1.411 GB, free: 213.7 MB / 0.7605 GB