Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 111.9 kB / 16.42 MB, free: 6.445 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.001653/0.001653, allocations: 185.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7584, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05819/0.8166, allocations: 61.29 MB / 1.227 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.8332, allocations: 12.01 MB / 1.239 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.8351, allocations: 59.62 kB / 1.239 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.8373, allocations: 0.6947 MB / 1.24 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.8428, allocations: 2.077 MB / 1.242 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.8466, allocations: 1.209 MB / 1.243 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004601/0.8512, allocations: 3.099 MB / 1.246 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.8531, allocations: 1.123 MB / 1.247 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/0.8565, allocations: 1.374 MB / 1.248 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.8583, allocations: 0.9062 MB / 1.249 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003821/0.8587, allocations: 116 kB / 1.249 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003146/0.8618, allocations: 1.435 MB / 1.251 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004353/0.8623, allocations: 294.8 kB / 1.251 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.8636, allocations: 0.7075 MB / 1.252 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003948/0.8675, allocations: 2.3 MB / 1.254 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.8675, allocations: 8 kB / 1.254 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8675, allocations: 0 / 1.254 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.403e-05/0.8676, allocations: 0 / 1.254 GB, free: 10.8 MB / 0.9825 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.003709/0.8713, allocations: 1.734 MB / 1.256 GB, free: 9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.8714, allocations: 8.922 kB / 1.256 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/0.8737, allocations: 410.8 kB / 1.256 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.8763, allocations: 1.171 MB / 1.257 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.8763, allocations: 66 kB / 1.257 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.8765, allocations: 80 kB / 1.257 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.8787, allocations: 1.021 MB / 1.258 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.8787, allocations: 3.938 kB / 1.258 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/0.8788, allocations: 32 kB / 1.258 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.8789, allocations: 20 kB / 1.258 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.8813, allocations: 0.886 MB / 1.259 GB, free: 5.199 MB / 0.9825 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.00661/0.8879, allocations: 5.236 MB / 1.264 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/0.8915, allocations: 0.7969 MB / 1.265 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/0.8923, allocations: 319.1 kB / 1.265 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000634/0.8929, allocations: 0.9024 MB / 1.266 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.893, allocations: 50.42 kB / 1.266 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.345e-06/0.893, allocations: 0 / 1.266 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.008733/0.9017, allocations: 1.895 MB / 1.268 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.9018, allocations: 59.34 kB / 1.268 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.9035, allocations: 1.08 MB / 1.269 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.9036, allocations: 41.7 kB / 1.269 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.904, allocations: 0.5389 MB / 1.27 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.9042, allocations: 149.8 kB / 1.27 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.9044, allocations: 138.1 kB / 1.27 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9045, allocations: 330 kB / 1.27 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009652/0.9055, allocations: 323.2 kB / 1.271 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.9067, allocations: 0.5502 MB / 1.271 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.9085, allocations: 0.7463 MB / 1.272 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.9085, allocations: 4 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003848/0.9124, allocations: 1.176 MB / 1.273 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.9124, allocations: 8 kB / 1.273 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.9125, allocations: 4 kB / 1.273 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.9137, allocations: 306.9 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/0.9144, allocations: 139.8 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.9158, allocations: 0.8996 MB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.9171, allocations: 155.2 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-05/0.9172, allocations: 31.98 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001301/0.9185, allocations: 0.5285 MB / 1.275 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001157/0.9197, allocations: 0.5424 MB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001812/0.9215, allocations: 0.7295 MB / 1.276 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/0.9215, allocations: 4 kB / 1.276 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003733/0.9253, allocations: 1.157 MB / 1.278 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.9253, allocations: 8 kB / 1.278 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.9253, allocations: 7.938 kB / 1.278 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.9264, allocations: 300.7 kB / 1.278 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.927, allocations: 135.8 kB / 1.278 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.9285, allocations: 0.894 MB / 1.279 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.9298, allocations: 147.5 kB / 1.279 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.101e-05/0.9298, allocations: 36 kB / 1.279 GB, free: 15.79 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002393/0.9301, allocations: 218.3 kB / 1.279 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.9303, allocations: 110.6 kB / 1.279 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004014/0.9344, allocations: 1.12 MB / 1.28 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.9344, allocations: 3.984 kB / 1.28 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.9344, allocations: 0 / 1.28 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/0.9349, allocations: 267.4 kB / 1.281 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.9351, allocations: 12 kB / 1.281 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008588/0.936, allocations: 83.84 kB / 1.281 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.936, allocations: 32.33 kB / 1.281 GB, free: 13.91 MB / 1.014 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.002876/0.9389, allocations: 0.781 MB / 1.282 GB, free: 13.13 MB / 1.014 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature could not be translated