Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 288.4 MB / 304.3 MB, free: 8.027 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.0009594/0.0009595, allocations: 188.8 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.44/1.44, allocations: 205.4 MB / 0.6316 GB, free: 9.93 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.0008313/0.0008313, allocations: 104.6 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0003999, allocations: 12.53 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1866, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.0447/0.2313, allocations: 56.56 MB / 1.036 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.2475, allocations: 11.12 MB / 1.047 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.2496, allocations: 59.62 kB / 1.047 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.2512, allocations: 464.9 kB / 1.047 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004708/0.2559, allocations: 1.618 MB / 1.049 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.2588, allocations: 0.8893 MB / 1.05 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004373/0.2632, allocations: 3.422 MB / 1.053 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.2647, allocations: 0.8903 MB / 1.054 GB, free: 120 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.2672, allocations: 1.096 MB / 1.055 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.2685, allocations: 0.805 MB / 1.056 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.2686, allocations: 40 kB / 1.056 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.2712, allocations: 1.294 MB / 1.057 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.2715, allocations: 207 kB / 1.057 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008212/0.2723, allocations: 0.612 MB / 1.058 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.275, allocations: 1.703 MB / 1.06 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.275, allocations: 0 / 1.06 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.275, allocations: 0 / 1.06 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.356e-05/0.275, allocations: 0 / 1.06 GB, free: 10.34 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002871/0.2779, allocations: 1.505 MB / 1.061 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.278, allocations: 8.031 kB / 1.061 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.2796, allocations: 387 kB / 1.061 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.2817, allocations: 1.13 MB / 1.063 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.2821, allocations: 129.9 kB / 1.063 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.2823, allocations: 87.98 kB / 1.063 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.2842, allocations: 0.9566 MB / 1.064 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2842, allocations: 3.938 kB / 1.064 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-05/0.2843, allocations: 36 kB / 1.064 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.2843, allocations: 16 kB / 1.064 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.2865, allocations: 0.8664 MB / 1.065 GB, free: 5.074 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.006152/0.2927, allocations: 4.527 MB / 1.069 GB, free: 240 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3579/0.6506, allocations: 0.6253 MB / 1.07 GB, free: 91.26 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.6514, allocations: 298.4 kB / 1.07 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.6525, allocations: 1.396 MB / 1.071 GB, free: 89.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.6525, allocations: 39.06 kB / 1.071 GB, free: 89.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.975e-06/0.6525, allocations: 0 / 1.071 GB, free: 89.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.007836/0.6604, allocations: 1.907 MB / 1.073 GB, free: 89.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.6604, allocations: 59.11 kB / 1.073 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.662, allocations: 1.05 MB / 1.074 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.6621, allocations: 45.52 kB / 1.074 GB, free: 89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.6624, allocations: 0.5186 MB / 1.075 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.6626, allocations: 163.3 kB / 1.075 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.6626, allocations: 9.781 kB / 1.075 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.6627, allocations: 330.6 kB / 1.075 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008182/0.6635, allocations: 294 kB / 1.076 GB, free: 88.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000954/0.6645, allocations: 0.4934 MB / 1.076 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.6661, allocations: 0.659 MB / 1.077 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6661, allocations: 5.031 kB / 1.077 GB, free: 87.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004047/0.6701, allocations: 1.169 MB / 1.078 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.6703, allocations: 199 kB / 1.078 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.6703, allocations: 3.5 kB / 1.078 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/0.6717, allocations: 331.5 kB / 1.078 GB, free: 86.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/0.6723, allocations: 124.9 kB / 1.078 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.6739, allocations: 0.939 MB / 1.079 GB, free: 86.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.6753, allocations: 177.9 kB / 1.08 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/0.6754, allocations: 37.31 kB / 1.08 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.6754, allocations: 3.594 kB / 1.08 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003288/0.6787, allocations: 1.03 MB / 1.081 GB, free: 85.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.6788, allocations: 15.25 kB / 1.081 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.6799, allocations: 316.1 kB / 1.081 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.6804, allocations: 130.4 kB / 1.081 GB, free: 85.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.6818, allocations: 0.9291 MB / 1.082 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.6829, allocations: 157.8 kB / 1.082 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.683, allocations: 32.28 kB / 1.082 GB, free: 85.06 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005064/0.6835, allocations: 357.1 kB / 1.082 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.6836, allocations: 112.6 kB / 1.083 GB, free: 84.71 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/0.6876, allocations: 1.189 MB / 1.084 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6876, allocations: 2.766 kB / 1.084 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6877, allocations: 0 / 1.084 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.6881, allocations: 284.2 kB / 1.084 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.6883, allocations: 7.812 kB / 1.084 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/0.689, allocations: 100.8 kB / 1.084 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.6891, allocations: 32.95 kB / 1.084 GB, free: 84.09 MB / 0.6823 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.002793/0.6919, allocations: 0.8537 MB / 1.085 GB, free: 83.82 MB / 0.6823 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.