Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 106.6 kB / 16.41 MB, free: 6.387 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.001575/0.001575, allocations: 187.9 kB / 17.34 MB, free: 5.84 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.384/1.384, 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.476/2.476, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 71.83 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.7918, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05645/0.8483, allocations: 61.24 MB / 1.227 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.864, allocations: 12.01 MB / 1.239 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.8661, allocations: 59.62 kB / 1.239 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.8679, allocations: 0.687 MB / 1.24 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004889/0.8728, allocations: 2.068 MB / 1.242 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.8755, allocations: 1.205 MB / 1.243 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003537/0.879, allocations: 3.091 MB / 1.246 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.8803, allocations: 1.096 MB / 1.247 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.8828, allocations: 1.367 MB / 1.248 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.884, allocations: 0.8984 MB / 1.249 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.8842, allocations: 116 kB / 1.249 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.8867, allocations: 1.458 MB / 1.251 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.887, allocations: 294.9 kB / 1.251 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006418/0.8876, allocations: 0.688 MB / 1.252 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.8908, allocations: 2.313 MB / 1.254 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.8908, allocations: 4 kB / 1.254 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8908, allocations: 3.938 kB / 1.254 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.8908, allocations: 0 / 1.254 GB, free: 10.95 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003421/0.8943, allocations: 1.787 MB / 1.256 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.8943, allocations: 8.922 kB / 1.256 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.896, allocations: 343.7 kB / 1.256 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.8983, allocations: 1.164 MB / 1.257 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.8983, allocations: 62 kB / 1.257 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.8985, allocations: 87.98 kB / 1.257 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.9003, allocations: 0.9703 MB / 1.258 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.9004, allocations: 0 / 1.258 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.9005, allocations: 32 kB / 1.258 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.9005, allocations: 20 kB / 1.258 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.9024, allocations: 0.804 MB / 1.259 GB, free: 5.504 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.005767/0.9082, allocations: 5.149 MB / 1.264 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.9097, allocations: 0.5516 MB / 1.265 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005685/0.9102, allocations: 264.6 kB / 1.265 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/0.9115, allocations: 1.376 MB / 1.266 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.9116, allocations: 38.56 kB / 1.266 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.9116, allocations: 0 / 1.266 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43): time 0.007869/0.9195, allocations: 1.763 MB / 1.268 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.9195, allocations: 59.34 kB / 1.268 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.9212, allocations: 1.079 MB / 1.269 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.9212, allocations: 33.7 kB / 1.269 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/0.9217, allocations: 0.5437 MB / 1.27 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.9218, allocations: 158.7 kB / 1.27 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.922, allocations: 138.2 kB / 1.27 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.9221, allocations: 322 kB / 1.27 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007443/0.9229, allocations: 279.3 kB / 1.27 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009279/0.9238, allocations: 0.4978 MB / 1.271 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.9252, allocations: 0.656 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.9252, allocations: 0 / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00241/0.9277, allocations: 0.9699 MB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.9277, allocations: 8 kB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.9277, allocations: 4 kB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.9289, allocations: 304.7 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.9294, allocations: 123.8 kB / 1.273 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.9308, allocations: 0.8958 MB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.9319, allocations: 147.3 kB / 1.274 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.932, allocations: 31.98 kB / 1.274 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009992/0.933, allocations: 489.2 kB / 1.274 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009826/0.934, allocations: 0.5017 MB / 1.275 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001421/0.9355, allocations: 0.6504 MB / 1.276 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.619e-06/0.9355, allocations: 0 / 1.276 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002506/0.938, allocations: 0.947 MB / 1.276 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.938, allocations: 8 kB / 1.277 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.938, allocations: 4 kB / 1.277 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.9391, allocations: 301.5 kB / 1.277 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.9396, allocations: 119.9 kB / 1.277 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.941, allocations: 0.9025 MB / 1.278 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.9421, allocations: 131.6 kB / 1.278 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.9422, allocations: 31.98 kB / 1.278 GB, free: 0.9102 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0001886/0.9424, allocations: 216.1 kB / 1.278 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.9426, allocations: 115.2 kB / 1.278 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/0.946, allocations: 1.059 MB / 1.279 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.946, allocations: 3.984 kB / 1.279 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.946, allocations: 0 / 1.279 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/0.9464, allocations: 264.1 kB / 1.28 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.9466, allocations: 12 kB / 1.28 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007098/0.9473, allocations: 63.88 kB / 1.28 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.9474, allocations: 24.39 kB / 1.28 GB, free: 15.13 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.002998/0.9504, allocations: 0.7443 MB / 1.28 GB, free: 14.38 MB / 1.014 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity could not be translated