Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 105.3 kB / 18.05 MB, free: 4.289 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 193.8 kB / 21.17 MB, free: 1.18 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 249.7 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8568/0.8568, allocations: 137.4 MB / 442.1 MB, free: 14.19 MB / 350.1 MB [Timeout remaining time 89] 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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.91 kB / 0.6134 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4888/0.4907, allocations: 85.53 MB / 0.6969 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.0665/0.5572, allocations: 61.64 MB / 0.7571 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.5764, allocations: 12.01 MB / 0.7689 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.5785, allocations: 59.62 kB / 0.7689 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.5805, allocations: 0.7025 MB / 0.7696 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005533/0.586, allocations: 2.072 MB / 0.7716 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.5892, allocations: 1.219 MB / 0.7728 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004861/0.5941, allocations: 3.095 MB / 0.7758 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.5958, allocations: 0.9081 MB / 0.7767 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.5993, allocations: 1.378 MB / 0.7781 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.6011, allocations: 0.9296 MB / 0.779 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.6012, allocations: 112 kB / 0.7791 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.6043, allocations: 1.485 MB / 0.7805 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003472/0.6047, allocations: 302.7 kB / 0.7808 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008849/0.6056, allocations: 0.6958 MB / 0.7815 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004126/0.6097, allocations: 2.328 MB / 0.7838 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.6097, allocations: 3.984 kB / 0.7838 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.516e-06/0.6097, allocations: 0 / 0.7838 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.322e-05/0.6097, allocations: 0 / 0.7838 GB, free: 7.742 MB / 0.5919 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.003321/0.613, allocations: 1.775 MB / 0.7855 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6131, allocations: 13.7 kB / 0.7855 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/0.6152, allocations: 415.3 kB / 0.7859 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/0.6177, allocations: 1.168 MB / 0.7871 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.628e-05/0.6177, allocations: 62 kB / 0.7871 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.6178, allocations: 80 kB / 0.7872 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.62, allocations: 1.001 MB / 0.7882 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.62, allocations: 3.938 kB / 0.7882 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.327e-05/0.6201, allocations: 36 kB / 0.7882 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.6201, allocations: 20 kB / 0.7882 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.6224, allocations: 0.8586 MB / 0.7891 GB, free: 2.145 MB / 0.5919 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.007698/0.6301, allocations: 5.229 MB / 0.7942 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/0.6333, allocations: 0.7712 MB / 0.7949 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006995/0.634, allocations: 288.7 kB / 0.7952 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008266/0.6348, allocations: 0.9063 MB / 0.7961 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.6349, allocations: 34.56 kB / 0.7961 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 2.675e-06/0.6349, allocations: 0 / 0.7961 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.008082/0.643, allocations: 1.864 MB / 0.7979 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.643, allocations: 59.41 kB / 0.798 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.6448, allocations: 1.076 MB / 0.7991 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.001e-05/0.6449, allocations: 33.7 kB / 0.7991 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/0.6454, allocations: 0.5436 MB / 0.7996 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.6456, allocations: 158.6 kB / 0.7998 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.6458, allocations: 146.2 kB / 0.7999 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.646, allocations: 326 kB / 0.8002 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000849/0.6468, allocations: 307.3 kB / 0.8005 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.6479, allocations: 0.5407 MB / 0.801 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.6496, allocations: 0.7145 MB / 0.8017 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6496, allocations: 4 kB / 0.8017 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003544/0.6531, allocations: 1.142 MB / 0.8029 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6531, allocations: 8 kB / 0.8029 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.6531, allocations: 7.938 kB / 0.8029 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.6543, allocations: 312.6 kB / 0.8032 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005552/0.6549, allocations: 131.8 kB / 0.8033 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.6564, allocations: 0.8982 MB / 0.8042 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.6576, allocations: 151.5 kB / 0.8043 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/0.6577, allocations: 31.98 kB / 0.8043 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001206/0.6589, allocations: 0.5168 MB / 0.8048 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001036/0.6599, allocations: 0.5212 MB / 0.8054 GB, free: 500 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001617/0.6615, allocations: 0.7016 MB / 0.806 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.926e-06/0.6615, allocations: 0 / 0.806 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003488/0.665, allocations: 1.138 MB / 0.8072 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.665, allocations: 4 kB / 0.8072 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6651, allocations: 12 kB / 0.8072 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.6661, allocations: 300.7 kB / 0.8075 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.6666, allocations: 123.8 kB / 0.8076 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.6681, allocations: 0.8996 MB / 0.8085 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.6693, allocations: 143.7 kB / 0.8086 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.6694, allocations: 31.98 kB / 0.8086 GB, free: 13.04 MB / 0.6231 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.0002607/0.6697, allocations: 220 kB / 0.8088 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.6699, allocations: 115.2 kB / 0.8089 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.6735, allocations: 1.1 MB / 0.81 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6735, allocations: 3.984 kB / 0.81 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.6735, allocations: 0 / 0.81 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.674, allocations: 264.2 kB / 0.8103 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.6742, allocations: 11.94 kB / 0.8103 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.6749, allocations: 71.91 kB / 0.8104 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-05/0.675, allocations: 24.41 kB / 0.8104 GB, free: 11.2 MB / 0.6231 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.002644/0.6776, allocations: 0.7713 MB / 0.8111 GB, free: 10.42 MB / 0.6231 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 [Timeout remaining time 659]