Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.00211/0.00211, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002809/0.002809, allocations: 209.5 kB / 23 MB, free: 4.934 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.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.504/3.504, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.Examples.Carnot_TCon,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.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,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.Examples.Carnot_TCon") [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.002077/0.002077, allocations: 62.91 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4399, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06943/0.5093, allocations: 56.59 MB / 1.382 GB, free: 8.195 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01873/0.528, allocations: 11.15 MB / 1.393 GB, free: 13.01 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002846/0.5309, allocations: 83.25 kB / 1.393 GB, free: 12.93 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.5331, allocations: 0.6791 MB / 1.394 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0068/0.5399, allocations: 2.079 MB / 1.396 GB, free: 10.16 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.5437, allocations: 1.231 MB / 1.397 GB, free: 8.938 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005265/0.549, allocations: 3.114 MB / 1.4 GB, free: 5.816 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.5507, allocations: 0.874 MB / 1.401 GB, free: 4.906 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004186/0.5549, allocations: 1.535 MB / 1.403 GB, free: 3.367 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.5566, allocations: 0.9179 MB / 1.403 GB, free: 2.445 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.5568, allocations: 112 kB / 1.404 GB, free: 2.336 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.5596, allocations: 1.205 MB / 1.405 GB, free: 1.129 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.5599, allocations: 290.8 kB / 1.405 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007642/0.5607, allocations: 0.5598 MB / 1.406 GB, free: 288 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00382/0.5645, allocations: 2.269 MB / 1.408 GB, free: 14 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.5645, allocations: 0 / 1.408 GB, free: 14 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5645, allocations: 4 kB / 1.408 GB, free: 14 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.619e-05/0.5646, allocations: 0 / 1.408 GB, free: 14 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.003665/0.5682, allocations: 1.696 MB / 1.409 GB, free: 12.26 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.5683, allocations: 11.97 kB / 1.409 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/0.5706, allocations: 419.6 kB / 1.41 GB, free: 11.84 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.5732, allocations: 1.124 MB / 1.411 GB, free: 10.66 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/0.5733, allocations: 62 kB / 1.411 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.5734, allocations: 80 kB / 1.411 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.5756, allocations: 1.081 MB / 1.412 GB, free: 9.367 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.5757, allocations: 0 / 1.412 GB, free: 9.367 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.5758, allocations: 32 kB / 1.412 GB, free: 9.336 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.5758, allocations: 20 kB / 1.412 GB, free: 9.316 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.5781, allocations: 0.8586 MB / 1.413 GB, free: 8.457 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.006637/0.5847, allocations: 3.745 MB / 1.417 GB, free: 4.602 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/0.5882, allocations: 0.7495 MB / 1.417 GB, free: 3.84 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007317/0.5889, allocations: 284.6 kB / 1.418 GB, free: 3.559 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/0.5893, allocations: 83.94 kB / 1.418 GB, free: 3.477 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.5893, allocations: 38.56 kB / 1.418 GB, free: 3.43 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/0.5893, allocations: 0 / 1.418 GB, free: 3.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=43): time 0.008597/0.5979, allocations: 1.762 MB / 1.42 GB, free: 1.656 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.5979, allocations: 59.41 kB / 1.42 GB, free: 1.586 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.5995, allocations: 0.9593 MB / 1.421 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.371e-05/0.5996, allocations: 33.7 kB / 1.421 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/0.6001, allocations: 0.5469 MB / 1.421 GB, free: 12 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.6003, allocations: 158.7 kB / 1.421 GB, free: 15.85 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.6005, allocations: 134.3 kB / 1.421 GB, free: 15.71 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.6007, allocations: 334 kB / 1.422 GB, free: 15.38 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009146/0.6016, allocations: 303.3 kB / 1.422 GB, free: 15.09 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.603, allocations: 0.9401 MB / 1.423 GB, free: 13.95 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.6047, allocations: 0.7174 MB / 1.424 GB, free: 13.16 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.6047, allocations: 4 kB / 1.424 GB, free: 13.15 MB / 1.123 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002773/0.6075, allocations: 1.009 MB / 1.425 GB, free: 12.13 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6075, allocations: 8 kB / 1.425 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.6075, allocations: 4 kB / 1.425 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.6088, allocations: 304.5 kB / 1.425 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.6094, allocations: 131.8 kB / 1.425 GB, free: 11.69 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.611, allocations: 0.8979 MB / 1.426 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.6121, allocations: 139.5 kB / 1.426 GB, free: 10.63 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/0.6122, allocations: 32 kB / 1.426 GB, free: 10.6 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001246/0.6134, allocations: 0.5122 MB / 1.427 GB, free: 10.09 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001301/0.6147, allocations: 0.9362 MB / 1.427 GB, free: 8.953 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001662/0.6164, allocations: 0.7022 MB / 1.428 GB, free: 8.18 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.711e-06/0.6164, allocations: 4 kB / 1.428 GB, free: 8.176 MB / 1.123 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002698/0.6191, allocations: 0.9855 MB / 1.429 GB, free: 7.18 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6191, allocations: 8 kB / 1.429 GB, free: 7.172 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.6191, allocations: 11.94 kB / 1.429 GB, free: 7.16 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.6202, allocations: 300.4 kB / 1.429 GB, free: 6.867 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/0.6208, allocations: 119.9 kB / 1.43 GB, free: 6.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.6222, allocations: 0.8984 MB / 1.43 GB, free: 5.828 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.6233, allocations: 131.7 kB / 1.431 GB, free: 5.699 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.6234, allocations: 31.92 kB / 1.431 GB, free: 5.668 MB / 1.123 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 (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.0002693/0.6237, allocations: 232 kB / 1.431 GB, free: 5.434 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.6239, allocations: 99.34 kB / 1.431 GB, free: 5.336 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0038/0.6277, allocations: 1.08 MB / 1.432 GB, free: 4.242 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.6277, allocations: 4 kB / 1.432 GB, free: 4.238 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.6277, allocations: 96 / 1.432 GB, free: 4.238 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.6281, allocations: 183 kB / 1.432 GB, free: 4.059 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.6283, allocations: 19.88 kB / 1.432 GB, free: 4.039 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/0.629, allocations: 63.92 kB / 1.432 GB, free: 3.977 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.6291, allocations: 28.38 kB / 1.432 GB, free: 3.949 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.002773/0.6318, allocations: 0.7583 MB / 1.433 GB, free: 3.191 MB / 1.123 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 " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 8.002947731001768] Failed to read output from testmodel.py, exit status != 0: 0.6405512809942593 0.6547349849999999 0.08698066 Calling exit ...