Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 113.5 kB / 16.38 MB, free: 5.547 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.001136/0.001136, allocations: 188 kB / 17.31 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 70.25 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2082, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.372/0.5802, allocations: 61.24 MB / 0.8446 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.5947, allocations: 11.9 MB / 0.8562 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.5967, allocations: 58.97 kB / 0.8563 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.5985, allocations: 0.689 MB / 0.857 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005649/0.6041, allocations: 1.938 MB / 0.8588 GB, free: 14.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.6077, allocations: 1.233 MB / 0.8601 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004356/0.612, allocations: 3.072 MB / 0.8631 GB, free: 12.59 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.6137, allocations: 1.13 MB / 0.8642 GB, free: 12.08 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.617, allocations: 1.332 MB / 0.8655 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.6185, allocations: 0.9161 MB / 0.8663 GB, free: 10.99 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.6187, allocations: 119.8 kB / 0.8665 GB, free: 10.99 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003262/0.622, allocations: 1.445 MB / 0.8679 GB, free: 10.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.6223, allocations: 296.9 kB / 0.8682 GB, free: 10.31 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008451/0.6232, allocations: 0.7048 MB / 0.8688 GB, free: 9.867 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003522/0.6267, allocations: 2.336 MB / 0.8711 GB, free: 8.574 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6267, allocations: 1.281 kB / 0.8711 GB, free: 8.574 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6268, allocations: 0 / 0.8711 GB, free: 8.574 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.669e-05/0.6268, allocations: 0 / 0.8711 GB, free: 8.574 MB / 0.67 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.003212/0.63, allocations: 1.739 MB / 0.8728 GB, free: 7.234 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6301, allocations: 9.531 kB / 0.8728 GB, free: 7.234 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.6327, allocations: 457.5 kB / 0.8733 GB, free: 7.027 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.6349, allocations: 1.178 MB / 0.8744 GB, free: 6.082 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.635, allocations: 61.38 kB / 0.8745 GB, free: 6.059 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.6351, allocations: 83.62 kB / 0.8746 GB, free: 6.031 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.6373, allocations: 1 MB / 0.8755 GB, free: 5.41 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.6373, allocations: 5.469 kB / 0.8755 GB, free: 5.406 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.6374, allocations: 34.78 kB / 0.8756 GB, free: 5.379 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.6374, allocations: 19.03 kB / 0.8756 GB, free: 5.379 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.6401, allocations: 0.9377 MB / 0.8765 GB, free: 4.922 MB / 0.67 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.006079/0.6462, allocations: 4.668 MB / 0.8811 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/0.6504, allocations: 0.9983 MB / 0.882 GB, free: 300 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.6515, allocations: 409 kB / 0.8824 GB, free: 100 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009457/0.6524, allocations: 1.015 MB / 0.8834 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.6525, allocations: 44.56 kB / 0.8835 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.384e-06/0.6525, allocations: 4.719 kB / 0.8835 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53): time 0.009717/0.6622, allocations: 2.169 MB / 0.8856 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.6623, allocations: 56.28 kB / 0.8856 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.6636, allocations: 0.9451 MB / 0.8866 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.924e-05/0.6637, allocations: 42.3 kB / 0.8866 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/0.6641, allocations: 0.5114 MB / 0.8871 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.6643, allocations: 179 kB / 0.8873 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.6646, allocations: 133.4 kB / 0.8874 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6647, allocations: 327.3 kB / 0.8877 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.6658, allocations: 355.7 kB / 0.8881 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.667, allocations: 0.5152 MB / 0.8886 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.6692, allocations: 0.7554 MB / 0.8893 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6692, allocations: 1.812 kB / 0.8893 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00309/0.6723, allocations: 1.062 MB / 0.8903 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.6723, allocations: 6.125 kB / 0.8903 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.6723, allocations: 3 kB / 0.8903 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001264/0.6736, allocations: 300.3 kB / 0.8906 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.6743, allocations: 128.8 kB / 0.8908 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.6757, allocations: 0.8907 MB / 0.8916 GB, free: 9.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.6768, allocations: 123.8 kB / 0.8917 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.886e-05/0.6769, allocations: 31.42 kB / 0.8918 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001375/0.6783, allocations: 0.5504 MB / 0.8923 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001197/0.6795, allocations: 0.5168 MB / 0.8928 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002102/0.6816, allocations: 0.7405 MB / 0.8935 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.6816, allocations: 1.25 kB / 0.8935 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002927/0.6846, allocations: 1.054 MB / 0.8946 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.6846, allocations: 5.438 kB / 0.8946 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6846, allocations: 3.75 kB / 0.8946 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.6857, allocations: 298.9 kB / 0.8949 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.6864, allocations: 132.8 kB / 0.895 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.6878, allocations: 0.893 MB / 0.8959 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.6889, allocations: 111.9 kB / 0.896 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/0.689, allocations: 31.17 kB / 0.896 GB, free: 6.992 MB / 0.6856 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 (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.0002372/0.6892, allocations: 211.7 kB / 0.8962 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.6895, allocations: 106.9 kB / 0.8963 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004641/0.6941, allocations: 1.311 MB / 0.8976 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.6941, allocations: 3.984 kB / 0.8976 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6941, allocations: 4 kB / 0.8976 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.6946, allocations: 279.4 kB / 0.8979 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.6947, allocations: 17.16 kB / 0.8979 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008002/0.6956, allocations: 75.91 kB / 0.8979 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.353e-05/0.6956, allocations: 32.52 kB / 0.898 GB, free: 5.508 MB / 0.6856 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.003325/0.699, allocations: 0.875 MB / 0.8988 GB, free: 4.629 MB / 0.6856 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow could not be translated