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_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.593/1.593, allocations: 288.4 MB / 304.3 MB, free: 8.152 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.0009716/0.0009717, allocations: 185.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.359/1.359, allocations: 205.4 MB / 0.6316 GB, free: 9.879 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.0007496/0.0007495, allocations: 94.34 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 12.47 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1768, 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_etaPL): time 0.04785/0.2247, allocations: 56.56 MB / 1.036 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.2393, allocations: 11.12 MB / 1.047 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.2409, allocations: 59.56 kB / 1.047 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.2423, allocations: 464.9 kB / 1.047 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004318/0.2467, allocations: 1.623 MB / 1.049 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.2494, allocations: 0.8815 MB / 1.05 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004084/0.2534, allocations: 3.421 MB / 1.053 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.2547, allocations: 0.8903 MB / 1.054 GB, free: 120 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.2567, allocations: 1.096 MB / 1.055 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.2578, allocations: 0.8128 MB / 1.056 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.2579, allocations: 44 kB / 1.056 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.2602, allocations: 1.29 MB / 1.057 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.2605, allocations: 207 kB / 1.057 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.2611, allocations: 0.6081 MB / 1.058 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.2631, allocations: 1.711 MB / 1.06 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2631, allocations: 0 / 1.06 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2631, allocations: 3.938 kB / 1.06 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.2631, allocations: 0 / 1.06 GB, free: 10.32 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.002499/0.2656, allocations: 1.485 MB / 1.061 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2657, allocations: 12.03 kB / 1.061 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.2677, allocations: 474.8 kB / 1.062 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.2697, allocations: 1.14 MB / 1.063 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/0.27, allocations: 133.9 kB / 1.063 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.2701, allocations: 84 kB / 1.063 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.2721, allocations: 0.9956 MB / 1.064 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.2721, allocations: 4 kB / 1.064 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.2722, allocations: 32 kB / 1.064 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.2722, allocations: 19.94 kB / 1.064 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.2745, allocations: 0.9289 MB / 1.065 GB, free: 4.875 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.3656/0.6402, allocations: 4.634 MB / 1.069 GB, free: 90.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/0.6443, allocations: 0.9398 MB / 1.07 GB, free: 90.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000855/0.6452, allocations: 342.7 kB / 1.071 GB, free: 90.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.6457, allocations: 0.9068 MB / 1.071 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.6457, allocations: 44.91 kB / 1.071 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 2.785e-06/0.6457, allocations: 0 / 1.071 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.008874/0.6546, allocations: 2.214 MB / 1.074 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.6546, allocations: 57.19 kB / 1.074 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.6564, allocations: 1.05 MB / 1.075 GB, free: 88.87 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/0.6565, allocations: 34.36 kB / 1.075 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.6569, allocations: 0.515 MB / 1.075 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.657, allocations: 170 kB / 1.075 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.657, allocations: 10.22 kB / 1.075 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.6571, allocations: 330.2 kB / 1.076 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009479/0.6581, allocations: 337.3 kB / 1.076 GB, free: 88.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.6592, allocations: 0.5274 MB / 1.077 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.6609, allocations: 0.7292 MB / 1.077 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6609, allocations: 5.875 kB / 1.077 GB, free: 87.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002946/0.6638, allocations: 1.064 MB / 1.078 GB, free: 87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.504e-05/0.6639, allocations: 203.2 kB / 1.079 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6639, allocations: 3.781 kB / 1.079 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.6653, allocations: 332.4 kB / 1.079 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.6659, allocations: 134.2 kB / 1.079 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.6673, allocations: 0.9355 MB / 1.08 GB, free: 86.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.6687, allocations: 193.8 kB / 1.08 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/0.6688, allocations: 29.69 kB / 1.08 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.6688, allocations: 8.406 kB / 1.08 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002632/0.6714, allocations: 0.9415 MB / 1.081 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6714, allocations: 4.391 kB / 1.081 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.6726, allocations: 333.2 kB / 1.081 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.6732, allocations: 129.4 kB / 1.081 GB, free: 85.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.6746, allocations: 0.9344 MB / 1.082 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.676, allocations: 167.8 kB / 1.083 GB, free: 84.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/0.6761, allocations: 33.25 kB / 1.083 GB, free: 84.86 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.0005896/0.6767, allocations: 358.1 kB / 1.083 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.6769, allocations: 112.3 kB / 1.083 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/0.6809, allocations: 1.251 MB / 1.084 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6809, allocations: 8.094 kB / 1.084 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6809, allocations: 0 / 1.084 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.6814, allocations: 284.1 kB / 1.085 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.6815, allocations: 14.53 kB / 1.085 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008143/0.6823, allocations: 108.3 kB / 1.085 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/0.6824, allocations: 34.5 kB / 1.085 GB, free: 83.87 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.002868/0.6853, allocations: 0.9012 MB / 1.086 GB, free: 83.6 MB / 0.6823 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.