Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.172/2.172, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001378/0.001377, allocations: 179.9 kB / 326.3 MB, free: 2.859 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.438/2.438, 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.0009879/0.0009871, allocations: 77.31 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004705, allocations: 15.27 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2049, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.07512/0.2801, allocations: 56.55 MB / 0.9547 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.3011, allocations: 11.09 MB / 0.9656 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.3034, allocations: 51.62 kB / 0.9656 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002624/0.3061, allocations: 456.9 kB / 0.966 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007302/0.3134, allocations: 1.515 MB / 0.9675 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.318, allocations: 0.8706 MB / 0.9684 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006829/0.3248, allocations: 3.43 MB / 0.9717 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.3273, allocations: 0.8445 MB / 0.9725 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/0.3311, allocations: 1.03 MB / 0.9736 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.3336, allocations: 0.8127 MB / 0.9743 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003835/0.334, allocations: 40 kB / 0.9744 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004109/0.3382, allocations: 1.107 MB / 0.9755 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005767/0.3388, allocations: 211 kB / 0.9757 GB, free: 3.281 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000767/0.3396, allocations: 281 kB / 0.9759 GB, free: 3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004008/0.3436, allocations: 1.637 MB / 0.9775 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.3437, allocations: 0 / 0.9775 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.967e-06/0.3437, allocations: 3.938 kB / 0.9775 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.524e-05/0.3437, allocations: 0 / 0.9775 GB, free: 1.355 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.004945/0.3487, allocations: 1.505 MB / 0.979 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.3488, allocations: 12.03 kB / 0.979 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.353, allocations: 470.8 kB / 0.9795 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003721/0.3567, allocations: 1.094 MB / 0.9805 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007123/0.3575, allocations: 133.9 kB / 0.9807 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.3578, allocations: 76 kB / 0.9807 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.3615, allocations: 1.003 MB / 0.9817 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.3616, allocations: 0 / 0.9817 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.3617, allocations: 32 kB / 0.9817 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.3618, allocations: 20 kB / 0.9818 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004631/0.3664, allocations: 0.929 MB / 0.9827 GB, free: 11.94 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.01162/0.3781, allocations: 4.663 MB / 0.9872 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006732/0.3849, allocations: 0.9383 MB / 0.9881 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.3865, allocations: 351.5 kB / 0.9885 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009728/0.3875, allocations: 0.9029 MB / 0.9894 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.3876, allocations: 39 kB / 0.9894 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.808e-06/0.3876, allocations: 0 / 0.9894 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.01724/0.4049, allocations: 2.209 MB / 0.9916 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.405, allocations: 59.78 kB / 0.9916 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.4079, allocations: 1.051 MB / 0.9926 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.4081, allocations: 37.7 kB / 0.9927 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006935/0.4088, allocations: 0.5158 MB / 0.9932 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.4092, allocations: 169.6 kB / 0.9933 GB, free: 416 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.4093, allocations: 12 kB / 0.9934 GB, free: 404 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4094, allocations: 326 kB / 0.9937 GB, free: 72 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.4113, allocations: 332.9 kB / 0.994 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.4135, allocations: 0.5391 MB / 0.9945 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.4155, allocations: 368.6 kB / 0.9949 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.4155, allocations: 4 kB / 0.9949 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005472/0.421, allocations: 1.065 MB / 0.9959 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.4213, allocations: 204.3 kB / 0.9961 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.4213, allocations: 0 / 0.9961 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/0.4236, allocations: 337.5 kB / 0.9964 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4249, allocations: 131.8 kB / 0.9965 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.4277, allocations: 0.9482 MB / 0.9975 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.4303, allocations: 196.3 kB / 0.9977 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.4305, allocations: 31.92 kB / 0.9977 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4305, allocations: 4 kB / 0.9977 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004962/0.4355, allocations: 0.9401 MB / 0.9986 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.4356, allocations: 4 kB / 0.9986 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002078/0.4376, allocations: 320.8 kB / 0.9989 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.4389, allocations: 135.8 kB / 0.999 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.4416, allocations: 0.9331 MB / 1 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.4439, allocations: 175.2 kB / 1 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.4442, allocations: 27.98 kB / 1 GB, free: 9.219 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.0009169/0.4451, allocations: 349 kB / 1 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000396/0.4455, allocations: 110.6 kB / 1.001 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007527/0.453, allocations: 1.262 MB / 1.002 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/0.4531, allocations: 3.984 kB / 1.002 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4531, allocations: 4 kB / 1.002 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009403/0.4541, allocations: 287.4 kB / 1.002 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003292/0.4544, allocations: 11.98 kB / 1.002 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.4562, allocations: 111.8 kB / 1.002 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.4564, allocations: 36.33 kB / 1.002 GB, free: 7.023 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.005926/0.4624, allocations: 0.8928 MB / 1.003 GB, free: 6.125 MB / 0.6511 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.