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.001074/0.001074, allocations: 112.4 kB / 16.42 MB, free: 6.441 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.001076/0.001076, allocations: 189.6 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7803/0.7803, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.5 kB / 0.582 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1616, allocations: 80.21 MB / 0.6604 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.057/0.2186, allocations: 61.2 MB / 0.7201 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.2356, allocations: 11.99 MB / 0.7318 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/0.2383, allocations: 55.69 kB / 0.7319 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002345/0.2407, allocations: 0.6986 MB / 0.7326 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006413/0.2472, allocations: 2.064 MB / 0.7346 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.2507, allocations: 1.207 MB / 0.7358 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005096/0.2559, allocations: 3.094 MB / 0.7388 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.2582, allocations: 1.096 MB / 0.7399 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003936/0.2622, allocations: 1.37 MB / 0.7412 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.2642, allocations: 0.9023 MB / 0.7421 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004286/0.2646, allocations: 112 kB / 0.7422 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.2682, allocations: 1.458 MB / 0.7436 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005477/0.2688, allocations: 294.9 kB / 0.7439 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.2703, allocations: 0.6919 MB / 0.7446 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004751/0.2751, allocations: 2.318 MB / 0.7468 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.2751, allocations: 7.984 kB / 0.7468 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2752, allocations: 0 / 0.7468 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.331e-05/0.2752, allocations: 4 kB / 0.7468 GB, free: 1.477 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.385/0.6602, allocations: 1.718 MB / 0.7485 GB, free: 86.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.6603, allocations: 9 kB / 0.7485 GB, free: 86.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.6628, allocations: 411.2 kB / 0.7489 GB, free: 86.39 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.6655, allocations: 1.159 MB / 0.75 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-05/0.6656, allocations: 63.94 kB / 0.7501 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.6657, allocations: 78.47 kB / 0.7502 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.668, allocations: 1.005 MB / 0.7512 GB, free: 85.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.668, allocations: 5.062 kB / 0.7512 GB, free: 85.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.6681, allocations: 33.61 kB / 0.7512 GB, free: 85.62 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.6681, allocations: 19.19 kB / 0.7512 GB, free: 85.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.6705, allocations: 0.861 MB / 0.7521 GB, free: 85.34 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.006537/0.677, allocations: 5.22 MB / 0.7572 GB, free: 81.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003467/0.6805, allocations: 0.7892 MB / 0.7579 GB, free: 81.13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007602/0.6813, allocations: 302 kB / 0.7582 GB, free: 81.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004719/0.6817, allocations: 0.9043 MB / 0.7591 GB, free: 79.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.6818, allocations: 42.61 kB / 0.7591 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.955e-06/0.6818, allocations: 0 / 0.7591 GB, free: 79.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008998/0.6908, allocations: 1.865 MB / 0.761 GB, free: 79.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.6908, allocations: 56.83 kB / 0.761 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.6928, allocations: 1.076 MB / 0.7621 GB, free: 79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/0.6929, allocations: 38.55 kB / 0.7621 GB, free: 78.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.6932, allocations: 0.5273 MB / 0.7626 GB, free: 78.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.6933, allocations: 154.1 kB / 0.7628 GB, free: 78.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.6936, allocations: 139.7 kB / 0.7629 GB, free: 78.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.6936, allocations: 330.4 kB / 0.7632 GB, free: 78.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009177/0.6946, allocations: 316.5 kB / 0.7635 GB, free: 77.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.6956, allocations: 0.5238 MB / 0.764 GB, free: 77.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.6973, allocations: 0.7199 MB / 0.7647 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6973, allocations: 1.375 kB / 0.7647 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003608/0.7009, allocations: 1.136 MB / 0.7658 GB, free: 76.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.701, allocations: 7.594 kB / 0.7658 GB, free: 76.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.701, allocations: 5.828 kB / 0.7659 GB, free: 76.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.7023, allocations: 315 kB / 0.7662 GB, free: 76.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/0.7029, allocations: 125.5 kB / 0.7663 GB, free: 76.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.7043, allocations: 0.8989 MB / 0.7672 GB, free: 76.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.7056, allocations: 153.2 kB / 0.7673 GB, free: 75.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/0.7057, allocations: 29.75 kB / 0.7673 GB, free: 75.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001225/0.7069, allocations: 0.5198 MB / 0.7678 GB, free: 75.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001039/0.7079, allocations: 0.5273 MB / 0.7683 GB, free: 75.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001626/0.7096, allocations: 0.7012 MB / 0.769 GB, free: 74.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/0.7096, allocations: 1.219 kB / 0.769 GB, free: 74.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003333/0.7129, allocations: 1.132 MB / 0.7701 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.713, allocations: 12.25 kB / 0.7702 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.713, allocations: 9.094 kB / 0.7702 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.714, allocations: 301.1 kB / 0.7704 GB, free: 74.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.7146, allocations: 127.9 kB / 0.7706 GB, free: 74.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.716, allocations: 0.9006 MB / 0.7714 GB, free: 73.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.7175, allocations: 139.8 kB / 0.7716 GB, free: 73.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.7176, allocations: 27.44 kB / 0.7716 GB, free: 73.64 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.0003249/0.7179, allocations: 229 kB / 0.7718 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.7181, allocations: 115.7 kB / 0.7719 GB, free: 73.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.722, allocations: 1.091 MB / 0.773 GB, free: 72.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7221, allocations: 5.047 kB / 0.773 GB, free: 72.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7221, allocations: 7.938 kB / 0.773 GB, free: 72.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.7225, allocations: 257.8 kB / 0.7733 GB, free: 72.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.7226, allocations: 10.28 kB / 0.7733 GB, free: 72.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/0.7234, allocations: 68.8 kB / 0.7733 GB, free: 72.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.7235, allocations: 29.73 kB / 0.7734 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.002617/0.7261, allocations: 0.7676 MB / 0.7741 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_etaPL could not be translated