Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 112.3 kB / 16.42 MB, free: 6.449 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.001162/0.001162, 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.313/1.313, allocations: 222.9 MB / 241.1 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.8055/0.8055, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.66 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.166, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05719/0.2232, allocations: 61.19 MB / 0.7201 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01741/0.2407, allocations: 11.98 MB / 0.7318 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002532/0.2433, allocations: 55.69 kB / 0.7319 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.2452, allocations: 0.6986 MB / 0.7326 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005625/0.2509, allocations: 2.064 MB / 0.7346 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.2541, allocations: 1.211 MB / 0.7358 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005119/0.2592, allocations: 3.086 MB / 0.7388 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.2618, allocations: 1.115 MB / 0.7399 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004584/0.2664, allocations: 1.356 MB / 0.7412 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.2685, allocations: 0.8952 MB / 0.7421 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004432/0.2689, allocations: 116 kB / 0.7422 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/0.2727, allocations: 1.462 MB / 0.7436 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.2732, allocations: 290.9 kB / 0.7439 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.2745, allocations: 0.6997 MB / 0.7446 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004458/0.279, allocations: 2.321 MB / 0.7468 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.279, allocations: 0 / 0.7468 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.279, allocations: 4 kB / 0.7468 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.921e-05/0.2791, allocations: 0 / 0.7468 GB, free: 1.395 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.3923/0.6714, allocations: 1.717 MB / 0.7485 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.6714, allocations: 9.5 kB / 0.7485 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.6734, allocations: 347.8 kB / 0.7489 GB, free: 86.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/0.6758, allocations: 1.158 MB / 0.75 GB, free: 85.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/0.6759, allocations: 63.3 kB / 0.75 GB, free: 85.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.676, allocations: 81.78 kB / 0.7501 GB, free: 85.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.678, allocations: 0.9645 MB / 0.7511 GB, free: 85.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.678, allocations: 9.344 kB / 0.7511 GB, free: 85.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.849e-05/0.6781, allocations: 32.03 kB / 0.7511 GB, free: 85.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.6781, allocations: 23.38 kB / 0.7511 GB, free: 85.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.6801, allocations: 0.8045 MB / 0.7519 GB, free: 85.37 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.006082/0.6862, allocations: 5.123 MB / 0.7569 GB, free: 81.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.6879, allocations: 0.5562 MB / 0.7575 GB, free: 81.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006447/0.6886, allocations: 263.2 kB / 0.7577 GB, free: 81.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.6898, allocations: 1.373 MB / 0.759 GB, free: 79.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.6898, allocations: 38.38 kB / 0.7591 GB, free: 79.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.926e-06/0.6898, allocations: 0 / 0.7591 GB, free: 79.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008786/0.6986, allocations: 1.763 MB / 0.7608 GB, free: 79.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.6987, allocations: 56.86 kB / 0.7609 GB, free: 79.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002328/0.701, allocations: 1.07 MB / 0.7619 GB, free: 78.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.7011, allocations: 42.12 kB / 0.7619 GB, free: 78.61 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.7016, allocations: 0.5318 MB / 0.7625 GB, free: 78.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.7017, allocations: 152.8 kB / 0.7626 GB, free: 78.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.702, allocations: 132.1 kB / 0.7627 GB, free: 78.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.702, allocations: 333.3 kB / 0.7631 GB, free: 77.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008043/0.7029, allocations: 275.9 kB / 0.7633 GB, free: 77.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009255/0.7038, allocations: 0.4974 MB / 0.7638 GB, free: 77.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.7052, allocations: 0.6658 MB / 0.7645 GB, free: 76.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.7053, allocations: 6.188 kB / 0.7645 GB, free: 76.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002725/0.708, allocations: 0.9458 MB / 0.7654 GB, free: 76.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.708, allocations: 6.875 kB / 0.7654 GB, free: 76.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.708, allocations: 6.25 kB / 0.7654 GB, free: 76.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.7094, allocations: 306.1 kB / 0.7657 GB, free: 76.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.7099, allocations: 119.2 kB / 0.7658 GB, free: 76.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.7113, allocations: 0.9038 MB / 0.7667 GB, free: 75.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.7126, allocations: 146.9 kB / 0.7668 GB, free: 75.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.096e-05/0.7127, allocations: 30.45 kB / 0.7669 GB, free: 75.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001105/0.7138, allocations: 487 kB / 0.7673 GB, free: 75.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00102/0.7148, allocations: 0.496 MB / 0.7678 GB, free: 75.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001546/0.7164, allocations: 0.648 MB / 0.7684 GB, free: 74.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.004e-05/0.7164, allocations: 2.172 kB / 0.7684 GB, free: 74.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003107/0.7195, allocations: 0.951 MB / 0.7694 GB, free: 74.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.7196, allocations: 7.625 kB / 0.7694 GB, free: 74.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.7196, allocations: 5.391 kB / 0.7694 GB, free: 74.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.7208, allocations: 296.8 kB / 0.7697 GB, free: 74.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.7213, allocations: 118.6 kB / 0.7698 GB, free: 74.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.7227, allocations: 0.896 MB / 0.7706 GB, free: 73.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.724, allocations: 134.1 kB / 0.7708 GB, free: 73.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/0.724, allocations: 34.66 kB / 0.7708 GB, free: 73.57 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.0002554/0.7243, allocations: 220 kB / 0.771 GB, free: 73.37 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.7245, allocations: 109.5 kB / 0.7711 GB, free: 73.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/0.7281, allocations: 1.048 MB / 0.7721 GB, free: 72.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.7281, allocations: 9.109 kB / 0.7722 GB, free: 72.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.7281, allocations: 0 / 0.7722 GB, free: 72.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.7285, allocations: 264.1 kB / 0.7724 GB, free: 72.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.7286, allocations: 7.953 kB / 0.7724 GB, free: 72.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.7293, allocations: 58.84 kB / 0.7725 GB, free: 72.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/0.7294, allocations: 30.3 kB / 0.7725 GB, free: 72.66 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.00244/0.7318, allocations: 0.7268 MB / 0.7732 GB, free: 72.29 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity could not be translated