Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 109.3 kB / 16.37 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.001883/0.001883, allocations: 188.3 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.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001618/0.001618, allocations: 71.91 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2147, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.3906/0.6053, allocations: 61.28 MB / 0.8446 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.6207, allocations: 11.93 MB / 0.8563 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.623, allocations: 55.25 kB / 0.8563 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.6252, allocations: 0.6807 MB / 0.857 GB, free: 15.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005957/0.6312, allocations: 1.953 MB / 0.8589 GB, free: 14.55 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.6346, allocations: 1.22 MB / 0.8601 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004735/0.6393, allocations: 3.087 MB / 0.8631 GB, free: 12.38 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.6411, allocations: 1.135 MB / 0.8642 GB, free: 11.87 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.6442, allocations: 1.34 MB / 0.8655 GB, free: 11.21 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.6456, allocations: 0.916 MB / 0.8664 GB, free: 10.78 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.6458, allocations: 119.3 kB / 0.8665 GB, free: 10.78 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/0.6491, allocations: 1.442 MB / 0.8679 GB, free: 10.29 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003167/0.6494, allocations: 290.9 kB / 0.8682 GB, free: 10.1 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000782/0.6502, allocations: 0.7072 MB / 0.8689 GB, free: 9.66 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003499/0.6537, allocations: 2.339 MB / 0.8712 GB, free: 8.379 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6537, allocations: 0.9688 kB / 0.8712 GB, free: 8.379 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6537, allocations: 0 / 0.8712 GB, free: 8.379 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.6537, allocations: 0 / 0.8712 GB, free: 8.379 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003177/0.6569, allocations: 1.751 MB / 0.8729 GB, free: 7.035 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.657, allocations: 12.97 kB / 0.8729 GB, free: 7.031 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.6592, allocations: 414.8 kB / 0.8733 GB, free: 6.84 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.6613, allocations: 1.167 MB / 0.8745 GB, free: 5.906 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.6614, allocations: 65.16 kB / 0.8745 GB, free: 5.879 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.6615, allocations: 82.53 kB / 0.8746 GB, free: 5.855 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.6637, allocations: 1.022 MB / 0.8756 GB, free: 5.18 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.6637, allocations: 1.375 kB / 0.8756 GB, free: 5.18 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.6638, allocations: 32.31 kB / 0.8756 GB, free: 5.156 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/0.6638, allocations: 19.69 kB / 0.8756 GB, free: 5.156 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.6663, allocations: 0.9 MB / 0.8765 GB, free: 4.715 MB / 0.67 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.006414/0.6727, allocations: 4.981 MB / 0.8814 GB, free: 292 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003572/0.6763, allocations: 0.8244 MB / 0.8822 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008158/0.6771, allocations: 327.2 kB / 0.8825 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006541/0.6778, allocations: 0.9077 MB / 0.8834 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.6778, allocations: 41.92 kB / 0.8834 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.495e-06/0.6778, allocations: 0 / 0.8834 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.008826/0.6867, allocations: 1.95 MB / 0.8853 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.6867, allocations: 56.28 kB / 0.8854 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.6883, allocations: 1.078 MB / 0.8864 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.6884, allocations: 38.39 kB / 0.8865 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.6888, allocations: 0.5388 MB / 0.887 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.689, allocations: 170.5 kB / 0.8872 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.6892, allocations: 142.4 kB / 0.8873 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.6894, allocations: 327.5 kB / 0.8876 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.6904, allocations: 338 kB / 0.8879 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.6916, allocations: 0.5605 MB / 0.8885 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.6936, allocations: 0.7607 MB / 0.8892 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.6936, allocations: 2.125 kB / 0.8892 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003965/0.6976, allocations: 1.214 MB / 0.8904 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.6976, allocations: 12.66 kB / 0.8904 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6976, allocations: 8.219 kB / 0.8904 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.6989, allocations: 302.2 kB / 0.8907 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.6995, allocations: 146.5 kB / 0.8909 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.701, allocations: 0.8976 MB / 0.8917 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.7024, allocations: 159.8 kB / 0.8919 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/0.7025, allocations: 31.7 kB / 0.8919 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001348/0.7038, allocations: 0.5339 MB / 0.8924 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00119/0.705, allocations: 0.5554 MB / 0.893 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0019/0.7069, allocations: 0.7504 MB / 0.8937 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/0.7069, allocations: 1.031 kB / 0.8937 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.003697/0.7107, allocations: 1.199 MB / 0.8949 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.7107, allocations: 6.781 kB / 0.8949 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7107, allocations: 5.656 kB / 0.8949 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.7118, allocations: 303.5 kB / 0.8952 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.7124, allocations: 145.8 kB / 0.8953 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.7138, allocations: 0.8991 MB / 0.8962 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.7152, allocations: 138.6 kB / 0.8963 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.7153, allocations: 31.58 kB / 0.8964 GB, free: 6.301 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.7155, allocations: 226 kB / 0.8966 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.7157, allocations: 117.2 kB / 0.8967 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004212/0.7199, allocations: 1.2 MB / 0.8979 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.7199, allocations: 0 / 0.8979 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.72, allocations: 0 / 0.8979 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/0.7204, allocations: 272 kB / 0.8981 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.7206, allocations: 6.375 kB / 0.8981 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008879/0.7215, allocations: 78.03 kB / 0.8982 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.7216, allocations: 28.39 kB / 0.8982 GB, free: 5.023 MB / 0.6856 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.003016/0.7246, allocations: 0.8132 MB / 0.899 GB, free: 4.207 MB / 0.6856 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature could not be translated