Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.76/1.76, allocations: 287.4 MB / 303.2 MB, free: 8.223 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.001069/0.001069, allocations: 174.2 kB / 371.8 MB, free: 10.83 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.348/1.348, allocations: 205.4 MB / 0.6304 GB, free: 10.56 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.0008879/0.0008878, allocations: 96.3 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 11.83 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1747, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04687/0.2216, allocations: 56.52 MB / 1.034 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01415/0.2358, allocations: 11.12 MB / 1.045 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.2375, allocations: 51.62 kB / 1.045 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001671/0.2392, allocations: 464.8 kB / 1.046 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004603/0.2438, allocations: 1.52 MB / 1.047 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.2468, allocations: 0.8784 MB / 1.048 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004775/0.2516, allocations: 3.429 MB / 1.052 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.2534, allocations: 0.8863 MB / 1.052 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.256, allocations: 1.054 MB / 1.053 GB, free: 64 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.2578, allocations: 0.8089 MB / 1.054 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002954/0.2581, allocations: 44 kB / 1.054 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/0.2611, allocations: 1.091 MB / 1.055 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003937/0.2615, allocations: 199 kB / 1.055 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006077/0.2621, allocations: 281 kB / 1.056 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.2647, allocations: 1.645 MB / 1.057 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2648, allocations: 0 / 1.057 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2648, allocations: 0 / 1.057 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.504e-05/0.2648, allocations: 0 / 1.057 GB, free: 11.99 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.003624/0.2685, allocations: 1.505 MB / 1.059 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2685, allocations: 8.031 kB / 1.059 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.2708, allocations: 466.9 kB / 1.059 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.2731, allocations: 1.136 MB / 1.06 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003805/0.2735, allocations: 137.9 kB / 1.061 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.2737, allocations: 84 kB / 1.061 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.2759, allocations: 0.9956 MB / 1.062 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.276, allocations: 4 kB / 1.062 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/0.2761, allocations: 28 kB / 1.062 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.2761, allocations: 20 kB / 1.062 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.2786, allocations: 0.9328 MB / 1.063 GB, free: 6.535 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.006789/0.2854, allocations: 4.623 MB / 1.067 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.289, allocations: 0.938 MB / 1.068 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/0.2898, allocations: 342 kB / 1.068 GB, free: 320 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.359/0.6489, allocations: 0.8969 MB / 1.069 GB, free: 90.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.649, allocations: 38.27 kB / 1.069 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.617e-06/0.649, allocations: 0 / 1.069 GB, free: 90.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.008881/0.6579, allocations: 2.015 MB / 1.071 GB, free: 90.35 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.6579, allocations: 61.11 kB / 1.071 GB, free: 90.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.6601, allocations: 1.046 MB / 1.072 GB, free: 90.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.766e-05/0.6602, allocations: 41.17 kB / 1.072 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/0.6606, allocations: 0.5174 MB / 1.073 GB, free: 89.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.6608, allocations: 162.7 kB / 1.073 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.6608, allocations: 14.22 kB / 1.073 GB, free: 89.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.6609, allocations: 326.3 kB / 1.073 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.6619, allocations: 339.5 kB / 1.074 GB, free: 89.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.6631, allocations: 0.5312 MB / 1.074 GB, free: 88.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.6649, allocations: 0.7349 MB / 1.075 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.6649, allocations: 1.5 kB / 1.075 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003979/0.6689, allocations: 1.224 MB / 1.076 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/0.669, allocations: 205.7 kB / 1.076 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.669, allocations: 4.672 kB / 1.076 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.6703, allocations: 326.3 kB / 1.077 GB, free: 87.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.671, allocations: 138 kB / 1.077 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.6725, allocations: 0.9353 MB / 1.078 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.6738, allocations: 199.9 kB / 1.078 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.163e-05/0.6739, allocations: 38.23 kB / 1.078 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.6739, allocations: 3.25 kB / 1.078 GB, free: 87.11 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003429/0.6774, allocations: 1.089 MB / 1.079 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6774, allocations: 4.891 kB / 1.079 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.6785, allocations: 327.9 kB / 1.079 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.6791, allocations: 135.1 kB / 1.079 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.6805, allocations: 0.9286 MB / 1.08 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.6818, allocations: 172.8 kB / 1.08 GB, free: 86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.092e-05/0.6818, allocations: 30.53 kB / 1.08 GB, free: 85.99 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.0005303/0.6824, allocations: 353.7 kB / 1.081 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.6827, allocations: 116.3 kB / 1.081 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004116/0.6868, allocations: 1.238 MB / 1.082 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6868, allocations: 3.656 kB / 1.082 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6868, allocations: 0 / 1.082 GB, free: 85.25 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.6873, allocations: 283.1 kB / 1.082 GB, free: 85.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.6875, allocations: 10.16 kB / 1.082 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009052/0.6884, allocations: 113.3 kB / 1.082 GB, free: 85.01 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.6885, allocations: 31.58 kB / 1.083 GB, free: 85.01 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.003013/0.6915, allocations: 0.9009 MB / 1.083 GB, free: 84.73 MB / 0.6823 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.