Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001321/0.001321, allocations: 115.2 kB / 16.42 MB, free: 6.492 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.001332/0.001332, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.258/1.258, 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.7726/0.7726, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 66.67 kB / 0.5863 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1332, allocations: 80.92 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05299/0.1862, allocations: 61.19 MB / 0.7251 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.2003, allocations: 11.98 MB / 0.7368 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.2018, allocations: 59.62 kB / 0.7369 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.2035, allocations: 0.6909 MB / 0.7375 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004601/0.2081, allocations: 2.068 MB / 0.7395 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.2108, allocations: 1.216 MB / 0.7407 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003879/0.2147, allocations: 3.082 MB / 0.7437 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.2165, allocations: 1.108 MB / 0.7448 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.2195, allocations: 1.366 MB / 0.7462 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.2212, allocations: 0.9044 MB / 0.747 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002992/0.2215, allocations: 112 kB / 0.7471 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.2243, allocations: 1.462 MB / 0.7486 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3624/0.5867, allocations: 287.7 kB / 0.7489 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.588, allocations: 0.6932 MB / 0.7495 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.592, allocations: 2.325 MB / 0.7518 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5921, allocations: 0 / 0.7518 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5921, allocations: 2.625 kB / 0.7518 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.134e-05/0.5921, allocations: 1.375 kB / 0.7518 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003136/0.5952, allocations: 1.719 MB / 0.7535 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.5953, allocations: 12.44 kB / 0.7535 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.597, allocations: 344.2 kB / 0.7538 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.5992, allocations: 1.164 MB / 0.755 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.159e-05/0.5992, allocations: 59.53 kB / 0.755 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.5994, allocations: 84.81 kB / 0.7551 GB, free: 21.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.6012, allocations: 0.9687 MB / 0.756 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.6013, allocations: 4.594 kB / 0.756 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/0.6014, allocations: 36.66 kB / 0.7561 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.6014, allocations: 22.09 kB / 0.7561 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.6034, allocations: 0.7944 MB / 0.7569 GB, free: 21.76 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.006028/0.6094, allocations: 5.135 MB / 0.7619 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.6111, allocations: 0.5505 MB / 0.7624 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.6118, allocations: 269.5 kB / 0.7627 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.6129, allocations: 1.367 MB / 0.764 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.613, allocations: 37.73 kB / 0.7641 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.965e-06/0.613, allocations: 2.625 kB / 0.7641 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008214/0.6212, allocations: 1.76 MB / 0.7658 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.6212, allocations: 55.73 kB / 0.7658 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.6232, allocations: 1.085 MB / 0.7669 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/0.6233, allocations: 37.36 kB / 0.7669 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.6237, allocations: 0.5295 MB / 0.7674 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.6238, allocations: 148.5 kB / 0.7676 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.624, allocations: 133.5 kB / 0.7677 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.6241, allocations: 332.6 kB / 0.768 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.6249, allocations: 276.4 kB / 0.7683 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008635/0.6257, allocations: 0.4948 MB / 0.7688 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.6271, allocations: 0.6596 MB / 0.7694 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.6271, allocations: 1.031 kB / 0.7694 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002491/0.6296, allocations: 0.9549 MB / 0.7704 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.6296, allocations: 7.203 kB / 0.7704 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.6296, allocations: 9.438 kB / 0.7704 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.6309, allocations: 301.9 kB / 0.7707 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.6314, allocations: 122.2 kB / 0.7708 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.6326, allocations: 0.8954 MB / 0.7716 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.6338, allocations: 146.8 kB / 0.7718 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.6339, allocations: 33.56 kB / 0.7718 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001083/0.635, allocations: 491.9 kB / 0.7723 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007998/0.6358, allocations: 0.4982 MB / 0.7728 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001241/0.6371, allocations: 0.6537 MB / 0.7734 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.918e-06/0.6371, allocations: 3.812 kB / 0.7734 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002246/0.6393, allocations: 0.9395 MB / 0.7743 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.6394, allocations: 7.625 kB / 0.7743 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6394, allocations: 5.188 kB / 0.7743 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009747/0.6403, allocations: 293.4 kB / 0.7746 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.6408, allocations: 118.9 kB / 0.7747 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.642, allocations: 0.9011 MB / 0.7756 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.6432, allocations: 124.2 kB / 0.7757 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.6432, allocations: 30.94 kB / 0.7758 GB, free: 13.5 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.0002122/0.6435, allocations: 221.9 kB / 0.776 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.6436, allocations: 118.5 kB / 0.7761 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/0.6471, allocations: 1.053 MB / 0.7771 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.6471, allocations: 3.094 kB / 0.7771 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6471, allocations: 1.406 kB / 0.7771 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.6475, allocations: 258.3 kB / 0.7774 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.6477, allocations: 5.938 kB / 0.7774 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006706/0.6484, allocations: 61.8 kB / 0.7774 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.6484, allocations: 31.09 kB / 0.7775 GB, free: 12.98 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.002349/0.6508, allocations: 0.7302 MB / 0.7782 GB, free: 12.86 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