Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 107.4 kB / 16.37 MB, free: 6.262 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.001047/0.001047, allocations: 189.9 kB / 17.3 MB, free: 5.848 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.347/1.347, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.764/1.764, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001523/0.001523, allocations: 71.89 kB / 0.6729 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2012, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3991/0.6004, allocations: 61.24 MB / 0.8446 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.6153, allocations: 11.91 MB / 0.8562 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.6176, allocations: 55.62 kB / 0.8563 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.6195, allocations: 0.6807 MB / 0.8569 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005852/0.6254, allocations: 1.946 MB / 0.8588 GB, free: 14.72 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.6288, allocations: 1.22 MB / 0.86 GB, free: 14.06 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004651/0.6335, allocations: 3.073 MB / 0.863 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.6353, allocations: 1.111 MB / 0.8641 GB, free: 12.05 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.6389, allocations: 1.339 MB / 0.8654 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.6406, allocations: 0.9072 MB / 0.8663 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.6408, allocations: 115.9 kB / 0.8664 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.6443, allocations: 1.464 MB / 0.8678 GB, free: 10.48 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.6447, allocations: 306.9 kB / 0.8681 GB, free: 10.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008829/0.6456, allocations: 0.6954 MB / 0.8688 GB, free: 9.84 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004186/0.6498, allocations: 2.329 MB / 0.8711 GB, free: 8.609 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.6498, allocations: 0 / 0.8711 GB, free: 8.609 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6498, allocations: 1.031 kB / 0.8711 GB, free: 8.609 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.283e-05/0.6498, allocations: 0 / 0.8711 GB, free: 8.609 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003495/0.6533, allocations: 1.742 MB / 0.8728 GB, free: 7.262 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.6534, allocations: 8.125 kB / 0.8728 GB, free: 7.262 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.6552, allocations: 345.3 kB / 0.8731 GB, free: 7.105 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.6574, allocations: 1.167 MB / 0.8743 GB, free: 6.176 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.6575, allocations: 60.41 kB / 0.8743 GB, free: 6.148 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.6576, allocations: 79.47 kB / 0.8744 GB, free: 6.125 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.6596, allocations: 0.9686 MB / 0.8754 GB, free: 5.484 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.6596, allocations: 1.281 kB / 0.8754 GB, free: 5.484 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.6597, allocations: 32.19 kB / 0.8754 GB, free: 5.461 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.6597, allocations: 22.72 kB / 0.8754 GB, free: 5.457 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.6618, allocations: 0.8198 MB / 0.8762 GB, free: 5.055 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.006244/0.668, allocations: 4.867 MB / 0.881 GB, free: 0.707 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.6697, allocations: 0.5973 MB / 0.8815 GB, free: 420 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.6704, allocations: 280.6 kB / 0.8818 GB, free: 284 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.6718, allocations: 1.375 MB / 0.8832 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.6718, allocations: 37.88 kB / 0.8832 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.595e-06/0.6718, allocations: 0 / 0.8832 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007594/0.6794, allocations: 1.674 MB / 0.8848 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.6795, allocations: 56.72 kB / 0.8849 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.6813, allocations: 1.078 MB / 0.8859 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.813e-05/0.6814, allocations: 38.36 kB / 0.886 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004601/0.6819, allocations: 0.5212 MB / 0.8865 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.6821, allocations: 167.2 kB / 0.8866 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.6823, allocations: 141.8 kB / 0.8868 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6825, allocations: 334.9 kB / 0.8871 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008267/0.6833, allocations: 286.3 kB / 0.8874 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.6843, allocations: 0.5026 MB / 0.8879 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.6859, allocations: 0.6711 MB / 0.8885 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6859, allocations: 5.391 kB / 0.8885 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003564/0.6895, allocations: 1.125 MB / 0.8896 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6895, allocations: 6.688 kB / 0.8896 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.6895, allocations: 3.969 kB / 0.8896 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.6907, allocations: 298.3 kB / 0.8899 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.6913, allocations: 128.6 kB / 0.89 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.6927, allocations: 0.9041 MB / 0.8909 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.694, allocations: 144.3 kB / 0.8911 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/0.6941, allocations: 31.33 kB / 0.8911 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001169/0.6953, allocations: 0.489 MB / 0.8916 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009713/0.6963, allocations: 0.5062 MB / 0.8921 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001452/0.6977, allocations: 0.6666 MB / 0.8927 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.931e-06/0.6978, allocations: 5.016 kB / 0.8927 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003368/0.7011, allocations: 1.105 MB / 0.8938 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.7012, allocations: 7.312 kB / 0.8938 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.7012, allocations: 5.375 kB / 0.8938 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.7022, allocations: 303.9 kB / 0.8941 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.7028, allocations: 124.7 kB / 0.8942 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.7041, allocations: 0.8907 MB / 0.8951 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.7054, allocations: 130 kB / 0.8952 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/0.7055, allocations: 35.2 kB / 0.8952 GB, free: 6.84 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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.0002357/0.7058, allocations: 216.4 kB / 0.8954 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.706, allocations: 119 kB / 0.8956 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/0.7097, allocations: 1.1 MB / 0.8966 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.7097, allocations: 3.984 kB / 0.8966 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.7097, allocations: 0 / 0.8966 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.7101, allocations: 258.2 kB / 0.8969 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.7103, allocations: 10.75 kB / 0.8969 GB, free: 5.727 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007013/0.711, allocations: 63.55 kB / 0.897 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.7111, allocations: 31.52 kB / 0.897 GB, free: 5.68 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.002612/0.7137, allocations: 0.7462 MB / 0.8977 GB, free: 5.277 MB / 0.6856 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity could not be translated