Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) 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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 114.8 kB / 17.09 MB, free: 5.984 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.001063/0.001063, allocations: 198.8 kB / 18.03 MB, free: 5.055 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.367/1.367, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7865/0.7865, allocations: 126.1 MB / 417.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 64.44 kB / 0.5738 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1469, allocations: 78.69 MB / 0.6506 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.0647/0.2117, allocations: 61.19 MB / 0.7104 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.2308, allocations: 11.99 MB / 0.7221 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.2335, allocations: 59.62 kB / 0.7221 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.2359, allocations: 0.6909 MB / 0.7228 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005933/0.2419, allocations: 2.076 MB / 0.7248 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003274/0.2452, allocations: 1.216 MB / 0.726 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004672/0.2498, allocations: 3.079 MB / 0.729 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.2517, allocations: 1.104 MB / 0.7301 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003451/0.2552, allocations: 1.362 MB / 0.7314 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.257, allocations: 0.8984 MB / 0.7323 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003957/0.2574, allocations: 116 kB / 0.7324 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.2608, allocations: 1.462 MB / 0.7339 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005319/0.2614, allocations: 290.8 kB / 0.7341 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.2628, allocations: 0.692 MB / 0.7348 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004481/0.2673, allocations: 2.308 MB / 0.7371 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2673, allocations: 0 / 0.7371 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2673, allocations: 0 / 0.7371 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.783e-05/0.2674, allocations: 0 / 0.7371 GB, free: 11.26 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.00398/0.2714, allocations: 1.775 MB / 0.7388 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2714, allocations: 11.97 kB / 0.7388 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.2737, allocations: 419.3 kB / 0.7392 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.2762, allocations: 1.172 MB / 0.7404 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.2762, allocations: 66 kB / 0.7404 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.2764, allocations: 84 kB / 0.7405 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.2785, allocations: 0.9976 MB / 0.7415 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.2785, allocations: 3.984 kB / 0.7415 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.2786, allocations: 36 kB / 0.7415 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.2787, allocations: 16 kB / 0.7415 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.2809, allocations: 0.8663 MB / 0.7424 GB, free: 5.641 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.006819/0.2878, allocations: 5.24 MB / 0.7475 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3075/0.5953, allocations: 0.7777 MB / 0.7483 GB, free: 94.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007183/0.596, allocations: 297.6 kB / 0.7485 GB, free: 94.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004783/0.5965, allocations: 0.9098 MB / 0.7494 GB, free: 93.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.5966, allocations: 38.47 kB / 0.7495 GB, free: 93.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.096e-06/0.5966, allocations: 0.6562 kB / 0.7495 GB, free: 93.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008074/0.6046, allocations: 1.864 MB / 0.7513 GB, free: 93.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.6047, allocations: 59.12 kB / 0.7513 GB, free: 93.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.6065, allocations: 1.074 MB / 0.7524 GB, free: 93.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.6065, allocations: 38.08 kB / 0.7524 GB, free: 93.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.6069, allocations: 0.5363 MB / 0.7529 GB, free: 92.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.607, allocations: 162.9 kB / 0.7531 GB, free: 92.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.6073, allocations: 136.3 kB / 0.7532 GB, free: 92.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.6074, allocations: 332.9 kB / 0.7536 GB, free: 92.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009098/0.6083, allocations: 309.5 kB / 0.7538 GB, free: 92.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.6094, allocations: 0.5278 MB / 0.7544 GB, free: 91.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.6112, allocations: 0.7228 MB / 0.7551 GB, free: 91.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6112, allocations: 1.375 kB / 0.7551 GB, free: 91.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003878/0.6151, allocations: 1.151 MB / 0.7562 GB, free: 91.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.6151, allocations: 6.938 kB / 0.7562 GB, free: 91.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.6151, allocations: 7.844 kB / 0.7562 GB, free: 91.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.6166, allocations: 315 kB / 0.7565 GB, free: 91.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.6172, allocations: 127.7 kB / 0.7566 GB, free: 91.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.6187, allocations: 0.899 MB / 0.7575 GB, free: 90.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.6199, allocations: 160.6 kB / 0.7577 GB, free: 90.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.62, allocations: 31.45 kB / 0.7577 GB, free: 90.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/0.6212, allocations: 0.5102 MB / 0.7582 GB, free: 90.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009453/0.6221, allocations: 0.53 MB / 0.7587 GB, free: 89.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001492/0.6236, allocations: 0.6924 MB / 0.7594 GB, free: 89.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.107e-06/0.6237, allocations: 5.125 kB / 0.7594 GB, free: 89.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003416/0.6271, allocations: 1.141 MB / 0.7605 GB, free: 89.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6271, allocations: 12.75 kB / 0.7605 GB, free: 89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.6271, allocations: 6.188 kB / 0.7605 GB, free: 89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.6282, allocations: 297.7 kB / 0.7608 GB, free: 88.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/0.6288, allocations: 131.1 kB / 0.7609 GB, free: 88.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.6301, allocations: 0.8932 MB / 0.7618 GB, free: 88.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.6314, allocations: 136.1 kB / 0.7619 GB, free: 88.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.771e-05/0.6314, allocations: 34.17 kB / 0.762 GB, free: 88.24 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.0002453/0.6317, allocations: 226.4 kB / 0.7622 GB, free: 88.03 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.6319, allocations: 116.7 kB / 0.7623 GB, free: 87.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/0.6355, allocations: 1.103 MB / 0.7634 GB, free: 87.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.6355, allocations: 6.75 kB / 0.7634 GB, free: 87.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6355, allocations: 1.344 kB / 0.7634 GB, free: 87.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.6359, allocations: 263.2 kB / 0.7636 GB, free: 87.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.636, allocations: 11.38 kB / 0.7636 GB, free: 87.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/0.6367, allocations: 70.2 kB / 0.7637 GB, free: 87.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.6368, allocations: 29.81 kB / 0.7637 GB, free: 87.38 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.002747/0.6396, allocations: 0.7639 MB / 0.7645 GB, free: 87.13 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL could not be translated