Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 117.1 kB / 17.1 MB, free: 5.996 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.0009589/0.0009589, allocations: 189.6 kB / 18.02 MB, free: 5.082 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.25/1.25, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7202/0.7202, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 62.44 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1219, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05164/0.1736, allocations: 61.14 MB / 0.6924 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01471/0.1884, allocations: 11.99 MB / 0.7041 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.1904, allocations: 59.62 kB / 0.7042 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.1921, allocations: 0.6791 MB / 0.7049 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00507/0.1973, allocations: 1.965 MB / 0.7068 GB, free: 8.301 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.2002, allocations: 1.21 MB / 0.708 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003912/0.2041, allocations: 3.079 MB / 0.711 GB, free: 4.012 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.2055, allocations: 1.104 MB / 0.712 GB, free: 2.871 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/0.2085, allocations: 1.356 MB / 0.7134 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.2097, allocations: 0.9004 MB / 0.7143 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.2098, allocations: 116 kB / 0.7144 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.2124, allocations: 1.439 MB / 0.7158 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.2127, allocations: 294.8 kB / 0.716 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006261/0.2133, allocations: 0.6881 MB / 0.7167 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.2162, allocations: 2.29 MB / 0.719 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2163, allocations: 3.984 kB / 0.719 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2163, allocations: 0 / 0.719 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.2163, allocations: 0 / 0.719 GB, free: 11.77 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.002684/0.219, allocations: 1.726 MB / 0.7206 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.219, allocations: 8.031 kB / 0.7207 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.2211, allocations: 406.8 kB / 0.721 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/0.223, allocations: 1.167 MB / 0.7222 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.2231, allocations: 66 kB / 0.7222 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.2232, allocations: 76 kB / 0.7223 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.2251, allocations: 0.9937 MB / 0.7233 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.2251, allocations: 3.938 kB / 0.7233 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.2252, allocations: 32 kB / 0.7233 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.2252, allocations: 27.98 kB / 0.7233 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.2274, allocations: 0.8547 MB / 0.7242 GB, free: 6.25 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.00584/0.2332, allocations: 5.227 MB / 0.7293 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.2365, allocations: 0.7841 MB / 0.7301 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006669/0.2372, allocations: 300.5 kB / 0.7303 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005926/0.2378, allocations: 0.9025 MB / 0.7312 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.2378, allocations: 38.56 kB / 0.7313 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.665e-06/0.2378, allocations: 4 kB / 0.7313 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00807/0.2459, allocations: 1.852 MB / 0.7331 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.2459, allocations: 55.41 kB / 0.7331 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.2474, allocations: 1.079 MB / 0.7342 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.2475, allocations: 37.7 kB / 0.7342 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/0.2479, allocations: 0.5272 MB / 0.7347 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.248, allocations: 157.8 kB / 0.7349 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.2482, allocations: 134.2 kB / 0.735 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.2484, allocations: 326 kB / 0.7353 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008316/0.2492, allocations: 307.3 kB / 0.7356 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.2502, allocations: 0.5346 MB / 0.7361 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.2518, allocations: 0.7175 MB / 0.7368 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2518, allocations: 0 / 0.7368 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002597/0.2544, allocations: 1.012 MB / 0.7378 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2544, allocations: 9.719 kB / 0.7378 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2544, allocations: 8 kB / 0.7378 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.2556, allocations: 315.4 kB / 0.7381 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.2562, allocations: 127.8 kB / 0.7383 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.2575, allocations: 0.8995 MB / 0.7391 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.2587, allocations: 159.2 kB / 0.7393 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.2588, allocations: 27.98 kB / 0.7393 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001126/0.2599, allocations: 0.5124 MB / 0.7398 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009708/0.2609, allocations: 0.5307 MB / 0.7403 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001534/0.2624, allocations: 0.7061 MB / 0.741 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.329e-06/0.2624, allocations: 4 kB / 0.741 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002508/0.2649, allocations: 1 MB / 0.742 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.265, allocations: 11.98 kB / 0.742 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.265, allocations: 7.938 kB / 0.742 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.266, allocations: 296.7 kB / 0.7423 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.2665, allocations: 127.8 kB / 0.7424 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.2678, allocations: 0.8945 MB / 0.7433 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.269, allocations: 131.5 kB / 0.7434 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.269, allocations: 39.98 kB / 0.7435 GB, free: 1.395 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0002153/0.2692, allocations: 228 kB / 0.7437 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.2694, allocations: 106.7 kB / 0.7438 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2865/0.556, allocations: 1.082 MB / 0.7448 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/0.556, allocations: 4 kB / 0.7448 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.556, allocations: 0.6875 kB / 0.7448 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006122/0.5567, allocations: 261 kB / 0.7451 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.5568, allocations: 12.05 kB / 0.7451 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000805/0.5577, allocations: 68.2 kB / 0.7452 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.5578, allocations: 31.5 kB / 0.7452 GB, free: 109 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.002816/0.5606, allocations: 0.7605 MB / 0.7459 GB, free: 108.9 MB / 0.5762 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon could not be translated