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.004559/0.004564, allocations: 239.6 kB / 15.81 MB, free: 6.281 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.001209/0.001209, allocations: 179.9 kB / 16.69 MB, free: 5.449 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.998/3.998, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.212/4.212, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007423/0.0007426, allocations: 12 kB / 1.008 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1817, allocations: 98.73 MB / 1.105 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.7105/0.8922, allocations: 105.5 MB / 1.208 GB, free: 30.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04661/0.9389, allocations: 24.22 MB / 1.231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006373/0.9453, allocations: 110.3 kB / 1.231 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005989/0.9514, allocations: 1.237 MB / 1.233 GB, free: 12.64 MB / 0.6198 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.01463/0.9661, allocations: 3.517 MB / 1.236 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0173/0.9834, allocations: 4.275 MB / 1.24 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01304/0.9965, allocations: 8.081 MB / 1.248 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004728/1.001, allocations: 1.979 MB / 1.25 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007416/1.009, allocations: 2.288 MB / 1.252 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005983/1.015, allocations: 1.917 MB / 1.254 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000828/1.016, allocations: 99.78 kB / 1.254 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004665/1.02, allocations: 0.8702 MB / 1.255 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000983/1.021, allocations: 466.9 kB / 1.256 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/1.023, allocations: 0.6134 MB / 1.256 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.007067/1.03, allocations: 3.772 MB / 1.26 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/1.03, allocations: 7.984 kB / 1.26 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.645e-06/1.03, allocations: 0 / 1.26 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001328/1.03, allocations: 0 / 1.26 GB, free: 15.63 MB / 0.6355 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.009526/1.04, allocations: 2.807 MB / 1.263 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/1.04, allocations: 9.75 kB / 1.263 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/1.05, allocations: 1.094 MB / 1.264 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006969/1.057, allocations: 2.356 MB / 1.266 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/1.057, allocations: 146.1 kB / 1.266 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/1.058, allocations: 194.8 kB / 1.266 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008728/1.066, allocations: 2.474 MB / 1.269 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.531e-05/1.067, allocations: 9.578 kB / 1.269 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003325/1.067, allocations: 84.89 kB / 1.269 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.542e-05/1.067, allocations: 45.31 kB / 1.269 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/1.078, allocations: 2.343 MB / 1.271 GB, free: 8.57 MB / 0.6355 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.02891/1.107, allocations: 12.01 MB / 1.283 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/1.123, allocations: 2.331 MB / 1.285 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004209/1.127, allocations: 0.9249 MB / 1.286 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001974/1.129, allocations: 1.372 MB / 1.287 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.371e-05/1.129, allocations: 51.36 kB / 1.287 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002346/1.131, allocations: 228.4 kB / 1.288 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 7.264e-06/1.131, allocations: 0 / 1.288 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=109): time 0.05912/1.19, allocations: 8.582 MB / 1.296 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.191, allocations: 171.2 kB / 1.296 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00498/1.196, allocations: 2.049 MB / 1.298 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004106/1.196, allocations: 49.7 kB / 1.298 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001551/1.198, allocations: 1.183 MB / 1.299 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006233/1.198, allocations: 374.5 kB / 1.3 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/1.198, allocations: 32 kB / 1.3 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002058/1.199, allocations: 361.9 kB / 1.3 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004655/1.203, allocations: 0.8978 MB / 1.301 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/1.208, allocations: 1.292 MB / 1.302 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004673/1.213, allocations: 0.9901 MB / 1.303 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.213, allocations: 0 / 1.303 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01482/1.228, allocations: 2.995 MB / 1.306 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003802/1.228, allocations: 375.4 kB / 1.306 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/1.228, allocations: 8 kB / 1.306 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009472/1.238, allocations: 1.268 MB / 1.308 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/1.241, allocations: 335.5 kB / 1.308 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02391/1.265, allocations: 6.06 MB / 1.314 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005737/1.271, allocations: 387.3 kB / 1.314 GB, free: 164 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005138/1.271, allocations: 71.89 kB / 1.314 GB, free: 92 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/1.271, allocations: 8 kB / 1.314 GB, free: 84 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01155/1.283, allocations: 2.351 MB / 1.317 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/1.283, allocations: 8 kB / 1.317 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005237/1.288, allocations: 0.6917 MB / 1.317 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/1.292, allocations: 391.5 kB / 1.318 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/1.315, allocations: 6.766 MB / 1.324 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005181/1.321, allocations: 327.4 kB / 1.325 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005099/1.321, allocations: 75.94 kB / 1.325 GB, free: 5.227 MB / 0.6823 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.002077/1.323, allocations: 0.6044 MB / 1.325 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008817/1.324, allocations: 237 kB / 1.326 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.336, allocations: 2.483 MB / 1.328 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01008/1.346, allocations: 2.321 MB / 1.33 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.346, allocations: 4 kB / 1.33 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/1.348, allocations: 0.5096 MB / 1.331 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000924/1.349, allocations: 27.94 kB / 1.331 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004679/1.354, allocations: 307.5 kB / 1.331 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/1.354, allocations: 68.84 kB / 1.331 GB, free: 14.57 MB / 0.698 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01291/1.367, allocations: 1.987 MB / 1.333 GB, free: 12.58 MB / 0.698 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.