Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 109.3 kB / 16.38 MB, free: 6.484 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.001903/0.001903, allocations: 190.7 kB / 17.32 MB, free: 5.82 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.374/1.374, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.835/1.835, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001429/0.001429, allocations: 79.17 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.205, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3753/0.5803, allocations: 61.22 MB / 0.8446 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.597, allocations: 11.89 MB / 0.8562 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.6001, allocations: 59.22 kB / 0.8562 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.6023, allocations: 0.6888 MB / 0.8569 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005907/0.6083, allocations: 1.942 MB / 0.8588 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.6116, allocations: 1.223 MB / 0.86 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004477/0.6161, allocations: 3.074 MB / 0.863 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.6179, allocations: 1.105 MB / 0.8641 GB, free: 12.12 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003159/0.6211, allocations: 1.341 MB / 0.8654 GB, free: 11.46 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.6226, allocations: 0.9094 MB / 0.8663 GB, free: 11.04 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.6228, allocations: 116 kB / 0.8664 GB, free: 11.04 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.6259, allocations: 1.446 MB / 0.8678 GB, free: 10.54 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.6262, allocations: 289.2 kB / 0.8681 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008179/0.627, allocations: 0.6946 MB / 0.8688 GB, free: 9.922 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/0.6304, allocations: 2.318 MB / 0.871 GB, free: 8.691 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.6304, allocations: 0 / 0.871 GB, free: 8.691 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6305, allocations: 0 / 0.871 GB, free: 8.691 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.07e-05/0.6305, allocations: 1.75 kB / 0.871 GB, free: 8.691 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003186/0.6337, allocations: 1.729 MB / 0.8727 GB, free: 7.355 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.6337, allocations: 12.02 kB / 0.8727 GB, free: 7.352 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/0.636, allocations: 406.3 kB / 0.8731 GB, free: 7.168 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.6383, allocations: 1.168 MB / 0.8743 GB, free: 6.238 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/0.6383, allocations: 61.41 kB / 0.8743 GB, free: 6.211 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.6385, allocations: 87.06 kB / 0.8744 GB, free: 6.18 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.6406, allocations: 1 MB / 0.8754 GB, free: 5.52 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.6406, allocations: 1.406 kB / 0.8754 GB, free: 5.52 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.148e-05/0.6407, allocations: 43.8 kB / 0.8754 GB, free: 5.484 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.6407, allocations: 19.88 kB / 0.8754 GB, free: 5.484 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.6431, allocations: 0.8651 MB / 0.8763 GB, free: 5.059 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.006654/0.6498, allocations: 4.964 MB / 0.8811 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/0.6535, allocations: 0.821 MB / 0.8819 GB, free: 232 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/0.6543, allocations: 313.8 kB / 0.8822 GB, free: 76 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007531/0.6551, allocations: 0.9073 MB / 0.8831 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.6551, allocations: 41.5 kB / 0.8832 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.805e-06/0.6551, allocations: 0.5625 kB / 0.8832 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.008577/0.6637, allocations: 1.757 MB / 0.8849 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.6638, allocations: 61.12 kB / 0.8849 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.6658, allocations: 1.075 MB / 0.886 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.6659, allocations: 38.27 kB / 0.886 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.6664, allocations: 0.5292 MB / 0.8865 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.6665, allocations: 163.5 kB / 0.8867 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.6668, allocations: 142 kB / 0.8868 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6669, allocations: 331.3 kB / 0.8871 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009755/0.6679, allocations: 324.7 kB / 0.8874 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.6691, allocations: 0.5378 MB / 0.888 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.6709, allocations: 0.7207 MB / 0.8887 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.671, allocations: 1.281 kB / 0.8887 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00397/0.6749, allocations: 1.199 MB / 0.8898 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.675, allocations: 13.84 kB / 0.8899 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.675, allocations: 6.406 kB / 0.8899 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.6763, allocations: 306.5 kB / 0.8902 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.6769, allocations: 133.1 kB / 0.8903 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.6783, allocations: 0.8985 MB / 0.8912 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.6797, allocations: 157.1 kB / 0.8913 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/0.6798, allocations: 31.61 kB / 0.8913 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001255/0.6811, allocations: 0.5261 MB / 0.8919 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001096/0.6822, allocations: 0.5351 MB / 0.8924 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001768/0.684, allocations: 0.7092 MB / 0.8931 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.501e-06/0.684, allocations: 6.156 kB / 0.8931 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003728/0.6877, allocations: 1.173 MB / 0.8942 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.6878, allocations: 10.69 kB / 0.8942 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6878, allocations: 6.781 kB / 0.8942 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.6889, allocations: 296 kB / 0.8945 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.6895, allocations: 140.6 kB / 0.8947 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.6909, allocations: 0.8956 MB / 0.8955 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.6923, allocations: 134.9 kB / 0.8957 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.6924, allocations: 31.36 kB / 0.8957 GB, free: 6.852 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (61): * Single equations (assignments): 60 * 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.0002526/0.6926, allocations: 224.5 kB / 0.8959 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.6928, allocations: 113.6 kB / 0.896 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004022/0.6968, allocations: 1.125 MB / 0.8971 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6969, allocations: 0 / 0.8971 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.6969, allocations: 6.562 kB / 0.8971 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.6974, allocations: 262.1 kB / 0.8974 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.6975, allocations: 14.64 kB / 0.8974 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008039/0.6984, allocations: 67.73 kB / 0.8974 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.886e-05/0.6984, allocations: 31.73 kB / 0.8975 GB, free: 5.656 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.002863/0.7013, allocations: 0.7877 MB / 0.8982 GB, free: 5.109 MB / 0.6856 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Examples.Carnot_TCon could not be translated