Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 104.5 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 192.9 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 79 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1962, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating): time 0.4392/0.6354, allocations: 115.5 MB / 0.8976 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03793/0.6734, allocations: 26.1 MB / 0.9231 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00484/0.6783, allocations: 128.9 kB / 0.9232 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004219/0.6826, allocations: 1.314 MB / 0.9245 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.6933, allocations: 3.572 MB / 0.9279 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007076/0.7004, allocations: 3.26 MB / 0.9311 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009471/0.7099, allocations: 7.338 MB / 0.9383 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003725/0.7136, allocations: 2.889 MB / 0.9411 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006419/0.7201, allocations: 3.151 MB / 0.9442 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.7231, allocations: 2.209 MB / 0.9464 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004367/0.7236, allocations: 340 kB / 0.9467 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.727, allocations: 1.673 MB / 0.9483 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006775/0.7277, allocations: 0.7358 MB / 0.949 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.7297, allocations: 1.695 MB / 0.9507 GB, free: 428 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005796/0.7355, allocations: 5.183 MB / 0.9557 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7355, allocations: 4 kB / 0.9558 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7355, allocations: 0 / 0.9558 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.664e-05/0.7356, allocations: 0 / 0.9558 GB, free: 11.22 MB / 0.7481 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.006604/0.7422, allocations: 3.401 MB / 0.9591 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.7422, allocations: 12.03 kB / 0.9591 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005221/0.7475, allocations: 0.9287 MB / 0.96 GB, free: 6.809 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/0.7513, allocations: 2.548 MB / 0.9625 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.453e-05/0.7514, allocations: 143.7 kB / 0.9626 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.7517, allocations: 199.9 kB / 0.9628 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004878/0.7566, allocations: 2.429 MB / 0.9652 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.7566, allocations: 3.938 kB / 0.9652 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.7568, allocations: 76 kB / 0.9653 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.7568, allocations: 51.98 kB / 0.9653 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005686/0.7625, allocations: 2.203 MB / 0.9675 GB, free: 15 MB / 0.7637 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.01552/0.7781, allocations: 12.03 MB / 0.9792 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008272/0.7864, allocations: 2.035 MB / 0.9812 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/0.7887, allocations: 0.8681 MB / 0.982 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.7899, allocations: 1.362 MB / 0.9834 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.7899, allocations: 59.55 kB / 0.9834 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009594/0.7909, allocations: 134.8 kB / 0.9836 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=105): time 3.667e-06/0.7909, allocations: 0 / 0.9836 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=111): time 0.03519/0.8261, allocations: 8.266 MB / 0.9916 GB, free: 5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.8262, allocations: 167.2 kB / 0.9918 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/0.8292, allocations: 2.089 MB / 0.9938 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.8294, allocations: 49.7 kB / 0.9939 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008638/0.8303, allocations: 1.191 MB / 0.995 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.8306, allocations: 394.3 kB / 0.9954 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005094/0.8311, allocations: 307.4 kB / 0.9957 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.8312, allocations: 309 kB / 0.996 GB, free: 432 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/0.8336, allocations: 0.8323 MB / 0.9968 GB, free: 15.59 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002715/0.8363, allocations: 1.237 MB / 0.998 GB, free: 14.19 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004657/0.841, allocations: 1.883 MB / 0.9999 GB, free: 12.17 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.841, allocations: 4 kB / 0.9999 GB, free: 12.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008198/0.8492, allocations: 2.817 MB / 1.003 GB, free: 9.332 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.8493, allocations: 8.688 kB / 1.003 GB, free: 9.324 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.8493, allocations: 8 kB / 1.003 GB, free: 9.316 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006682/0.856, allocations: 1.478 MB / 1.004 GB, free: 7.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.8574, allocations: 307.5 kB / 1.004 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.8709, allocations: 5.987 MB / 1.01 GB, free: 1.406 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/0.8737, allocations: 220.2 kB / 1.01 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.8739, allocations: 75.95 kB / 1.01 GB, free: 1.117 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003079/0.877, allocations: 1.218 MB / 1.012 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002565/0.8795, allocations: 1.171 MB / 1.013 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004299/0.8838, allocations: 1.78 MB / 1.015 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.783e-06/0.8839, allocations: 8 kB / 1.015 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182) (initialization_lambda0): time 0.006472/0.8903, allocations: 2.436 MB / 1.017 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.8904, allocations: 12 kB / 1.017 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.8904, allocations: 8 kB / 1.017 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002712/0.8931, allocations: 0.6585 MB / 1.018 GB, free: 9.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.8948, allocations: 359.5 kB / 1.018 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/0.9079, allocations: 6.959 MB / 1.025 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.9106, allocations: 203.7 kB / 1.025 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.9108, allocations: 76.64 kB / 1.025 GB, free: 1.668 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,16), (3,36)} Notification: Performance of prepare postOptimizeDAE: time 0.0004302/0.9112, allocations: 263.9 kB / 1.025 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004327/0.9117, allocations: 237 kB / 1.026 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006288/0.918, allocations: 2.345 MB / 1.028 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005178/0.9232, allocations: 2.173 MB / 1.03 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9232, allocations: 0 / 1.03 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009656/0.9242, allocations: 0.4901 MB / 1.03 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/0.9245, allocations: 24 kB / 1.03 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.9263, allocations: 167.8 kB / 1.031 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.9264, allocations: 80.83 kB / 1.031 GB, free: 11.8 MB / 0.8262 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.006407/0.9328, allocations: 1.721 MB / 1.032 GB, free: 10.07 MB / 0.8262 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Heating could not be translated