Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 166.7 kB / 326.5 MB, free: 2.652 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205 MB / 0.5767 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007747/0.0007746, allocations: 89.22 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002897, allocations: 14.45 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1711, allocations: 105.4 MB / 0.8967 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.03735/0.2085, allocations: 60.57 MB / 0.9559 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01322/0.2217, allocations: 11.92 MB / 0.9675 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.2234, allocations: 55.62 kB / 0.9676 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.2249, allocations: 0.5594 MB / 0.9681 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004193/0.2291, allocations: 1.783 MB / 0.9699 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.2316, allocations: 1.09 MB / 0.9709 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003824/0.2355, allocations: 3.902 MB / 0.9747 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.2366, allocations: 0.8845 MB / 0.9756 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.2385, allocations: 1.116 MB / 0.9767 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.2395, allocations: 0.8709 MB / 0.9775 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.2396, allocations: 44 kB / 0.9776 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.242, allocations: 1.31 MB / 0.9789 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.2423, allocations: 210.9 kB / 0.9791 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005596/0.2428, allocations: 0.6098 MB / 0.9797 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.2452, allocations: 2.2 MB / 0.9818 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2452, allocations: 0 / 0.9818 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2452, allocations: 4 kB / 0.9818 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.2453, allocations: 0 / 0.9818 GB, free: 12.69 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002465/0.2477, allocations: 1.501 MB / 0.9833 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2478, allocations: 8.031 kB / 0.9833 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.2498, allocations: 474.8 kB / 0.9837 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.2517, allocations: 1.136 MB / 0.9849 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/0.252, allocations: 129.9 kB / 0.985 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.2521, allocations: 80 kB / 0.9851 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.254, allocations: 1.011 MB / 0.986 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.254, allocations: 3.938 kB / 0.986 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/0.2541, allocations: 32 kB / 0.9861 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.2541, allocations: 20 kB / 0.9861 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.2564, allocations: 0.9368 MB / 0.987 GB, free: 7.215 MB / 0.6355 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.005745/0.2621, allocations: 4.659 MB / 0.9916 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003344/0.2655, allocations: 0.9345 MB / 0.9925 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007363/0.2663, allocations: 345.9 kB / 0.9928 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/0.2669, allocations: 0.9068 MB / 0.9937 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.2669, allocations: 42.98 kB / 0.9937 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 2.335e-06/0.2669, allocations: 0 / 0.9937 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.008251/0.2752, allocations: 2.217 MB / 0.9959 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.2752, allocations: 67.72 kB / 0.996 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.2767, allocations: 1.055 MB / 0.997 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.488e-05/0.2768, allocations: 37.7 kB / 0.997 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.2771, allocations: 0.5158 MB / 0.9975 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.2773, allocations: 169.5 kB / 0.9977 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.2774, allocations: 49.69 kB / 0.9977 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2775, allocations: 334 kB / 0.9981 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008661/0.2784, allocations: 332.9 kB / 0.9984 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.2794, allocations: 0.5448 MB / 0.9989 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.2811, allocations: 0.7363 MB / 0.9996 GB, free: 9.559 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.2811, allocations: 4 kB / 0.9996 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003549/0.2846, allocations: 1.241 MB / 1.001 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.2848, allocations: 195.1 kB / 1.001 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2848, allocations: 4 kB / 1.001 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/0.286, allocations: 336.6 kB / 1.001 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.2866, allocations: 131.8 kB / 1.001 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.288, allocations: 0.9478 MB / 1.002 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.2892, allocations: 195.1 kB / 1.003 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.519e-05/0.2893, allocations: 35.97 kB / 1.003 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.2893, allocations: 4 kB / 1.003 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003085/0.2924, allocations: 1.092 MB / 1.004 GB, free: 5.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.2924, allocations: 4 kB / 1.004 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.2934, allocations: 329 kB / 1.004 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.294, allocations: 135.8 kB / 1.004 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.2953, allocations: 0.9332 MB / 1.005 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.2963, allocations: 171.3 kB / 1.005 GB, free: 3.711 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.2964, allocations: 31.98 kB / 1.005 GB, free: 3.68 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * 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.0004839/0.2969, allocations: 353 kB / 1.006 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.2971, allocations: 110.6 kB / 1.006 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/0.3008, allocations: 1.267 MB / 1.007 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3008, allocations: 7.922 kB / 1.007 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3008, allocations: 0 / 1.007 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.3012, allocations: 267.5 kB / 1.007 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.3013, allocations: 8 kB / 1.007 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007968/0.3021, allocations: 115.8 kB / 1.007 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.3022, allocations: 24.39 kB / 1.007 GB, free: 1.496 MB / 0.6511 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.002784/0.305, allocations: 0.9063 MB / 1.008 GB, free: 0.582 MB / 0.6511 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.