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.001225/0.001225, allocations: 116.6 kB / 17.09 MB, free: 6.008 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.001301/0.001301, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.259/1.259, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6989/0.6989, allocations: 115.3 MB / 407.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 60.53 kB / 0.5584 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1225, allocations: 76.18 MB / 0.6328 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05159/0.1741, allocations: 61.17 MB / 0.6925 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.1885, allocations: 12 MB / 0.7042 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.1903, allocations: 59.62 kB / 0.7043 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.1918, allocations: 0.6791 MB / 0.7049 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004717/0.1966, allocations: 1.965 MB / 0.7068 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.1993, allocations: 1.204 MB / 0.708 GB, free: 7.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003338/0.2026, allocations: 3.091 MB / 0.711 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.2039, allocations: 1.092 MB / 0.7121 GB, free: 2.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.2063, allocations: 1.352 MB / 0.7134 GB, free: 1.488 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.2073, allocations: 0.91 MB / 0.7143 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.2075, allocations: 116 kB / 0.7144 GB, free: 472 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.2098, allocations: 1.454 MB / 0.7158 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.21, allocations: 290.9 kB / 0.7161 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005462/0.2106, allocations: 0.6919 MB / 0.7168 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.213, allocations: 2.306 MB / 0.7191 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.213, allocations: 0 / 0.7191 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.71e-07/0.213, allocations: 0 / 0.7191 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.213, allocations: 0 / 0.7191 GB, free: 11.71 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.00245/0.2155, allocations: 1.73 MB / 0.7207 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2155, allocations: 12.03 kB / 0.7208 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.2176, allocations: 406.8 kB / 0.7211 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.2194, allocations: 1.16 MB / 0.7223 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.2194, allocations: 69.94 kB / 0.7223 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.2195, allocations: 84 kB / 0.7224 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.2214, allocations: 0.9975 MB / 0.7234 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2214, allocations: 0 / 0.7234 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.2215, allocations: 32 kB / 0.7234 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.2215, allocations: 24 kB / 0.7235 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.2236, allocations: 0.8664 MB / 0.7243 GB, free: 6.168 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.005551/0.2292, allocations: 5.227 MB / 0.7294 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.2324, allocations: 0.7961 MB / 0.7302 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006753/0.2331, allocations: 294.7 kB / 0.7305 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005463/0.2337, allocations: 0.9103 MB / 0.7313 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2337, allocations: 38.5 kB / 0.7314 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.465e-06/0.2337, allocations: 0 / 0.7314 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.007896/0.2416, allocations: 1.867 MB / 0.7332 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2416, allocations: 55.41 kB / 0.7333 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.243, allocations: 1.072 MB / 0.7343 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/0.243, allocations: 37.7 kB / 0.7343 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.2434, allocations: 0.5311 MB / 0.7349 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.2435, allocations: 161.7 kB / 0.735 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.2438, allocations: 134.2 kB / 0.7351 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.2439, allocations: 326 kB / 0.7355 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008514/0.2447, allocations: 307.3 kB / 0.7357 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.2457, allocations: 0.5329 MB / 0.7363 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.2473, allocations: 0.7106 MB / 0.737 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2474, allocations: 0 / 0.737 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003369/0.2507, allocations: 1.145 MB / 0.7381 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2508, allocations: 11.94 kB / 0.7381 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.2508, allocations: 4 kB / 0.7381 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.252, allocations: 323.5 kB / 0.7384 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.2525, allocations: 127.8 kB / 0.7385 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.2538, allocations: 0.8996 MB / 0.7394 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.2549, allocations: 151.2 kB / 0.7395 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.255, allocations: 39.98 kB / 0.7396 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001097/0.2561, allocations: 0.5051 MB / 0.7401 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009854/0.2571, allocations: 0.5252 MB / 0.7406 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00155/0.2587, allocations: 0.7055 MB / 0.7413 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.2587, allocations: 0 / 0.7413 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003233/0.2619, allocations: 1.129 MB / 0.7424 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2619, allocations: 7.938 kB / 0.7424 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2619, allocations: 8 kB / 0.7424 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.263, allocations: 304.7 kB / 0.7427 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.2635, allocations: 127.8 kB / 0.7428 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.2647, allocations: 0.9018 MB / 0.7437 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.2659, allocations: 127.6 kB / 0.7438 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/0.2659, allocations: 35.98 kB / 0.7439 GB, free: 1.047 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.0001966/0.2661, allocations: 216.1 kB / 0.7441 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.2663, allocations: 114.5 kB / 0.7442 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3077/0.574, allocations: 1.098 MB / 0.7452 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.5741, allocations: 3.203 kB / 0.7452 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.5741, allocations: 0 / 0.7452 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006633/0.5748, allocations: 259.5 kB / 0.7455 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.5749, allocations: 9.547 kB / 0.7455 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/0.5757, allocations: 70.89 kB / 0.7456 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5759, allocations: 32.7 kB / 0.7456 GB, free: 109.1 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.002931/0.5788, allocations: 0.7662 MB / 0.7463 GB, free: 109.1 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