Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.614/1.614, 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.0009315/0.0009316, allocations: 186.9 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.355/1.355, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0007428/0.0007427, allocations: 98.34 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003478, allocations: 16.56 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1626, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04774/0.2104, allocations: 56.55 MB / 1.036 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.2249, allocations: 11.13 MB / 1.047 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.2269, allocations: 51.62 kB / 1.047 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.2286, allocations: 464.8 kB / 1.047 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00478/0.2334, allocations: 1.63 MB / 1.049 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.2362, allocations: 0.8746 MB / 1.05 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004524/0.2407, allocations: 3.426 MB / 1.053 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.2423, allocations: 0.9187 MB / 1.054 GB, free: 76 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.245, allocations: 1.097 MB / 1.055 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.2466, allocations: 0.8127 MB / 1.056 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.2468, allocations: 44 kB / 1.056 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.2493, allocations: 1.271 MB / 1.057 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.2496, allocations: 207 kB / 1.057 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008498/0.2505, allocations: 0.6042 MB / 1.058 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.2527, allocations: 1.707 MB / 1.06 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2528, allocations: 3.938 kB / 1.06 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2528, allocations: 3.938 kB / 1.06 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.8e-05/0.2528, allocations: 0 / 1.06 GB, free: 10.3 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.002836/0.2557, allocations: 1.497 MB / 1.061 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2557, allocations: 12.03 kB / 1.061 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.2581, allocations: 0.5143 MB / 1.062 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.2602, allocations: 1.136 MB / 1.063 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/0.2606, allocations: 129.9 kB / 1.063 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.2607, allocations: 80 kB / 1.063 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.2629, allocations: 1.037 MB / 1.064 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.2629, allocations: 0 / 1.064 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/0.263, allocations: 32 kB / 1.064 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.263, allocations: 23.94 kB / 1.064 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.2657, allocations: 1.007 MB / 1.065 GB, free: 4.691 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.3562/0.6219, allocations: 4.712 MB / 1.07 GB, free: 90.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004709/0.6267, allocations: 1.118 MB / 1.071 GB, free: 90.58 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.6278, allocations: 443.8 kB / 1.071 GB, free: 90.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007592/0.6286, allocations: 1.029 MB / 1.072 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.6286, allocations: 38.05 kB / 1.072 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 2.705e-06/0.6287, allocations: 0 / 1.072 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.01014/0.6388, allocations: 2.5 MB / 1.075 GB, free: 89.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.6389, allocations: 56.53 kB / 1.075 GB, free: 89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.6404, allocations: 0.9318 MB / 1.076 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.6406, allocations: 38.55 kB / 1.076 GB, free: 88.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.6409, allocations: 0.5052 MB / 1.076 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.6411, allocations: 188.2 kB / 1.076 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.6412, allocations: 11 kB / 1.076 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.6412, allocations: 326 kB / 1.077 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.6424, allocations: 378.9 kB / 1.077 GB, free: 87.72 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.6436, allocations: 0.5434 MB / 1.077 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/0.6457, allocations: 0.8114 MB / 1.078 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6457, allocations: 6.203 kB / 1.078 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003207/0.6489, allocations: 1.127 MB / 1.079 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.16e-05/0.649, allocations: 166 kB / 1.079 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.649, allocations: 2.469 kB / 1.079 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.6504, allocations: 331.2 kB / 1.08 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.6511, allocations: 142.2 kB / 1.08 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.6527, allocations: 0.9387 MB / 1.081 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.6539, allocations: 174.2 kB / 1.081 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-05/0.654, allocations: 31.92 kB / 1.081 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.654, allocations: 6.188 kB / 1.081 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002937/0.657, allocations: 1.001 MB / 1.082 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.657, allocations: 3.188 kB / 1.082 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.6583, allocations: 325 kB / 1.082 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.6591, allocations: 146 kB / 1.082 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.6605, allocations: 0.9282 MB / 1.083 GB, free: 84.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.6618, allocations: 167.5 kB / 1.084 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-05/0.6619, allocations: 27.86 kB / 1.084 GB, free: 84.59 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.0006023/0.6625, allocations: 361.1 kB / 1.084 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.6628, allocations: 109 kB / 1.084 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004729/0.6675, allocations: 1.434 MB / 1.085 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.6675, allocations: 3.094 kB / 1.085 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6675, allocations: 1.094 kB / 1.085 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006072/0.6682, allocations: 295.9 kB / 1.086 GB, free: 83.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/0.6684, allocations: 10.83 kB / 1.086 GB, free: 83.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009717/0.6694, allocations: 127.8 kB / 1.086 GB, free: 83.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/0.6695, allocations: 33.81 kB / 1.086 GB, free: 83.54 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.003576/0.6731, allocations: 1.003 MB / 1.087 GB, free: 83.25 MB / 0.6823 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.