Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.127/2.127, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 173.4 kB / 326.3 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.453/2.453, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009798/0.0009793, allocations: 98.22 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004737, allocations: 12.16 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2107, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.1584/0.3691, allocations: 106.7 MB / 1.004 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.05816/0.4274, allocations: 24.65 MB / 1.028 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005017/0.4324, allocations: 115.1 kB / 1.028 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004857/0.4373, allocations: 0.8575 MB / 1.029 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01421/0.4516, allocations: 2.76 MB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.4621, allocations: 2.173 MB / 1.034 GB, free: 8 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01559/0.4777, allocations: 8.128 MB / 1.041 GB, free: 15.85 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005964/0.4837, allocations: 2.209 MB / 1.044 GB, free: 13.6 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00819/0.492, allocations: 2.379 MB / 1.046 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005277/0.4973, allocations: 1.913 MB / 1.048 GB, free: 9.289 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008671/0.4982, allocations: 104 kB / 1.048 GB, free: 9.188 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00519/0.5034, allocations: 1.037 MB / 1.049 GB, free: 8.148 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.5048, allocations: 469.7 kB / 1.049 GB, free: 7.688 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.5064, allocations: 0.6251 MB / 1.05 GB, free: 7.055 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007864/0.5143, allocations: 3.873 MB / 1.054 GB, free: 3.172 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.5144, allocations: 0 / 1.054 GB, free: 3.172 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.886e-06/0.5144, allocations: 0 / 1.054 GB, free: 3.172 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001427/0.5145, allocations: 0 / 1.054 GB, free: 3.172 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.009578/0.5241, allocations: 2.862 MB / 1.057 GB, free: 252 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5242, allocations: 12.03 kB / 1.057 GB, free: 240 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.595/1.119, allocations: 1.097 MB / 1.058 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006643/1.126, allocations: 2.368 MB / 1.06 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/1.126, allocations: 150.1 kB / 1.06 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006738/1.127, allocations: 189.9 kB / 1.06 GB, free: 151.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009641/1.136, allocations: 2.505 MB / 1.063 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.689e-05/1.137, allocations: 8.484 kB / 1.063 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003274/1.137, allocations: 78.72 kB / 1.063 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.602e-05/1.137, allocations: 53.12 kB / 1.063 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/1.149, allocations: 2.367 MB / 1.065 GB, free: 150.8 MB / 0.698 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.0295/1.178, allocations: 12.12 MB / 1.077 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02132/1.2, allocations: 2.333 MB / 1.079 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005793/1.206, allocations: 0.9354 MB / 1.08 GB, free: 142.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/1.207, allocations: 1.379 MB / 1.082 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/1.207, allocations: 51.45 kB / 1.082 GB, free: 140.6 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002342/1.21, allocations: 227.3 kB / 1.082 GB, free: 140.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 8.086e-06/1.21, allocations: 4 kB / 1.082 GB, free: 140.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.06303/1.273, allocations: 8.934 MB / 1.091 GB, free: 136.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/1.273, allocations: 170 kB / 1.091 GB, free: 135.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004623/1.277, allocations: 2.066 MB / 1.093 GB, free: 134.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004224/1.278, allocations: 49.58 kB / 1.093 GB, free: 134.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.279, allocations: 1.202 MB / 1.094 GB, free: 133.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005717/1.28, allocations: 387.5 kB / 1.094 GB, free: 133.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/1.28, allocations: 23.91 kB / 1.094 GB, free: 133.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.28, allocations: 361.6 kB / 1.095 GB, free: 133 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004302/1.284, allocations: 0.8997 MB / 1.096 GB, free: 132.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00483/1.289, allocations: 1.304 MB / 1.097 GB, free: 131.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00464/1.294, allocations: 0.9859 MB / 1.098 GB, free: 130.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/1.294, allocations: 5.422 kB / 1.098 GB, free: 130.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.0144/1.308, allocations: 2.992 MB / 1.101 GB, free: 127.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001973/1.309, allocations: 376 kB / 1.101 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/1.309, allocations: 12 kB / 1.101 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/1.319, allocations: 1.393 MB / 1.102 GB, free: 126 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/1.322, allocations: 338.1 kB / 1.103 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02152/1.344, allocations: 6.068 MB / 1.109 GB, free: 119.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005563/1.349, allocations: 383.2 kB / 1.109 GB, free: 119.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004915/1.35, allocations: 75.95 kB / 1.109 GB, free: 119 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/1.35, allocations: 4 kB / 1.109 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01024/1.36, allocations: 2.353 MB / 1.111 GB, free: 116.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/1.36, allocations: 12.69 kB / 1.111 GB, free: 116.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004865/1.365, allocations: 0.6862 MB / 1.112 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/1.368, allocations: 391.5 kB / 1.112 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02745/1.396, allocations: 6.773 MB / 1.119 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004979/1.401, allocations: 336.2 kB / 1.119 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003715/1.401, allocations: 76.05 kB / 1.119 GB, free: 108.2 MB / 0.698 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.001762/1.403, allocations: 0.6182 MB / 1.12 GB, free: 107.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007765/1.404, allocations: 229.1 kB / 1.12 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.414, allocations: 2.516 MB / 1.123 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009022/1.423, allocations: 2.337 MB / 1.125 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.424, allocations: 7.984 kB / 1.125 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/1.425, allocations: 0.5173 MB / 1.126 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007235/1.426, allocations: 24 kB / 1.126 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004341/1.431, allocations: 311.5 kB / 1.126 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/1.431, allocations: 68.89 kB / 1.126 GB, free: 101.4 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.01198/1.443, allocations: 1.989 MB / 1.128 GB, free: 99.46 MB / 0.698 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.