Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.072/2.072, allocations: 287.4 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 182.3 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008835/0.0008836, allocations: 91.36 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 11.31 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2381, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.6758/0.914, allocations: 106.7 MB / 1.083 GB, free: 22.36 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04071/0.9547, allocations: 24.69 MB / 1.108 GB, free: 21.95 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006431/0.9612, allocations: 114.3 kB / 1.108 GB, free: 21.95 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004447/0.9657, allocations: 0.856 MB / 1.109 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01322/0.979, allocations: 2.76 MB / 1.111 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.989, allocations: 2.203 MB / 1.113 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01638/1.005, allocations: 8.144 MB / 1.121 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004926/1.01, allocations: 2.259 MB / 1.124 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007623/1.018, allocations: 2.386 MB / 1.126 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005325/1.023, allocations: 1.927 MB / 1.128 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006876/1.024, allocations: 102.7 kB / 1.128 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005705/1.03, allocations: 1.034 MB / 1.129 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009493/1.031, allocations: 483 kB / 1.129 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001899/1.033, allocations: 0.6266 MB / 1.13 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006542/1.039, allocations: 3.891 MB / 1.134 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/1.039, allocations: 0 / 1.134 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.625e-06/1.039, allocations: 0 / 1.134 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001494/1.04, allocations: 1.094 kB / 1.134 GB, free: 13.18 MB / 0.6823 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.007079/1.047, allocations: 2.836 MB / 1.136 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/1.047, allocations: 8.562 kB / 1.136 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005461/1.052, allocations: 1.101 MB / 1.138 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00484/1.057, allocations: 2.466 MB / 1.14 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/1.057, allocations: 151 kB / 1.14 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000366/1.058, allocations: 196.4 kB / 1.14 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005849/1.063, allocations: 2.515 MB / 1.143 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/1.063, allocations: 2.156 kB / 1.143 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/1.064, allocations: 81.12 kB / 1.143 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.586e-05/1.064, allocations: 51.69 kB / 1.143 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006322/1.07, allocations: 2.363 MB / 1.145 GB, free: 5.922 MB / 0.6823 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.02175/1.092, allocations: 12.14 MB / 1.157 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008208/1.1, allocations: 2.344 MB / 1.159 GB, free: 10.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/1.102, allocations: 0.9424 MB / 1.16 GB, free: 9.812 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/1.104, allocations: 1.376 MB / 1.162 GB, free: 8.246 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/1.104, allocations: 51 kB / 1.162 GB, free: 8.195 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002057/1.106, allocations: 231.9 kB / 1.162 GB, free: 8.066 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 5.851e-06/1.106, allocations: 0 / 1.162 GB, free: 8.066 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03615/1.142, allocations: 9.208 MB / 1.171 GB, free: 3.562 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/1.142, allocations: 163.2 kB / 1.171 GB, free: 3.367 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/1.146, allocations: 2.066 MB / 1.173 GB, free: 1.281 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/1.146, allocations: 53.7 kB / 1.173 GB, free: 1.223 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/1.147, allocations: 1.196 MB / 1.174 GB, free: 16 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004514/1.148, allocations: 385.6 kB / 1.175 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/1.148, allocations: 24 kB / 1.175 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.148, allocations: 369.8 kB / 1.175 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/1.15, allocations: 0.8979 MB / 1.176 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/1.153, allocations: 1.308 MB / 1.177 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004754/1.158, allocations: 2.031 MB / 1.179 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.158, allocations: 4 kB / 1.179 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008476/1.167, allocations: 3.002 MB / 1.182 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003326/1.167, allocations: 383.3 kB / 1.182 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.167, allocations: 8 kB / 1.182 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005972/1.173, allocations: 1.438 MB / 1.184 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/1.174, allocations: 331.5 kB / 1.184 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/1.188, allocations: 6.095 MB / 1.19 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/1.191, allocations: 379.4 kB / 1.19 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/1.192, allocations: 75.91 kB / 1.191 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.192, allocations: 7.984 kB / 1.191 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00599/1.198, allocations: 2.351 MB / 1.193 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/1.198, allocations: 15.94 kB / 1.193 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/1.2, allocations: 0.6835 MB / 1.194 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/1.202, allocations: 395.5 kB / 1.194 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/1.215, allocations: 6.755 MB / 1.201 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/1.218, allocations: 327.5 kB / 1.201 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/1.218, allocations: 71.97 kB / 1.201 GB, free: 3.879 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.001637/1.22, allocations: 0.6216 MB / 1.202 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000512/1.22, allocations: 241 kB / 1.202 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006108/1.227, allocations: 2.503 MB / 1.204 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005021/1.232, allocations: 2.349 MB / 1.206 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.232, allocations: 0 / 1.206 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/1.233, allocations: 0.524 MB / 1.207 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003668/1.234, allocations: 31.98 kB / 1.207 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/1.236, allocations: 306.1 kB / 1.207 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.236, allocations: 80.83 kB / 1.207 GB, free: 13.13 MB / 0.7448 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.006296/1.242, allocations: 1.985 MB / 1.209 GB, free: 11.17 MB / 0.7448 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.