Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 108.8 kB / 16.38 MB, free: 6.004 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.001089/0.001089, allocations: 194.9 kB / 17.31 MB, free: 5.621 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.334/1.334, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.783/1.783, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001483/0.001483, allocations: 67.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2065, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.4545/0.661, allocations: 115.6 MB / 0.8976 GB, free: 1.016 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03845/0.6995, allocations: 26.11 MB / 0.9231 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004796/0.7043, allocations: 134.8 kB / 0.9233 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00383/0.7082, allocations: 1.305 MB / 0.9245 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.7191, allocations: 3.581 MB / 0.928 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00762/0.7267, allocations: 3.24 MB / 0.9312 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01061/0.7374, allocations: 7.341 MB / 0.9384 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004535/0.7419, allocations: 2.9 MB / 0.9412 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007126/0.7491, allocations: 3.147 MB / 0.9443 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004162/0.7533, allocations: 2.209 MB / 0.9464 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005675/0.7539, allocations: 340 kB / 0.9468 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.7578, allocations: 1.669 MB / 0.9484 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006586/0.7585, allocations: 0.7358 MB / 0.9491 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002334/0.7608, allocations: 1.695 MB / 0.9508 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007043/0.7679, allocations: 5.176 MB / 0.9558 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.7679, allocations: 0 / 0.9558 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7679, allocations: 0 / 0.9558 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.569e-05/0.768, allocations: 0 / 0.9558 GB, free: 11.35 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.005898/0.7739, allocations: 3.405 MB / 0.9591 GB, free: 7.879 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.774, allocations: 11.97 kB / 0.9592 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/0.7795, allocations: 0.9326 MB / 0.9601 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004804/0.7844, allocations: 2.544 MB / 0.9626 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.7845, allocations: 139.7 kB / 0.9627 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.7848, allocations: 195.9 kB / 0.9629 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005034/0.7898, allocations: 2.437 MB / 0.9653 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.7899, allocations: 7.938 kB / 0.9653 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.7901, allocations: 80 kB / 0.9653 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/0.7901, allocations: 48 kB / 0.9654 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005727/0.7959, allocations: 2.2 MB / 0.9675 GB, free: 15.12 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.01526/0.8111, allocations: 12.04 MB / 0.9793 GB, free: 2.23 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006519/0.8177, allocations: 1.858 MB / 0.9811 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002229/0.8199, allocations: 0.8759 MB / 0.982 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/0.8212, allocations: 1.37 MB / 0.9833 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.8213, allocations: 43.56 kB / 0.9833 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008718/0.8221, allocations: 142.8 kB / 0.9835 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=105): time 3.206e-06/0.8222, allocations: 0 / 0.9835 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=111): time 0.0342/0.8564, allocations: 8.269 MB / 0.9915 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.8565, allocations: 167.2 kB / 0.9917 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/0.8593, allocations: 2.085 MB / 0.9937 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.8594, allocations: 53.7 kB / 0.9938 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008347/0.8603, allocations: 1.195 MB / 0.995 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.8606, allocations: 386.3 kB / 0.9953 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005111/0.8611, allocations: 311.3 kB / 0.9956 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.8612, allocations: 313.1 kB / 0.9959 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.8636, allocations: 0.8324 MB / 0.9967 GB, free: 15.87 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/0.8663, allocations: 1.229 MB / 0.9979 GB, free: 14.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004625/0.8709, allocations: 1.895 MB / 0.9998 GB, free: 12.45 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.871, allocations: 4 kB / 0.9998 GB, free: 12.44 MB / 0.795 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008111/0.8791, allocations: 2.805 MB / 1.003 GB, free: 9.621 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.8791, allocations: 8 kB / 1.003 GB, free: 9.613 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.8792, allocations: 12 kB / 1.003 GB, free: 9.602 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006576/0.8857, allocations: 1.472 MB / 1.004 GB, free: 8.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.8871, allocations: 303.5 kB / 1.004 GB, free: 7.828 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.9001, allocations: 5.997 MB / 1.01 GB, free: 1.695 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/0.903, allocations: 220.4 kB / 1.01 GB, free: 1.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/0.9032, allocations: 75.95 kB / 1.01 GB, free: 1.406 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00295/0.9062, allocations: 1.218 MB / 1.012 GB, free: 188 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002465/0.9086, allocations: 1.163 MB / 1.013 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004212/0.9129, allocations: 1.781 MB / 1.014 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/0.9129, allocations: 0 / 1.014 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182) (initialization_lambda0): time 0.006288/0.9192, allocations: 2.448 MB / 1.017 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.9192, allocations: 9.719 kB / 1.017 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.9192, allocations: 12.86 kB / 1.017 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002704/0.9219, allocations: 0.6496 MB / 1.018 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.9236, allocations: 363.3 kB / 1.018 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/0.9367, allocations: 6.963 MB / 1.025 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/0.9395, allocations: 207.7 kB / 1.025 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.9396, allocations: 71.97 kB / 1.025 GB, free: 1.957 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.0004066/0.9401, allocations: 263.9 kB / 1.025 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/0.9405, allocations: 237 kB / 1.025 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00615/0.9466, allocations: 2.335 MB / 1.028 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004959/0.9516, allocations: 2.173 MB / 1.03 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.9516, allocations: 3.938 kB / 1.03 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009095/0.9526, allocations: 0.4939 MB / 1.03 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/0.9529, allocations: 24 kB / 1.03 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/0.9548, allocations: 171.8 kB / 1.03 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.955, allocations: 73.33 kB / 1.031 GB, free: 12.09 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.006418/0.9615, allocations: 1.729 MB / 1.032 GB, free: 10.36 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_Cooling could not be translated