Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 111.7 kB / 16.42 MB, free: 6.496 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.001982/0.001982, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.459/1.459, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8077/0.8077, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 62.88 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1481, allocations: 80.21 MB / 0.6604 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05743/0.2055, allocations: 61.19 MB / 0.7201 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.2211, allocations: 11.98 MB / 0.7318 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.2231, allocations: 63.62 kB / 0.7319 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.2248, allocations: 0.6986 MB / 0.7326 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006492/0.2314, allocations: 2.062 MB / 0.7346 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002993/0.2344, allocations: 1.209 MB / 0.7358 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003998/0.2384, allocations: 3.087 MB / 0.7388 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.24, allocations: 1.096 MB / 0.7399 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.2432, allocations: 1.377 MB / 0.7412 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.2448, allocations: 0.8984 MB / 0.7421 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003094/0.2451, allocations: 112 kB / 0.7422 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.2481, allocations: 1.454 MB / 0.7436 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004138/0.2485, allocations: 302.8 kB / 0.7439 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.2496, allocations: 0.6842 MB / 0.7446 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.2534, allocations: 2.336 MB / 0.7468 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2534, allocations: 0 / 0.7468 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2534, allocations: 0 / 0.7468 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.35e-05/0.2535, allocations: 0 / 0.7468 GB, free: 1.348 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.3441/0.5976, allocations: 1.768 MB / 0.7486 GB, free: 86.85 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.5977, allocations: 8.344 kB / 0.7486 GB, free: 86.85 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.6002, allocations: 423.3 kB / 0.749 GB, free: 86.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.6027, allocations: 1.167 MB / 0.7501 GB, free: 86.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-05/0.6028, allocations: 66.66 kB / 0.7502 GB, free: 86.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.6029, allocations: 78.97 kB / 0.7503 GB, free: 86.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.605, allocations: 1.004 MB / 0.7512 GB, free: 85.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.605, allocations: 5.344 kB / 0.7512 GB, free: 85.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.89e-05/0.6051, allocations: 35.53 kB / 0.7513 GB, free: 85.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.6051, allocations: 19.22 kB / 0.7513 GB, free: 85.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.6074, allocations: 0.8585 MB / 0.7521 GB, free: 85.49 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.0063/0.6137, allocations: 5.223 MB / 0.7572 GB, free: 81.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/0.6174, allocations: 0.7912 MB / 0.758 GB, free: 81.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007736/0.6182, allocations: 302.2 kB / 0.7583 GB, free: 81.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005004/0.6187, allocations: 0.909 MB / 0.7592 GB, free: 80.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.6187, allocations: 38 kB / 0.7592 GB, free: 80.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.827e-06/0.6187, allocations: 0.5 kB / 0.7592 GB, free: 80.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.009418/0.6282, allocations: 1.864 MB / 0.761 GB, free: 79.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.6282, allocations: 59.56 kB / 0.7611 GB, free: 79.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.6302, allocations: 1.08 MB / 0.7622 GB, free: 79.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/0.6303, allocations: 33.83 kB / 0.7622 GB, free: 79.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.6306, allocations: 0.5405 MB / 0.7627 GB, free: 78.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.6308, allocations: 164.3 kB / 0.7629 GB, free: 78.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.631, allocations: 140.8 kB / 0.763 GB, free: 78.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.6311, allocations: 329.5 kB / 0.7633 GB, free: 78.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000902/0.632, allocations: 308.5 kB / 0.7636 GB, free: 78.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.6331, allocations: 0.5352 MB / 0.7641 GB, free: 77.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.6347, allocations: 0.715 MB / 0.7648 GB, free: 77.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.6347, allocations: 5.375 kB / 0.7648 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003614/0.6383, allocations: 1.15 MB / 0.766 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.6384, allocations: 12.36 kB / 0.766 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6384, allocations: 4.688 kB / 0.766 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.6396, allocations: 307.2 kB / 0.7663 GB, free: 76.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.6402, allocations: 131.9 kB / 0.7664 GB, free: 76.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.6416, allocations: 0.8991 MB / 0.7673 GB, free: 76.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.6429, allocations: 153.8 kB / 0.7674 GB, free: 76.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.643, allocations: 31.2 kB / 0.7674 GB, free: 76.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001185/0.6442, allocations: 0.5122 MB / 0.7679 GB, free: 75.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001096/0.6453, allocations: 0.5361 MB / 0.7685 GB, free: 75.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001664/0.647, allocations: 0.7021 MB / 0.7692 GB, free: 75.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.534e-06/0.647, allocations: 1.094 kB / 0.7692 GB, free: 75.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003613/0.6506, allocations: 1.132 MB / 0.7703 GB, free: 74.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6506, allocations: 11.97 kB / 0.7703 GB, free: 74.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.6506, allocations: 9.203 kB / 0.7703 GB, free: 74.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.6517, allocations: 297.6 kB / 0.7706 GB, free: 74.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.6523, allocations: 131.4 kB / 0.7707 GB, free: 74.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.6536, allocations: 0.9015 MB / 0.7716 GB, free: 73.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.6552, allocations: 138 kB / 0.7717 GB, free: 73.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.123e-05/0.6553, allocations: 30.3 kB / 0.7717 GB, free: 73.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0004052/0.6557, allocations: 221.5 kB / 0.7719 GB, free: 73.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.656, allocations: 120.9 kB / 0.7721 GB, free: 73.53 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/0.66, allocations: 1.094 MB / 0.7731 GB, free: 72.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.66, allocations: 3.984 kB / 0.7731 GB, free: 72.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.66, allocations: 3.938 kB / 0.7731 GB, free: 72.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/0.6605, allocations: 265.7 kB / 0.7734 GB, free: 72.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.6607, allocations: 6.438 kB / 0.7734 GB, free: 72.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00073/0.6614, allocations: 69.11 kB / 0.7735 GB, free: 72.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/0.6615, allocations: 32.22 kB / 0.7735 GB, free: 72.63 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.002882/0.6644, allocations: 0.7698 MB / 0.7742 GB, free: 72.22 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL could not be translated