Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 216.1 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.428/3.428, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 66.38 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3906, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06772/0.4583, allocations: 56.62 MB / 1.382 GB, free: 8.164 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01982/0.4781, allocations: 11.15 MB / 1.393 GB, free: 12.99 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003529/0.4817, allocations: 79.31 kB / 1.393 GB, free: 12.91 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.4842, allocations: 0.6713 MB / 1.394 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006302/0.4905, allocations: 2.08 MB / 1.396 GB, free: 10.14 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.4938, allocations: 1.236 MB / 1.397 GB, free: 8.918 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004684/0.4984, allocations: 3.124 MB / 1.4 GB, free: 5.789 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.5, allocations: 0.8624 MB / 1.401 GB, free: 4.891 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.5038, allocations: 1.549 MB / 1.403 GB, free: 3.34 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.5055, allocations: 0.914 MB / 1.404 GB, free: 2.422 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.5058, allocations: 112 kB / 1.404 GB, free: 2.312 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.5085, allocations: 1.224 MB / 1.405 GB, free: 1.086 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003301/0.5088, allocations: 302.7 kB / 1.405 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007051/0.5095, allocations: 0.5481 MB / 1.406 GB, free: 244 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003876/0.5134, allocations: 2.305 MB / 1.408 GB, free: 13.93 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5134, allocations: 7.938 kB / 1.408 GB, free: 13.92 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5134, allocations: 0 / 1.408 GB, free: 13.92 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.5134, allocations: 0 / 1.408 GB, free: 13.92 MB / 1.107 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.003265/0.5167, allocations: 1.7 MB / 1.41 GB, free: 12.18 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5167, allocations: 12.02 kB / 1.41 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.5184, allocations: 343.7 kB / 1.41 GB, free: 11.83 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/0.5208, allocations: 1.108 MB / 1.411 GB, free: 10.67 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/0.5209, allocations: 66 kB / 1.411 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.521, allocations: 84 kB / 1.411 GB, free: 10.52 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.5231, allocations: 1.049 MB / 1.412 GB, free: 9.395 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.5231, allocations: 0 / 1.412 GB, free: 9.395 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.948e-05/0.5232, allocations: 35.98 kB / 1.412 GB, free: 9.359 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.5232, allocations: 20 kB / 1.412 GB, free: 9.34 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.5253, allocations: 0.8001 MB / 1.413 GB, free: 8.539 MB / 1.107 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.007913/0.5332, allocations: 3.664 MB / 1.417 GB, free: 4.766 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.535, allocations: 0.5272 MB / 1.417 GB, free: 4.223 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/0.5357, allocations: 236.7 kB / 1.417 GB, free: 3.988 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009849/0.5367, allocations: 183.8 kB / 1.418 GB, free: 3.809 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.5368, allocations: 38.56 kB / 1.418 GB, free: 3.762 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 4.709e-06/0.5368, allocations: 0 / 1.418 GB, free: 3.762 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.008483/0.5453, allocations: 1.676 MB / 1.419 GB, free: 2.074 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.5453, allocations: 63.3 kB / 1.419 GB, free: 2 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.5471, allocations: 0.9516 MB / 1.42 GB, free: 1.027 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.873e-05/0.5472, allocations: 37.7 kB / 1.42 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004925/0.5477, allocations: 0.5508 MB / 1.421 GB, free: 436 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.5478, allocations: 162.6 kB / 1.421 GB, free: 272 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.5481, allocations: 130.3 kB / 1.421 GB, free: 136 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5482, allocations: 334 kB / 1.421 GB, free: 15.8 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/0.549, allocations: 279.3 kB / 1.422 GB, free: 15.53 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.5503, allocations: 0.9072 MB / 1.422 GB, free: 14.42 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.5518, allocations: 0.6597 MB / 1.423 GB, free: 13.7 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.5518, allocations: 4 kB / 1.423 GB, free: 13.69 MB / 1.123 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002761/0.5546, allocations: 0.9465 MB / 1.424 GB, free: 12.73 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.5546, allocations: 8 kB / 1.424 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5547, allocations: 4 kB / 1.424 GB, free: 12.72 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.556, allocations: 292.7 kB / 1.424 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.5564, allocations: 123.8 kB / 1.424 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.558, allocations: 0.9057 MB / 1.425 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.5592, allocations: 123.6 kB / 1.425 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.5593, allocations: 35.92 kB / 1.426 GB, free: 11.23 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001152/0.5604, allocations: 493.2 kB / 1.426 GB, free: 10.74 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001205/0.5616, allocations: 0.8994 MB / 1.427 GB, free: 9.645 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001476/0.5631, allocations: 0.6511 MB / 1.428 GB, free: 8.926 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.5631, allocations: 0 / 1.428 GB, free: 8.926 MB / 1.123 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002652/0.5657, allocations: 0.931 MB / 1.428 GB, free: 7.984 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5658, allocations: 13.78 kB / 1.428 GB, free: 7.973 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5658, allocations: 4 kB / 1.428 GB, free: 7.969 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.5669, allocations: 284.5 kB / 1.429 GB, free: 7.688 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.5673, allocations: 123.8 kB / 1.429 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.5688, allocations: 0.8828 MB / 1.43 GB, free: 6.66 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.5699, allocations: 127.6 kB / 1.43 GB, free: 6.535 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/0.57, allocations: 31.98 kB / 1.43 GB, free: 6.504 MB / 1.123 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.0002736/0.5702, allocations: 217.3 kB / 1.43 GB, free: 6.285 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.5704, allocations: 107.3 kB / 1.43 GB, free: 6.18 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.5743, allocations: 1.057 MB / 1.431 GB, free: 5.113 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5743, allocations: 7.969 kB / 1.431 GB, free: 5.105 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.5743, allocations: 0 / 1.431 GB, free: 5.105 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/0.5748, allocations: 175.1 kB / 1.431 GB, free: 4.934 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.5749, allocations: 4 kB / 1.431 GB, free: 4.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000632/0.5755, allocations: 59.94 kB / 1.431 GB, free: 4.871 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.011e-05/0.5756, allocations: 36.25 kB / 1.431 GB, free: 4.836 MB / 1.123 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.002674/0.5783, allocations: 0.7219 MB / 1.432 GB, free: 4.113 MB / 1.123 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 " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 7.724924914014991] Failed to read output from testmodel.py, exit status != 0: 0.5873007079935633 0.60209886 0.085361433 Calling exit ...