Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001361/0.001361, allocations: 113 kB / 17.09 MB, free: 5.949 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.001389/0.001389, allocations: 198.8 kB / 18.03 MB, free: 5.031 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.257/1.257, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6871/0.6871, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.33 kB / 0.5584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1255, allocations: 76.19 MB / 0.6328 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05561/0.1812, allocations: 61.16 MB / 0.6925 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01572/0.1969, allocations: 12 MB / 0.7042 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.1988, allocations: 59.62 kB / 0.7043 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.2007, allocations: 0.683 MB / 0.7049 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004722/0.2054, allocations: 1.961 MB / 0.7068 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.2081, allocations: 1.21 MB / 0.708 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003585/0.2117, allocations: 3.091 MB / 0.711 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.2133, allocations: 1.1 MB / 0.7121 GB, free: 2.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.2161, allocations: 1.354 MB / 0.7134 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.2176, allocations: 0.8983 MB / 0.7143 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.2178, allocations: 116 kB / 0.7144 GB, free: 460 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.2203, allocations: 1.454 MB / 0.7159 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.2206, allocations: 294.8 kB / 0.7161 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006706/0.2213, allocations: 0.6958 MB / 0.7168 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.224, allocations: 2.306 MB / 0.7191 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.2241, allocations: 4 kB / 0.7191 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2241, allocations: 0 / 0.7191 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.2241, allocations: 0 / 0.7191 GB, free: 11.69 MB / 0.5606 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.002673/0.2268, allocations: 1.726 MB / 0.7208 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2268, allocations: 8.031 kB / 0.7208 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.2284, allocations: 343 kB / 0.7211 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.2304, allocations: 1.16 MB / 0.7222 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/0.2304, allocations: 66 kB / 0.7223 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.2306, allocations: 83.94 kB / 0.7224 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.2323, allocations: 0.9625 MB / 0.7233 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.2323, allocations: 11.94 kB / 0.7233 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/0.2324, allocations: 32 kB / 0.7233 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.2324, allocations: 20 kB / 0.7234 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.2344, allocations: 0.8001 MB / 0.7241 GB, free: 6.312 MB / 0.5606 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.005507/0.2399, allocations: 5.129 MB / 0.7292 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.2413, allocations: 0.5696 MB / 0.7297 GB, free: 236 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/0.2419, allocations: 260.7 kB / 0.73 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.2431, allocations: 1.365 MB / 0.7313 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.2431, allocations: 38.56 kB / 0.7313 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.405e-06/0.2431, allocations: 3.938 kB / 0.7313 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007753/0.2509, allocations: 1.762 MB / 0.7331 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.2509, allocations: 55.41 kB / 0.7331 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.2524, allocations: 1.079 MB / 0.7342 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.2525, allocations: 37.7 kB / 0.7342 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/0.2529, allocations: 0.531 MB / 0.7347 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.253, allocations: 157.8 kB / 0.7349 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.2532, allocations: 134.2 kB / 0.735 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.2533, allocations: 330 kB / 0.7353 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007243/0.254, allocations: 275.3 kB / 0.7356 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009032/0.255, allocations: 0.4978 MB / 0.7361 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.2564, allocations: 0.6558 MB / 0.7367 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.2564, allocations: 4 kB / 0.7367 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002367/0.2588, allocations: 0.9538 MB / 0.7376 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2588, allocations: 8 kB / 0.7376 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2588, allocations: 7.938 kB / 0.7376 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.26, allocations: 304.7 kB / 0.7379 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.2605, allocations: 119.8 kB / 0.7381 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.2619, allocations: 0.8944 MB / 0.7389 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.263, allocations: 155 kB / 0.7391 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.2631, allocations: 31.98 kB / 0.7391 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001094/0.2642, allocations: 493.2 kB / 0.7396 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008924/0.2651, allocations: 497.8 kB / 0.74 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001362/0.2665, allocations: 0.6549 MB / 0.7407 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.58e-06/0.2665, allocations: 0 / 0.7407 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002511/0.269, allocations: 0.9383 MB / 0.7416 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.269, allocations: 8 kB / 0.7416 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.2691, allocations: 7.984 kB / 0.7416 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.2701, allocations: 296.7 kB / 0.7419 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.2706, allocations: 119.8 kB / 0.742 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.272, allocations: 0.9023 MB / 0.7429 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.2731, allocations: 127.5 kB / 0.743 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.2732, allocations: 31.98 kB / 0.7431 GB, free: 1.762 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.0002154/0.2734, allocations: 231.5 kB / 0.7433 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.2737, allocations: 110.7 kB / 0.7434 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.2772, allocations: 1.047 MB / 0.7444 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2773, allocations: 4 kB / 0.7444 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2773, allocations: 0 / 0.7444 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.2777, allocations: 259.5 kB / 0.7447 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.2778, allocations: 7.938 kB / 0.7447 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007138/0.2786, allocations: 67.86 kB / 0.7447 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2734/0.552, allocations: 26.05 kB / 0.7447 GB, free: 109.4 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.002908/0.5549, allocations: 0.7214 MB / 0.7455 GB, free: 109.3 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity could not be translated