Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 113.5 kB / 16.42 MB, free: 6.512 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.00126/0.00126, allocations: 187.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8107/0.8107, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 68.34 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1644, allocations: 80.22 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06076/0.2252, allocations: 61.23 MB / 0.7202 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01675/0.242, allocations: 11.99 MB / 0.7319 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.2444, allocations: 59.62 kB / 0.7319 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.2467, allocations: 0.7026 MB / 0.7326 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005967/0.2527, allocations: 2.064 MB / 0.7346 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.2562, allocations: 1.215 MB / 0.7358 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004832/0.2611, allocations: 3.105 MB / 0.7389 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.2629, allocations: 1.112 MB / 0.74 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.2663, allocations: 1.375 MB / 0.7413 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.268, allocations: 0.9022 MB / 0.7422 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.2684, allocations: 116 kB / 0.7423 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.2717, allocations: 1.439 MB / 0.7437 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004024/0.2721, allocations: 302.8 kB / 0.744 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.2733, allocations: 0.6997 MB / 0.7447 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003961/0.2773, allocations: 2.318 MB / 0.7469 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2773, allocations: 3.938 kB / 0.7469 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2773, allocations: 0 / 0.7469 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.028e-05/0.2774, allocations: 0 / 0.7469 GB, free: 1.281 MB / 0.5762 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.3776/0.655, allocations: 1.739 MB / 0.7486 GB, free: 86.6 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.6551, allocations: 8.219 kB / 0.7486 GB, free: 86.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.6576, allocations: 413.5 kB / 0.749 GB, free: 86.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.6601, allocations: 1.17 MB / 0.7502 GB, free: 86.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/0.6602, allocations: 61.5 kB / 0.7502 GB, free: 86.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.6603, allocations: 80.75 kB / 0.7503 GB, free: 86.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.6625, allocations: 1.019 MB / 0.7513 GB, free: 85.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.6625, allocations: 9.562 kB / 0.7513 GB, free: 85.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.417e-05/0.6626, allocations: 31.62 kB / 0.7513 GB, free: 85.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.6626, allocations: 20 kB / 0.7514 GB, free: 85.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.665, allocations: 0.8885 MB / 0.7522 GB, free: 85.52 MB / 0.5762 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.006273/0.6713, allocations: 5.241 MB / 0.7574 GB, free: 81.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003639/0.675, allocations: 0.7841 MB / 0.7581 GB, free: 81.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/0.6758, allocations: 312 kB / 0.7584 GB, free: 81.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005419/0.6764, allocations: 0.9054 MB / 0.7593 GB, free: 80.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.6764, allocations: 37.12 kB / 0.7593 GB, free: 80.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.735e-06/0.6764, allocations: 0 / 0.7593 GB, free: 80.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.009337/0.6858, allocations: 1.893 MB / 0.7612 GB, free: 79.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.6858, allocations: 56.22 kB / 0.7612 GB, free: 79.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.6879, allocations: 1.082 MB / 0.7623 GB, free: 79.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-05/0.688, allocations: 39.56 kB / 0.7623 GB, free: 79.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.6883, allocations: 0.5427 MB / 0.7629 GB, free: 78.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.6885, allocations: 153 kB / 0.763 GB, free: 78.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.6887, allocations: 140.9 kB / 0.7631 GB, free: 78.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.6888, allocations: 331.1 kB / 0.7635 GB, free: 78.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000984/0.6898, allocations: 321.2 kB / 0.7638 GB, free: 78.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.6909, allocations: 0.5539 MB / 0.7643 GB, free: 77.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.6927, allocations: 0.7509 MB / 0.765 GB, free: 77.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.6927, allocations: 1.953 kB / 0.765 GB, free: 77.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003862/0.6966, allocations: 1.173 MB / 0.7662 GB, free: 76.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.6966, allocations: 6.594 kB / 0.7662 GB, free: 76.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.6966, allocations: 5.312 kB / 0.7662 GB, free: 76.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.6979, allocations: 310.6 kB / 0.7665 GB, free: 76.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.6986, allocations: 135.4 kB / 0.7666 GB, free: 76.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.7, allocations: 0.8948 MB / 0.7675 GB, free: 76.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.7014, allocations: 164.7 kB / 0.7677 GB, free: 76.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.7015, allocations: 36.28 kB / 0.7677 GB, free: 76.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001474/0.703, allocations: 0.5238 MB / 0.7682 GB, free: 75.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001273/0.7042, allocations: 0.5439 MB / 0.7687 GB, free: 75.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001707/0.706, allocations: 0.7357 MB / 0.7694 GB, free: 75.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.508e-06/0.706, allocations: 0.9062 kB / 0.7694 GB, free: 75.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003674/0.7097, allocations: 1.159 MB / 0.7706 GB, free: 74.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.7097, allocations: 7.312 kB / 0.7706 GB, free: 74.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.7097, allocations: 5.375 kB / 0.7706 GB, free: 74.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.7108, allocations: 303.1 kB / 0.7709 GB, free: 74.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.7114, allocations: 129.2 kB / 0.771 GB, free: 74.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.7127, allocations: 0.8969 MB / 0.7719 GB, free: 73.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.714, allocations: 142.5 kB / 0.772 GB, free: 73.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.7141, allocations: 31.61 kB / 0.772 GB, free: 73.65 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002561/0.7144, allocations: 228.3 kB / 0.7723 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.7147, allocations: 108.9 kB / 0.7724 GB, free: 73.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.7189, allocations: 1.126 MB / 0.7735 GB, free: 72.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.7189, allocations: 7.922 kB / 0.7735 GB, free: 72.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.7189, allocations: 0 / 0.7735 GB, free: 72.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/0.7195, allocations: 265.3 kB / 0.7737 GB, free: 72.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/0.7199, allocations: 14.53 kB / 0.7737 GB, free: 72.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009713/0.7208, allocations: 75.16 kB / 0.7738 GB, free: 72.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/0.7209, allocations: 29.83 kB / 0.7738 GB, free: 72.46 MB / 0.5762 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.002929/0.7239, allocations: 0.7757 MB / 0.7746 GB, free: 72.06 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature could not be translated