Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 288.4 MB / 304.3 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000979/0.0009791, allocations: 179 kB / 372.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 0.6316 GB, free: 9.867 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 96.19 kB / 0.745 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004122, allocations: 15.94 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1921, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04893/0.2411, allocations: 56.52 MB / 1.036 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.257, allocations: 11.14 MB / 1.047 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.2591, allocations: 51.62 kB / 1.047 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.2611, allocations: 460.9 kB / 1.047 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005101/0.2662, allocations: 1.625 MB / 1.049 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.2692, allocations: 0.8841 MB / 1.05 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00458/0.2738, allocations: 3.422 MB / 1.053 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.2757, allocations: 0.8902 MB / 1.054 GB, free: 156 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.2784, allocations: 1.097 MB / 1.055 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.2802, allocations: 0.8011 MB / 1.056 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003076/0.2805, allocations: 44 kB / 1.056 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.2838, allocations: 1.275 MB / 1.057 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004793/0.2843, allocations: 207 kB / 1.057 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.2859, allocations: 0.6042 MB / 1.058 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.2891, allocations: 1.695 MB / 1.06 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.2891, allocations: 0 / 1.06 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2891, allocations: 4 kB / 1.06 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.423e-05/0.2892, allocations: 0 / 1.06 GB, free: 10.41 MB / 0.6823 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.003569/0.2928, allocations: 1.501 MB / 1.061 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2928, allocations: 11.97 kB / 1.061 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/0.2952, allocations: 470.8 kB / 1.061 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.2976, allocations: 1.139 MB / 1.063 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/0.298, allocations: 133.9 kB / 1.063 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.2982, allocations: 84 kB / 1.063 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.3002, allocations: 0.9956 MB / 1.064 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3002, allocations: 7.938 kB / 1.064 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/0.3003, allocations: 32 kB / 1.064 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.3003, allocations: 16 kB / 1.064 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.3028, allocations: 0.9328 MB / 1.065 GB, free: 4.941 MB / 0.6823 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.006572/0.3093, allocations: 4.619 MB / 1.069 GB, free: 8 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3833/0.6927, allocations: 0.9267 MB / 1.07 GB, free: 33.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/0.6935, allocations: 338.6 kB / 1.07 GB, free: 33.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005121/0.6941, allocations: 0.9042 MB / 1.071 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.6941, allocations: 44.7 kB / 1.071 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 2.996e-06/0.6941, allocations: 0 / 1.071 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008225/0.7023, allocations: 2.014 MB / 1.073 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.7024, allocations: 60.89 kB / 1.073 GB, free: 32.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.7042, allocations: 1.045 MB / 1.074 GB, free: 32.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/0.7043, allocations: 37.89 kB / 1.074 GB, free: 32.03 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/0.7048, allocations: 0.5197 MB / 1.075 GB, free: 31.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.7049, allocations: 163.4 kB / 1.075 GB, free: 31.87 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.705, allocations: 12.97 kB / 1.075 GB, free: 31.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.705, allocations: 326.9 kB / 1.075 GB, free: 31.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.7061, allocations: 338 kB / 1.076 GB, free: 31.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.7072, allocations: 0.5313 MB / 1.076 GB, free: 31.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.709, allocations: 0.7313 MB / 1.077 GB, free: 31.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.709, allocations: 2.031 kB / 1.077 GB, free: 31.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004018/0.7131, allocations: 1.231 MB / 1.078 GB, free: 31.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.7132, allocations: 201.2 kB / 1.078 GB, free: 30.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.7133, allocations: 4.062 kB / 1.078 GB, free: 30.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.7148, allocations: 335.3 kB / 1.079 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.7154, allocations: 134.4 kB / 1.079 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.7169, allocations: 0.9356 MB / 1.08 GB, free: 30.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.7182, allocations: 197.9 kB / 1.08 GB, free: 30.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.7183, allocations: 32.67 kB / 1.08 GB, free: 30.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.7183, allocations: 3.719 kB / 1.08 GB, free: 30.17 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003489/0.7218, allocations: 1.099 MB / 1.081 GB, free: 30.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.7218, allocations: 4.312 kB / 1.081 GB, free: 30.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.723, allocations: 322.2 kB / 1.081 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.7236, allocations: 131 kB / 1.082 GB, free: 30.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.725, allocations: 0.9396 MB / 1.082 GB, free: 29.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.7263, allocations: 175.5 kB / 1.083 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/0.7264, allocations: 33.06 kB / 1.083 GB, free: 29.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005494/0.727, allocations: 344.5 kB / 1.083 GB, free: 29.31 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.7271, allocations: 111.7 kB / 1.083 GB, free: 29.26 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004064/0.7312, allocations: 1.241 MB / 1.084 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.7312, allocations: 2.672 kB / 1.084 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.7313, allocations: 1.812 kB / 1.084 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/0.7317, allocations: 286.6 kB / 1.085 GB, free: 28.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.7319, allocations: 8.844 kB / 1.085 GB, free: 28.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008249/0.7327, allocations: 112.1 kB / 1.085 GB, free: 28.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.7328, allocations: 29.52 kB / 1.085 GB, free: 28.96 MB / 0.6823 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.002953/0.7358, allocations: 0.9035 MB / 1.086 GB, free: 28.82 MB / 0.6823 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.