Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.314/2.314, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001351/0.001351, allocations: 183.1 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.371/2.371, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.000965/0.0009644, allocations: 94.28 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 15.78 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2032, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06841/0.2717, allocations: 56.6 MB / 0.9548 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01968/0.2914, allocations: 11.1 MB / 0.9656 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.2937, allocations: 59.56 kB / 0.9657 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002393/0.2961, allocations: 460.8 kB / 0.9661 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00659/0.3027, allocations: 1.532 MB / 0.9676 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.307, allocations: 0.8706 MB / 0.9684 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006487/0.3135, allocations: 3.434 MB / 0.9718 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002237/0.3158, allocations: 0.8575 MB / 0.9726 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00344/0.3193, allocations: 1.038 MB / 0.9736 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/0.3216, allocations: 0.8205 MB / 0.9744 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003309/0.322, allocations: 44 kB / 0.9745 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.3259, allocations: 1.088 MB / 0.9756 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000531/0.3265, allocations: 207 kB / 0.9758 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008265/0.3273, allocations: 281 kB / 0.976 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004159/0.3315, allocations: 1.633 MB / 0.9776 GB, free: 1.285 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.3316, allocations: 4 kB / 0.9776 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3316, allocations: 0 / 0.9776 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.68e-05/0.3317, allocations: 0 / 0.9776 GB, free: 1.281 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006441/0.3381, allocations: 1.528 MB / 0.9791 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001003/0.3383, allocations: 8.031 kB / 0.9791 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/0.3425, allocations: 478.8 kB / 0.9796 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/0.3461, allocations: 1.106 MB / 0.9807 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007003/0.3469, allocations: 129.9 kB / 0.9808 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.3472, allocations: 80 kB / 0.9809 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.351, allocations: 1.027 MB / 0.9819 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.3511, allocations: 0 / 0.9819 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.3512, allocations: 32 kB / 0.9819 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.3512, allocations: 20 kB / 0.9819 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004749/0.356, allocations: 0.968 MB / 0.9829 GB, free: 11.77 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.01113/0.3672, allocations: 4.675 MB / 0.9874 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006773/0.374, allocations: 0.9486 MB / 0.9883 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.3758, allocations: 362.1 kB / 0.9887 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000948/0.3767, allocations: 0.9067 MB / 0.9896 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/0.3768, allocations: 39 kB / 0.9896 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.967e-06/0.3768, allocations: 3.938 kB / 0.9896 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.01727/0.3941, allocations: 2.256 MB / 0.9918 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.3942, allocations: 55.84 kB / 0.9919 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.397, allocations: 1.06 MB / 0.9929 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.3973, allocations: 41.64 kB / 0.9929 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/0.398, allocations: 0.5236 MB / 0.9935 GB, free: 308 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.3983, allocations: 173.6 kB / 0.9936 GB, free: 132 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.3984, allocations: 8 kB / 0.9936 GB, free: 124 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3986, allocations: 326 kB / 0.9939 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.4005, allocations: 352.9 kB / 0.9943 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.4028, allocations: 0.5534 MB / 0.9948 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.4049, allocations: 396.5 kB / 0.9952 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.405, allocations: 0 / 0.9952 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005642/0.4106, allocations: 1.109 MB / 0.9963 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.4108, allocations: 201 kB / 0.9965 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.4109, allocations: 4 kB / 0.9965 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.4132, allocations: 328.5 kB / 0.9968 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.4145, allocations: 151.8 kB / 0.9969 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/0.4172, allocations: 0.9404 MB / 0.9979 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002737/0.42, allocations: 199.2 kB / 0.998 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.4203, allocations: 31.98 kB / 0.9981 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4203, allocations: 8 kB / 0.9981 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005226/0.4256, allocations: 0.9751 MB / 0.999 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4256, allocations: 4.375 kB / 0.999 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/0.4277, allocations: 324.5 kB / 0.9993 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.429, allocations: 143.8 kB / 0.9995 GB, free: 9.938 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.4317, allocations: 0.9447 MB / 1 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.4342, allocations: 180.4 kB / 1.001 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/0.4344, allocations: 31.98 kB / 1.001 GB, free: 8.762 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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.0009035/0.4353, allocations: 353 kB / 1.001 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/0.4357, allocations: 110.6 kB / 1.001 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007778/0.4435, allocations: 1.321 MB / 1.002 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/0.4436, allocations: 0 / 1.002 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.4436, allocations: 0 / 1.002 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009044/0.4445, allocations: 283.4 kB / 1.003 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/0.4448, allocations: 12 kB / 1.003 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.4466, allocations: 115.8 kB / 1.003 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.4468, allocations: 32.39 kB / 1.003 GB, free: 6.516 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.006052/0.4528, allocations: 0.9196 MB / 1.004 GB, free: 5.594 MB / 0.6511 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.