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_Cooling.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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.1/2.1, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001377/0.001377, allocations: 193.1 kB / 326.3 MB, free: 2.852 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.434/2.434, allocations: 205.4 MB / 0.5772 GB, free: 21.11 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.0009348/0.0009347, allocations: 88.47 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004719, allocations: 12.3 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2079, allocations: 106.3 MB / 0.8995 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.1513/0.3593, allocations: 106.7 MB / 1.004 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.05465/0.414, allocations: 24.65 MB / 1.028 GB, free: 14.27 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004841/0.4189, allocations: 115.1 kB / 1.028 GB, free: 14.15 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.004745/0.4237, allocations: 0.8575 MB / 1.029 GB, free: 13.29 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.01233/0.4361, allocations: 2.755 MB / 1.031 GB, free: 10.52 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.4462, allocations: 2.178 MB / 1.034 GB, free: 8.375 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.01513/0.4613, allocations: 8.13 MB / 1.042 GB, free: 228 kB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005601/0.467, allocations: 2.198 MB / 1.044 GB, free: 13.99 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008026/0.4751, allocations: 2.379 MB / 1.046 GB, free: 11.6 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005278/0.4804, allocations: 1.917 MB / 1.048 GB, free: 9.672 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008592/0.4813, allocations: 104 kB / 1.048 GB, free: 9.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005201/0.4865, allocations: 1.045 MB / 1.049 GB, free: 8.523 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001281/0.4879, allocations: 469.7 kB / 1.049 GB, free: 8.062 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.4895, allocations: 0.6213 MB / 1.05 GB, free: 7.434 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007958/0.4975, allocations: 3.873 MB / 1.054 GB, free: 3.551 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.4976, allocations: 0 / 1.054 GB, free: 3.551 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.816e-06/0.4976, allocations: 0 / 1.054 GB, free: 3.551 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001541/0.4978, allocations: 0 / 1.054 GB, free: 3.551 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.00961/0.5074, allocations: 2.866 MB / 1.057 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.5075, allocations: 8.031 kB / 1.057 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.641/1.148, allocations: 1.099 MB / 1.058 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006303/1.155, allocations: 2.373 MB / 1.06 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/1.155, allocations: 143.1 kB / 1.06 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004624/1.155, allocations: 194.7 kB / 1.06 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008951/1.164, allocations: 2.506 MB / 1.063 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.866e-05/1.165, allocations: 3.938 kB / 1.063 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/1.165, allocations: 81.22 kB / 1.063 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.979e-05/1.165, allocations: 48.64 kB / 1.063 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/1.176, allocations: 2.373 MB / 1.065 GB, free: 151 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.02858/1.205, allocations: 12.12 MB / 1.077 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01256/1.217, allocations: 2.099 MB / 1.079 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00423/1.221, allocations: 0.9357 MB / 1.08 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/1.223, allocations: 1.377 MB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/1.223, allocations: 44.19 kB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002222/1.225, allocations: 227.7 kB / 1.082 GB, free: 140.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 6.572e-06/1.225, allocations: 2.672 kB / 1.082 GB, free: 140.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.06136/1.287, allocations: 8.932 MB / 1.09 GB, free: 136.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/1.287, allocations: 169.8 kB / 1.091 GB, free: 136.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00438/1.291, allocations: 2.069 MB / 1.093 GB, free: 135.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000413/1.292, allocations: 53.55 kB / 1.093 GB, free: 135 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.293, allocations: 1.186 MB / 1.094 GB, free: 134 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004729/1.293, allocations: 390.6 kB / 1.094 GB, free: 133.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/1.293, allocations: 31.97 kB / 1.094 GB, free: 133.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.294, allocations: 361.6 kB / 1.094 GB, free: 133.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004199/1.298, allocations: 0.8988 MB / 1.095 GB, free: 132.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004465/1.302, allocations: 1.301 MB / 1.097 GB, free: 131.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004397/1.307, allocations: 0.9809 MB / 1.098 GB, free: 131.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.307, allocations: 3.312 kB / 1.098 GB, free: 131.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01372/1.32, allocations: 3.008 MB / 1.101 GB, free: 128.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002016/1.321, allocations: 375.9 kB / 1.101 GB, free: 128 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/1.321, allocations: 8 kB / 1.101 GB, free: 128 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/1.331, allocations: 1.399 MB / 1.102 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/1.334, allocations: 335.5 kB / 1.103 GB, free: 126.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02122/1.355, allocations: 6.072 MB / 1.109 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005427/1.36, allocations: 380.4 kB / 1.109 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003778/1.361, allocations: 75.95 kB / 1.109 GB, free: 119.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/1.361, allocations: 0 / 1.109 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009848/1.371, allocations: 2.359 MB / 1.111 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/1.371, allocations: 9.75 kB / 1.111 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004808/1.376, allocations: 0.6864 MB / 1.112 GB, free: 116.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/1.379, allocations: 395.5 kB / 1.112 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/1.4, allocations: 6.769 MB / 1.119 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004952/1.405, allocations: 339.3 kB / 1.119 GB, free: 108.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000407/1.405, allocations: 71.95 kB / 1.119 GB, free: 108.7 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.001873/1.407, allocations: 0.614 MB / 1.12 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007878/1.408, allocations: 229.1 kB / 1.12 GB, free: 107.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/1.419, allocations: 2.514 MB / 1.123 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008832/1.428, allocations: 2.337 MB / 1.125 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/1.428, allocations: 4 kB / 1.125 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/1.43, allocations: 0.529 MB / 1.125 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005068/1.43, allocations: 20 kB / 1.125 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003825/1.434, allocations: 303.5 kB / 1.126 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/1.434, allocations: 72.89 kB / 1.126 GB, free: 102 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.01158/1.446, allocations: 1.981 MB / 1.128 GB, free: 100 MB / 0.698 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.