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.001104/0.001104, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001134/0.001134, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8189/0.8189, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 61 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1439, allocations: 80.21 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.05998/0.2039, allocations: 61.24 MB / 0.7202 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.2199, allocations: 12 MB / 0.7319 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002357/0.2223, allocations: 63.62 kB / 0.732 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.2242, allocations: 0.6987 MB / 0.7326 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006245/0.2305, allocations: 2.068 MB / 0.7347 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.2338, allocations: 1.207 MB / 0.7358 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004604/0.2384, allocations: 3.106 MB / 0.7389 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.2401, allocations: 1.112 MB / 0.74 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/0.2433, allocations: 1.383 MB / 0.7413 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.2446, allocations: 0.8983 MB / 0.7422 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.2448, allocations: 116 kB / 0.7423 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.2474, allocations: 1.439 MB / 0.7437 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.2477, allocations: 302.8 kB / 0.744 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006936/0.2484, allocations: 0.6997 MB / 0.7447 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.2516, allocations: 2.32 MB / 0.7469 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2516, allocations: 4 kB / 0.7469 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2516, allocations: 3.938 kB / 0.7469 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.886e-05/0.2516, allocations: 0 / 0.7469 GB, free: 1.266 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.3906/0.6423, allocations: 1.796 MB / 0.7487 GB, free: 86.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.6423, allocations: 9.219 kB / 0.7487 GB, free: 86.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.6447, allocations: 417.8 kB / 0.7491 GB, free: 86.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.6473, allocations: 1.179 MB / 0.7503 GB, free: 86.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.6474, allocations: 65.02 kB / 0.7503 GB, free: 86.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.6475, allocations: 80.66 kB / 0.7504 GB, free: 86.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.6497, allocations: 1.021 MB / 0.7514 GB, free: 85.81 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.6497, allocations: 5.75 kB / 0.7514 GB, free: 85.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.6498, allocations: 31.47 kB / 0.7514 GB, free: 85.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.6498, allocations: 19.66 kB / 0.7514 GB, free: 85.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.6522, allocations: 0.8896 MB / 0.7523 GB, free: 85.5 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.006715/0.659, allocations: 5.243 MB / 0.7574 GB, free: 81.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/0.6624, allocations: 0.7843 MB / 0.7582 GB, free: 81.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008272/0.6632, allocations: 311 kB / 0.7585 GB, free: 81.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/0.6637, allocations: 0.9061 MB / 0.7594 GB, free: 80.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.6638, allocations: 39.66 kB / 0.7594 GB, free: 80.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.6638, allocations: 3.938 kB / 0.7594 GB, free: 80.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008705/0.6725, allocations: 1.894 MB / 0.7613 GB, free: 79.69 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.6725, allocations: 55.84 kB / 0.7613 GB, free: 79.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.6744, allocations: 1.087 MB / 0.7624 GB, free: 79.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-05/0.6745, allocations: 38.05 kB / 0.7624 GB, free: 79.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.6749, allocations: 0.5437 MB / 0.763 GB, free: 78.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.675, allocations: 161.3 kB / 0.7631 GB, free: 78.64 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.6753, allocations: 135.8 kB / 0.7632 GB, free: 78.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.6754, allocations: 335 kB / 0.7636 GB, free: 78.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009269/0.6763, allocations: 327.1 kB / 0.7639 GB, free: 78.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.6774, allocations: 0.5463 MB / 0.7644 GB, free: 77.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.6791, allocations: 0.7487 MB / 0.7651 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6791, allocations: 5.375 kB / 0.7651 GB, free: 77.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003483/0.6826, allocations: 1.177 MB / 0.7663 GB, free: 76.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.6826, allocations: 7.984 kB / 0.7663 GB, free: 76.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.6826, allocations: 6.344 kB / 0.7663 GB, free: 76.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.6838, allocations: 304 kB / 0.7666 GB, free: 76.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.6844, allocations: 140.1 kB / 0.7667 GB, free: 76.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.6856, allocations: 0.8989 MB / 0.7676 GB, free: 76.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.6869, allocations: 164.4 kB / 0.7678 GB, free: 76.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.687, allocations: 31.62 kB / 0.7678 GB, free: 76.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00122/0.6882, allocations: 0.5301 MB / 0.7683 GB, free: 75.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001062/0.6893, allocations: 0.5466 MB / 0.7688 GB, free: 75.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001501/0.6908, allocations: 0.734 MB / 0.7696 GB, free: 75.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/0.6908, allocations: 4.094 kB / 0.7696 GB, free: 75.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003334/0.6942, allocations: 1.168 MB / 0.7707 GB, free: 74.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.6942, allocations: 7.5 kB / 0.7707 GB, free: 74.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6942, allocations: 10.22 kB / 0.7707 GB, free: 74.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009754/0.6952, allocations: 296.1 kB / 0.771 GB, free: 74.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.6958, allocations: 136.2 kB / 0.7711 GB, free: 74.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.6969, allocations: 0.8933 MB / 0.772 GB, free: 73.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.6983, allocations: 135.7 kB / 0.7721 GB, free: 73.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.6984, allocations: 38.48 kB / 0.7722 GB, free: 73.64 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.0002249/0.6986, allocations: 221.5 kB / 0.7724 GB, free: 73.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.6988, allocations: 119.6 kB / 0.7725 GB, free: 73.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/0.7022, allocations: 1.124 MB / 0.7736 GB, free: 72.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.7023, allocations: 7.922 kB / 0.7736 GB, free: 72.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7023, allocations: 2.812 kB / 0.7736 GB, free: 72.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.7026, allocations: 266.6 kB / 0.7739 GB, free: 72.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.7028, allocations: 13.34 kB / 0.7739 GB, free: 72.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007267/0.7035, allocations: 74.97 kB / 0.7739 GB, free: 72.47 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.7036, allocations: 30.61 kB / 0.774 GB, free: 72.45 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.002516/0.7061, allocations: 0.784 MB / 0.7747 GB, free: 72.04 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