Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001313/0.001312, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.264/1.264, 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-master/package.mo): time 0.7627/0.7627, allocations: 135.1 MB / 426.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.7 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1318, allocations: 80.92 MB / 0.6653 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05539/0.1872, allocations: 61.19 MB / 0.7251 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01489/0.2021, allocations: 11.99 MB / 0.7368 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.2038, allocations: 59.62 kB / 0.7368 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.2055, allocations: 0.6908 MB / 0.7375 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004971/0.2106, allocations: 2.06 MB / 0.7395 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.2134, allocations: 1.217 MB / 0.7407 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003601/0.217, allocations: 3.094 MB / 0.7437 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.2186, allocations: 1.124 MB / 0.7448 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.2213, allocations: 1.369 MB / 0.7462 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.2227, allocations: 0.9179 MB / 0.7471 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.223, allocations: 124 kB / 0.7472 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.2256, allocations: 1.443 MB / 0.7486 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.2259, allocations: 298.9 kB / 0.7489 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.307/0.533, allocations: 0.6961 MB / 0.7496 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003976/0.537, allocations: 2.33 MB / 0.7518 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.537, allocations: 0 / 0.7518 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.537, allocations: 0 / 0.7518 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.471e-05/0.5371, allocations: 1.125 kB / 0.7518 GB, free: 23.19 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.003021/0.5401, allocations: 1.736 MB / 0.7535 GB, free: 22.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5401, allocations: 10.39 kB / 0.7535 GB, free: 22.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/0.5426, allocations: 455 kB / 0.754 GB, free: 22.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.5447, allocations: 1.18 MB / 0.7551 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.5448, allocations: 61.62 kB / 0.7552 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.5449, allocations: 84.5 kB / 0.7553 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.5471, allocations: 0.9975 MB / 0.7562 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.5471, allocations: 4 kB / 0.7562 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.169e-05/0.5472, allocations: 34.11 kB / 0.7563 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.78e-05/0.5473, allocations: 18.72 kB / 0.7563 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.5499, allocations: 0.9421 MB / 0.7572 GB, free: 21.73 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.006144/0.556, allocations: 4.665 MB / 0.7618 GB, free: 19.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/0.5604, allocations: 0.9849 MB / 0.7627 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.5615, allocations: 414.5 kB / 0.7631 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007596/0.5622, allocations: 1.012 MB / 0.7641 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.5623, allocations: 40.81 kB / 0.7641 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.936e-06/0.5623, allocations: 4 kB / 0.7641 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.009228/0.5715, allocations: 2.159 MB / 0.7663 GB, free: 17.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.5715, allocations: 61.34 kB / 0.7663 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.5727, allocations: 0.9479 MB / 0.7672 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.5728, allocations: 40.53 kB / 0.7673 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.5731, allocations: 0.4972 MB / 0.7678 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.5732, allocations: 186 kB / 0.7679 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.5735, allocations: 129.3 kB / 0.7681 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.388e-05/0.5735, allocations: 328.9 kB / 0.7684 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009893/0.5745, allocations: 358.4 kB / 0.7687 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.5756, allocations: 0.5133 MB / 0.7692 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.5775, allocations: 0.7524 MB / 0.77 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5776, allocations: 1.125 kB / 0.77 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002713/0.5803, allocations: 1.058 MB / 0.771 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.5803, allocations: 12.03 kB / 0.771 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5803, allocations: 2.375 kB / 0.771 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.5815, allocations: 300.1 kB / 0.7713 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.5821, allocations: 136.4 kB / 0.7714 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.5834, allocations: 0.8969 MB / 0.7723 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.5844, allocations: 122.5 kB / 0.7724 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/0.5845, allocations: 31.47 kB / 0.7724 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001253/0.5857, allocations: 0.5556 MB / 0.773 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001038/0.5868, allocations: 0.5075 MB / 0.7735 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001828/0.5886, allocations: 0.7502 MB / 0.7742 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.5886, allocations: 0 / 0.7742 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002663/0.5913, allocations: 1.043 MB / 0.7752 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5913, allocations: 9.812 kB / 0.7752 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.5913, allocations: 10.09 kB / 0.7753 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/0.5923, allocations: 296.7 kB / 0.7755 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.5929, allocations: 136 kB / 0.7757 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.5941, allocations: 0.8862 MB / 0.7765 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.5951, allocations: 117.6 kB / 0.7766 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.5952, allocations: 26.09 kB / 0.7767 GB, free: 14.86 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (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.0002084/0.5954, allocations: 213.9 kB / 0.7769 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.5956, allocations: 110.6 kB / 0.777 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/0.5999, allocations: 1.307 MB / 0.7783 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.5999, allocations: 4.078 kB / 0.7783 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5999, allocations: 4 kB / 0.7783 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.6003, allocations: 275.4 kB / 0.7785 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.6005, allocations: 9.812 kB / 0.7785 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007632/0.6013, allocations: 78.98 kB / 0.7786 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.6013, allocations: 35.52 kB / 0.7786 GB, free: 14.34 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.003068/0.6044, allocations: 0.8842 MB / 0.7795 GB, free: 14.21 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow could not be translated