Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001261/0.001261, allocations: 109.8 kB / 16.41 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.001312/0.001312, allocations: 188.3 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.266/1.266, 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-master/package.mo): time 0.7566/0.7566, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 65.53 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1376, allocations: 80.92 MB / 0.6653 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05421/0.1919, allocations: 61.25 MB / 0.7251 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.2075, allocations: 11.99 MB / 0.7369 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.2095, allocations: 59.69 kB / 0.7369 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.2113, allocations: 0.6947 MB / 0.7376 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005391/0.2167, allocations: 2.076 MB / 0.7396 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.2197, allocations: 1.216 MB / 0.7408 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004095/0.2238, allocations: 3.106 MB / 0.7438 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.2255, allocations: 1.112 MB / 0.7449 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003404/0.229, allocations: 1.381 MB / 0.7463 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.2307, allocations: 0.9043 MB / 0.7472 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003426/0.2311, allocations: 116 kB / 0.7473 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.2341, allocations: 1.439 MB / 0.7487 GB, free: 132 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3067/0.5408, allocations: 292.9 kB / 0.7489 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.5419, allocations: 0.6988 MB / 0.7496 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003727/0.5457, allocations: 2.32 MB / 0.7519 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5457, allocations: 1.406 kB / 0.7519 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5457, allocations: 0.5156 kB / 0.7519 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.5457, allocations: 1.375 kB / 0.7519 GB, free: 23.27 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.002989/0.5487, allocations: 1.749 MB / 0.7536 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.5488, allocations: 10.61 kB / 0.7536 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.5509, allocations: 406.6 kB / 0.754 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.553, allocations: 1.169 MB / 0.7551 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.5531, allocations: 63.38 kB / 0.7552 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5532, allocations: 82.75 kB / 0.7553 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.5553, allocations: 1.017 MB / 0.7563 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.5553, allocations: 0.8125 kB / 0.7563 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.5554, allocations: 35.72 kB / 0.7563 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.5555, allocations: 22.09 kB / 0.7563 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.5579, allocations: 0.884 MB / 0.7572 GB, free: 21.75 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.006438/0.5643, allocations: 5.236 MB / 0.7623 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003636/0.568, allocations: 0.7872 MB / 0.7631 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/0.5688, allocations: 312.1 kB / 0.7634 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004434/0.5692, allocations: 0.9001 MB / 0.7643 GB, free: 17.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.5693, allocations: 46.66 kB / 0.7643 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.504e-06/0.5693, allocations: 0 / 0.7643 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008723/0.578, allocations: 1.895 MB / 0.7662 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.578, allocations: 56.12 kB / 0.7662 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.5797, allocations: 1.084 MB / 0.7673 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.914e-05/0.5798, allocations: 36.2 kB / 0.7673 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/0.5802, allocations: 0.5459 MB / 0.7678 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.5803, allocations: 147 kB / 0.768 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.5805, allocations: 138.7 kB / 0.7681 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.5806, allocations: 333 kB / 0.7684 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009274/0.5815, allocations: 321.6 kB / 0.7687 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.5826, allocations: 0.5498 MB / 0.7693 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.5842, allocations: 0.7474 MB / 0.77 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.5842, allocations: 1.594 kB / 0.77 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003732/0.588, allocations: 1.17 MB / 0.7711 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.588, allocations: 7.469 kB / 0.7711 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.588, allocations: 5.938 kB / 0.7712 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.5892, allocations: 312.1 kB / 0.7715 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.5898, allocations: 133.6 kB / 0.7716 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.5911, allocations: 0.9065 MB / 0.7725 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.5925, allocations: 160.3 kB / 0.7726 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.519e-05/0.5926, allocations: 35.95 kB / 0.7727 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001288/0.5939, allocations: 0.5203 MB / 0.7732 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009751/0.5949, allocations: 0.5475 MB / 0.7737 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001574/0.5965, allocations: 0.7392 MB / 0.7744 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.458e-06/0.5965, allocations: 1.156 kB / 0.7744 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003575/0.6001, allocations: 1.165 MB / 0.7756 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6001, allocations: 6.719 kB / 0.7756 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.6001, allocations: 5.594 kB / 0.7756 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.6011, allocations: 293.1 kB / 0.7758 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.6017, allocations: 138.9 kB / 0.776 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.603, allocations: 0.893 MB / 0.7769 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.6044, allocations: 154 kB / 0.777 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.675e-05/0.6045, allocations: 28.17 kB / 0.777 GB, free: 13.87 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.0002537/0.6047, allocations: 215.1 kB / 0.7772 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.6049, allocations: 119.8 kB / 0.7773 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/0.6087, allocations: 1.128 MB / 0.7784 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.6087, allocations: 1.312 kB / 0.7784 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6087, allocations: 0 / 0.7784 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/0.6092, allocations: 267.9 kB / 0.7787 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.6094, allocations: 8.844 kB / 0.7787 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000763/0.6101, allocations: 75.58 kB / 0.7788 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.6102, allocations: 32.11 kB / 0.7788 GB, free: 13.35 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.00264/0.6129, allocations: 0.7871 MB / 0.7796 GB, free: 13.23 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