Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.574/1.574, allocations: 288.4 MB / 304.3 MB, free: 8.168 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.001121/0.001122, allocations: 175 kB / 372.9 MB, free: 10.14 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.321/1.321, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.000788/0.0007879, allocations: 104 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004191, allocations: 11.34 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.219, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.6367/0.8558, allocations: 106.7 MB / 1.085 GB, free: 20.47 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03899/0.8948, allocations: 24.69 MB / 1.109 GB, free: 20.01 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006399/0.9013, allocations: 112 kB / 1.109 GB, free: 20.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004198/0.9055, allocations: 0.8548 MB / 1.11 GB, free: 20 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01278/0.9183, allocations: 2.954 MB / 1.113 GB, free: 19.39 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009213/0.9276, allocations: 2.221 MB / 1.115 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01544/0.943, allocations: 8.146 MB / 1.123 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005546/0.9486, allocations: 2.274 MB / 1.125 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007361/0.956, allocations: 2.514 MB / 1.128 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00538/0.9615, allocations: 1.923 MB / 1.13 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008177/0.9623, allocations: 104.1 kB / 1.13 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006124/0.9684, allocations: 1.312 MB / 1.131 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009316/0.9694, allocations: 473.5 kB / 1.131 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004614/0.974, allocations: 1.373 MB / 1.133 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007561/0.9816, allocations: 3.967 MB / 1.137 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.9817, allocations: 0 / 1.137 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.897e-06/0.9817, allocations: 1.344 kB / 1.137 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001757/0.9819, allocations: 0 / 1.137 GB, free: 9.832 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.008629/0.9905, allocations: 2.836 MB / 1.139 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.257e-05/0.9906, allocations: 9.25 kB / 1.139 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006424/0.997, allocations: 1.101 MB / 1.14 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005409/1.002, allocations: 2.462 MB / 1.143 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/1.003, allocations: 154.5 kB / 1.143 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/1.003, allocations: 191.8 kB / 1.143 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005499/1.008, allocations: 2.511 MB / 1.146 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/1.009, allocations: 2.969 kB / 1.146 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/1.009, allocations: 80.45 kB / 1.146 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.65e-05/1.009, allocations: 51.91 kB / 1.146 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005974/1.015, allocations: 2.37 MB / 1.148 GB, free: 2.57 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.01875/1.034, allocations: 12.13 MB / 1.16 GB, free: 7.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007991/1.042, allocations: 2.344 MB / 1.162 GB, free: 6.914 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/1.044, allocations: 0.9445 MB / 1.163 GB, free: 6.469 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/1.046, allocations: 1.383 MB / 1.164 GB, free: 4.898 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/1.046, allocations: 50.31 kB / 1.165 GB, free: 4.848 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002096/1.048, allocations: 233.9 kB / 1.165 GB, free: 4.719 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 6.332e-06/1.048, allocations: 0 / 1.165 GB, free: 4.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.03773/1.086, allocations: 9.201 MB / 1.174 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.086, allocations: 167.2 kB / 1.174 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004315/1.09, allocations: 2.062 MB / 1.176 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002947/1.09, allocations: 49.7 kB / 1.176 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/1.091, allocations: 1.207 MB / 1.177 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004391/1.092, allocations: 382.4 kB / 1.177 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.051e-05/1.092, allocations: 28 kB / 1.178 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.092, allocations: 361.9 kB / 1.178 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/1.095, allocations: 0.9017 MB / 1.179 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/1.097, allocations: 1.308 MB / 1.18 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004641/1.102, allocations: 2.031 MB / 1.182 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.102, allocations: 4 kB / 1.182 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008203/1.11, allocations: 3.005 MB / 1.185 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003173/1.111, allocations: 377.1 kB / 1.185 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/1.111, allocations: 12 kB / 1.185 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005889/1.116, allocations: 1.437 MB / 1.187 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.118, allocations: 331.5 kB / 1.187 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/1.131, allocations: 6.086 MB / 1.193 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/1.135, allocations: 375.4 kB / 1.193 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003094/1.135, allocations: 75.95 kB / 1.193 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.135, allocations: 6.031 kB / 1.193 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005861/1.141, allocations: 2.363 MB / 1.196 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.141, allocations: 11.94 kB / 1.196 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/1.144, allocations: 0.676 MB / 1.196 GB, free: 8.008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/1.146, allocations: 399.4 kB / 1.197 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/1.158, allocations: 6.776 MB / 1.203 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/1.162, allocations: 323.5 kB / 1.204 GB, free: 276 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/1.162, allocations: 71.95 kB / 1.204 GB, free: 204 kB / 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.002022/1.164, allocations: 0.6216 MB / 1.204 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007214/1.165, allocations: 233 kB / 1.205 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006332/1.171, allocations: 2.512 MB / 1.207 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005087/1.176, allocations: 2.349 MB / 1.209 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.176, allocations: 0 / 1.209 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/1.178, allocations: 0.5212 MB / 1.21 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008804/1.179, allocations: 24 kB / 1.21 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002778/1.182, allocations: 309.8 kB / 1.21 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/1.182, allocations: 82.14 kB / 1.21 GB, free: 9.457 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.00684/1.189, allocations: 1.991 MB / 1.212 GB, free: 7.492 MB / 0.7448 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.