Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, allocations: 251.1 MB / 266.7 MB, free: 11.59 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.001332/0.001331, allocations: 196.5 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.254/2.254, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0009311/0.0009309, allocations: 88.55 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004839, allocations: 12.62 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2065, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06764/0.2742, allocations: 56.55 MB / 0.9547 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02037/0.2946, allocations: 11.09 MB / 0.9655 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.2969, allocations: 51.62 kB / 0.9656 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.2995, allocations: 456.9 kB / 0.966 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006867/0.3064, allocations: 1.523 MB / 0.9675 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.3107, allocations: 0.8717 MB / 0.9684 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.321, allocations: 3.419 MB / 0.9717 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003487/0.3245, allocations: 0.8484 MB / 0.9725 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005263/0.3298, allocations: 1.034 MB / 0.9736 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.3333, allocations: 0.8166 MB / 0.9743 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005382/0.3339, allocations: 44 kB / 0.9744 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00613/0.34, allocations: 1.103 MB / 0.9755 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0008004/0.3409, allocations: 207 kB / 0.9757 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000963/0.3419, allocations: 281 kB / 0.9759 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.3475, allocations: 1.633 MB / 0.9775 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.329e-05/0.3476, allocations: 0 / 0.9775 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3476, allocations: 4 kB / 0.9775 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.736e-05/0.3477, allocations: 0 / 0.9775 GB, free: 1.379 MB / 0.6198 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.006969/0.3547, allocations: 1.516 MB / 0.979 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.3548, allocations: 8.031 kB / 0.979 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004664/0.3595, allocations: 391 kB / 0.9794 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005498/0.365, allocations: 1.079 MB / 0.9804 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001081/0.3662, allocations: 133.9 kB / 0.9806 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/0.3666, allocations: 80 kB / 0.9807 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005244/0.3719, allocations: 0.9605 MB / 0.9816 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/0.372, allocations: 11.88 kB / 0.9816 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/0.3722, allocations: 28 kB / 0.9816 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.3722, allocations: 20 kB / 0.9816 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006385/0.3786, allocations: 0.8587 MB / 0.9825 GB, free: 12.15 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.01623/0.3949, allocations: 4.545 MB / 0.9869 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004666/0.3997, allocations: 0.6454 MB / 0.9876 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.4017, allocations: 298 kB / 0.9878 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00336/0.4051, allocations: 1.393 MB / 0.9892 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.862e-05/0.4052, allocations: 39 kB / 0.9892 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 5.881e-06/0.4052, allocations: 3.938 kB / 0.9892 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.02232/0.4276, allocations: 1.904 MB / 0.9911 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.4277, allocations: 59.78 kB / 0.9912 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003998/0.4317, allocations: 1.051 MB / 0.9922 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002299/0.432, allocations: 37.7 kB / 0.9922 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009175/0.433, allocations: 0.5158 MB / 0.9927 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/0.4334, allocations: 165.6 kB / 0.9929 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.4335, allocations: 12 kB / 0.9929 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.4337, allocations: 326 kB / 0.9932 GB, free: 480 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/0.4362, allocations: 292.9 kB / 0.9935 GB, free: 188 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002868/0.4391, allocations: 0.4923 MB / 0.994 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.4417, allocations: 340.6 kB / 0.9943 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.4418, allocations: 0 / 0.9943 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.01029/0.4521, allocations: 1.171 MB / 0.9954 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.4524, allocations: 196.2 kB / 0.9956 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.4525, allocations: 4 kB / 0.9956 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003449/0.4559, allocations: 330.8 kB / 0.9959 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.4576, allocations: 127.8 kB / 0.9961 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/0.4617, allocations: 0.9308 MB / 0.997 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/0.4654, allocations: 184.4 kB / 0.9971 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.4657, allocations: 31.92 kB / 0.9972 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4658, allocations: 7.938 kB / 0.9972 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009461/0.4752, allocations: 1.03 MB / 0.9982 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.4753, allocations: 4 kB / 0.9982 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/0.4785, allocations: 320.9 kB / 0.9985 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.4801, allocations: 123.8 kB / 0.9986 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004/0.4842, allocations: 0.9371 MB / 0.9995 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/0.4874, allocations: 163.3 kB / 0.9997 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/0.4877, allocations: 27.98 kB / 0.9997 GB, free: 9.598 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 (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.001145/0.4888, allocations: 348.9 kB / 1 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/0.4893, allocations: 114.7 kB / 1 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/0.4998, allocations: 1.198 MB / 1.001 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.4999, allocations: 0 / 1.001 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/0.5, allocations: 7.938 kB / 1.001 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/0.5012, allocations: 287.4 kB / 1.002 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.5015, allocations: 8 kB / 1.002 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/0.5038, allocations: 95.91 kB / 1.002 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.504, allocations: 28.39 kB / 1.002 GB, free: 7.488 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.007836/0.5119, allocations: 0.8614 MB / 1.003 GB, free: 6.621 MB / 0.6511 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.