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.004312/0.004312, allocations: 234.9 kB / 15.8 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.00118/0.001181, allocations: 184.2 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.626/3.626, allocations: 389.1 MB / 406.5 MB, free: 6.703 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.643/4.643, allocations: 472.3 MB / 0.9023 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.0005084, allocations: 12 kB / 1.008 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2177, allocations: 98.71 MB / 1.105 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.7295/0.9473, allocations: 105.4 MB / 1.208 GB, free: 205.6 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.05354/1.001, allocations: 24.21 MB / 1.231 GB, free: 188.6 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006517/1.007, allocations: 115.5 kB / 1.231 GB, free: 188.5 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.008156/1.016, allocations: 1.23 MB / 1.233 GB, free: 187.9 MB / 0.7917 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.021/1.037, allocations: 3.517 MB / 1.236 GB, free: 185.8 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.02587/1.063, allocations: 4.28 MB / 1.24 GB, free: 184 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01577/1.078, allocations: 8.074 MB / 1.248 GB, free: 180.6 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005327/1.084, allocations: 1.979 MB / 1.25 GB, free: 179.9 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007881/1.092, allocations: 2.296 MB / 1.252 GB, free: 178.9 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005625/1.097, allocations: 1.914 MB / 1.254 GB, free: 178.1 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/1.099, allocations: 102.4 kB / 1.254 GB, free: 178.1 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005376/1.104, allocations: 0.8634 MB / 1.255 GB, free: 177.9 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001437/1.105, allocations: 467.4 kB / 1.255 GB, free: 177.6 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001962/1.107, allocations: 0.6136 MB / 1.256 GB, free: 177.2 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0072/1.115, allocations: 3.784 MB / 1.26 GB, free: 174.8 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.115, allocations: 0 / 1.26 GB, free: 174.8 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.205e-06/1.115, allocations: 0 / 1.26 GB, free: 174.8 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001574/1.115, allocations: 0 / 1.26 GB, free: 174.8 MB / 0.7917 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.009058/1.124, allocations: 2.811 MB / 1.262 GB, free: 172.8 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/1.124, allocations: 8.25 kB / 1.262 GB, free: 172.8 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009688/1.134, allocations: 1.096 MB / 1.264 GB, free: 172.3 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006683/1.141, allocations: 2.354 MB / 1.266 GB, free: 170.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/1.141, allocations: 145.8 kB / 1.266 GB, free: 170.4 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007345/1.141, allocations: 195.2 kB / 1.266 GB, free: 170.3 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008955/1.15, allocations: 2.472 MB / 1.269 GB, free: 168.8 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.587e-05/1.151, allocations: 3.938 kB / 1.269 GB, free: 168.8 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003048/1.151, allocations: 79.88 kB / 1.269 GB, free: 168.8 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.051e-05/1.151, allocations: 48.61 kB / 1.269 GB, free: 168.8 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/1.162, allocations: 2.34 MB / 1.271 GB, free: 167.6 MB / 0.7917 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.02541/1.187, allocations: 12.03 MB / 1.283 GB, free: 157 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/1.2, allocations: 2.1 MB / 1.285 GB, free: 155.8 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004168/1.204, allocations: 0.9207 MB / 1.286 GB, free: 154.9 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/1.206, allocations: 1.385 MB / 1.287 GB, free: 153.2 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/1.206, allocations: 43.56 kB / 1.287 GB, free: 153.2 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002576/1.209, allocations: 226.8 kB / 1.287 GB, free: 153 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=103): time 9.608e-06/1.209, allocations: 0 / 1.287 GB, free: 153 MB / 0.7917 GB Notification: Performance of matching and sorting (n=109): time 0.05563/1.264, allocations: 8.585 MB / 1.296 GB, free: 144.3 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/1.264, allocations: 167.2 kB / 1.296 GB, free: 144.1 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004047/1.268, allocations: 2.045 MB / 1.298 GB, free: 142 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004063/1.269, allocations: 53.7 kB / 1.298 GB, free: 142 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/1.27, allocations: 1.195 MB / 1.299 GB, free: 140.8 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000481/1.27, allocations: 374.5 kB / 1.299 GB, free: 140.4 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/1.271, allocations: 35.94 kB / 1.299 GB, free: 140.4 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.271, allocations: 365.9 kB / 1.3 GB, free: 140 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004182/1.275, allocations: 0.894 MB / 1.301 GB, free: 139.1 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004462/1.279, allocations: 1.296 MB / 1.302 GB, free: 137.6 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004328/1.284, allocations: 0.9822 MB / 1.303 GB, free: 136.7 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.284, allocations: 4 kB / 1.303 GB, free: 136.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01357/1.297, allocations: 2.983 MB / 1.306 GB, free: 133.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/1.298, allocations: 379.4 kB / 1.306 GB, free: 133.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.298, allocations: 11.94 kB / 1.306 GB, free: 133.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008785/1.306, allocations: 1.269 MB / 1.307 GB, free: 131.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/1.309, allocations: 327.5 kB / 1.308 GB, free: 131.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02066/1.33, allocations: 6.07 MB / 1.314 GB, free: 125.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005272/1.335, allocations: 383.3 kB / 1.314 GB, free: 125 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003107/1.336, allocations: 83.34 kB / 1.314 GB, free: 124.9 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/1.336, allocations: 11.44 kB / 1.314 GB, free: 124.9 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009622/1.345, allocations: 2.34 MB / 1.316 GB, free: 122.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/1.345, allocations: 15.38 kB / 1.316 GB, free: 122.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004744/1.35, allocations: 0.6779 MB / 1.317 GB, free: 121.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/1.353, allocations: 395.4 kB / 1.317 GB, free: 121.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/1.373, allocations: 6.762 MB / 1.324 GB, free: 114.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004895/1.378, allocations: 327.4 kB / 1.324 GB, free: 114.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/1.378, allocations: 71.97 kB / 1.324 GB, free: 114.1 MB / 0.7917 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.001698/1.38, allocations: 0.6062 MB / 1.325 GB, free: 113.5 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/1.381, allocations: 233 kB / 1.325 GB, free: 113.3 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009835/1.391, allocations: 2.478 MB / 1.328 GB, free: 110.8 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008258/1.399, allocations: 2.323 MB / 1.33 GB, free: 108.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.399, allocations: 4 kB / 1.33 GB, free: 108.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001763/1.401, allocations: 0.5086 MB / 1.33 GB, free: 107.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006222/1.401, allocations: 24 kB / 1.33 GB, free: 107.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004072/1.405, allocations: 318.4 kB / 1.331 GB, free: 107.5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/1.406, allocations: 68.89 kB / 1.331 GB, free: 107.4 MB / 0.7917 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.01119/1.417, allocations: 1.979 MB / 1.333 GB, free: 105.5 MB / 0.7917 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.