Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.559/1.559, allocations: 287.4 MB / 303.2 MB, free: 8.254 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.0009267/0.0009269, allocations: 173.9 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.363/1.363, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0008248/0.0008249, allocations: 98.41 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 15.58 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1748, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04623/0.221, allocations: 56.55 MB / 1.034 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01492/0.236, allocations: 11.12 MB / 1.045 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.2377, allocations: 59.62 kB / 1.045 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.2396, allocations: 460.9 kB / 1.046 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004456/0.244, allocations: 1.525 MB / 1.047 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002526/0.2466, allocations: 0.8652 MB / 1.048 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003817/0.2504, allocations: 3.439 MB / 1.052 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.252, allocations: 0.907 MB / 1.052 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.2541, allocations: 1.042 MB / 1.053 GB, free: 20 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.2555, allocations: 0.8166 MB / 1.054 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.2557, allocations: 44 kB / 1.054 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.258, allocations: 1.095 MB / 1.055 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.2583, allocations: 203 kB / 1.056 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003883/0.2587, allocations: 289 kB / 1.056 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.2605, allocations: 1.645 MB / 1.057 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2605, allocations: 3.938 kB / 1.057 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2605, allocations: 0 / 1.057 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.2605, allocations: 0 / 1.057 GB, free: 11.92 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002499/0.263, allocations: 1.501 MB / 1.059 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2631, allocations: 12.03 kB / 1.059 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/0.2655, allocations: 0.5143 MB / 1.059 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.2676, allocations: 1.136 MB / 1.061 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003546/0.2679, allocations: 129.9 kB / 1.061 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.2681, allocations: 84 kB / 1.061 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.2702, allocations: 1.029 MB / 1.062 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.2702, allocations: 4 kB / 1.062 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/0.2703, allocations: 28 kB / 1.062 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.2703, allocations: 23.94 kB / 1.062 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.273, allocations: 1.007 MB / 1.063 GB, free: 6.309 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.006105/0.2791, allocations: 4.716 MB / 1.067 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/0.2832, allocations: 1.121 MB / 1.068 GB, free: 116 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3534/0.6367, allocations: 437.8 kB / 1.069 GB, free: 91.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008871/0.6376, allocations: 1.033 MB / 1.07 GB, free: 90.15 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.6377, allocations: 39.19 kB / 1.07 GB, free: 90.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 4.138e-06/0.6377, allocations: 0 / 1.07 GB, free: 90.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01038/0.6481, allocations: 2.499 MB / 1.072 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.6481, allocations: 60.94 kB / 1.072 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.6496, allocations: 0.9292 MB / 1.073 GB, free: 89.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.6497, allocations: 38.8 kB / 1.073 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.6501, allocations: 0.508 MB / 1.074 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.6503, allocations: 182 kB / 1.074 GB, free: 89.05 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.6504, allocations: 14.97 kB / 1.074 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.6504, allocations: 326.2 kB / 1.074 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.6516, allocations: 376.8 kB / 1.075 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.6528, allocations: 0.544 MB / 1.075 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.6549, allocations: 0.8117 MB / 1.076 GB, free: 88.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6549, allocations: 4.75 kB / 1.076 GB, free: 88.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003094/0.658, allocations: 1.125 MB / 1.077 GB, free: 87.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.258e-05/0.6581, allocations: 164.8 kB / 1.077 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.6581, allocations: 3.281 kB / 1.077 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.6596, allocations: 330.2 kB / 1.078 GB, free: 87.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.6602, allocations: 145.6 kB / 1.078 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.6617, allocations: 0.9318 MB / 1.079 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.663, allocations: 181.5 kB / 1.079 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/0.6631, allocations: 28.52 kB / 1.079 GB, free: 86.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.6631, allocations: 6.156 kB / 1.079 GB, free: 86.67 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002832/0.666, allocations: 0.9982 MB / 1.08 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.666, allocations: 2.219 kB / 1.08 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.6672, allocations: 329 kB / 1.08 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.6679, allocations: 141.6 kB / 1.08 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.6693, allocations: 0.9353 MB / 1.081 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.6705, allocations: 175.5 kB / 1.081 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.6706, allocations: 27.41 kB / 1.081 GB, free: 85.55 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0005528/0.6712, allocations: 348 kB / 1.082 GB, free: 85.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.6713, allocations: 107.6 kB / 1.082 GB, free: 85.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004695/0.676, allocations: 1.443 MB / 1.083 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.6761, allocations: 7 kB / 1.083 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6761, allocations: 1.219 kB / 1.083 GB, free: 84.76 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/0.6765, allocations: 288 kB / 1.084 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.6767, allocations: 10.22 kB / 1.084 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008855/0.6776, allocations: 124.4 kB / 1.084 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.6777, allocations: 32.61 kB / 1.084 GB, free: 84.51 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.003496/0.6812, allocations: 1.02 MB / 1.085 GB, free: 84.21 MB / 0.6823 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.