Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.00212/0.00212, 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.00266/0.00266, allocations: 213.1 kB / 23 MB, free: 4.977 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.328/3.328, allocations: 0.49 GB / 0.7959 GB, free: 35.6 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_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTConEnt.T|senTConLvg.T|senTEvaEnt.T|senTEvaLvg.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTConEnt.T|senTConLvg.T|senTEvaEnt.T|senTEvaLvg.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") [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.002043/0.002043, allocations: 67 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3442, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.0828/0.427, allocations: 68.32 MB / 1.394 GB, free: 12.48 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02104/0.4481, allocations: 12.74 MB / 1.406 GB, free: 15.7 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.4503, allocations: 99.12 kB / 1.406 GB, free: 15.61 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.4525, allocations: 0.7839 MB / 1.407 GB, free: 14.82 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006476/0.4589, allocations: 2.327 MB / 1.409 GB, free: 12.48 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004414/0.4634, allocations: 1.71 MB / 1.411 GB, free: 10.78 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005755/0.4691, allocations: 3.768 MB / 1.415 GB, free: 7 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.4709, allocations: 1.059 MB / 1.416 GB, free: 5.902 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004317/0.4752, allocations: 1.91 MB / 1.418 GB, free: 3.988 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.477, allocations: 1.147 MB / 1.419 GB, free: 2.836 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.4772, allocations: 140 kB / 1.419 GB, free: 2.699 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.4802, allocations: 1.392 MB / 1.42 GB, free: 1.305 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.4805, allocations: 358.5 kB / 1.421 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008353/0.4814, allocations: 0.6804 MB / 1.421 GB, free: 276 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.4854, allocations: 2.721 MB / 1.424 GB, free: 13.54 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4854, allocations: 4 kB / 1.424 GB, free: 13.54 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4854, allocations: 0 / 1.424 GB, free: 13.54 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.725e-05/0.4854, allocations: 0 / 1.424 GB, free: 13.54 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003869/0.4893, allocations: 1.995 MB / 1.426 GB, free: 11.5 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.4893, allocations: 8.031 kB / 1.426 GB, free: 11.49 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002782/0.4921, allocations: 0.4906 MB / 1.426 GB, free: 11 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00285/0.4949, allocations: 1.274 MB / 1.428 GB, free: 9.672 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.495, allocations: 78 kB / 1.428 GB, free: 9.598 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.4952, allocations: 100 kB / 1.428 GB, free: 9.5 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.4979, allocations: 1.221 MB / 1.429 GB, free: 8.215 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.498, allocations: 0 / 1.429 GB, free: 8.215 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.4981, allocations: 47.94 kB / 1.429 GB, free: 8.168 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.4981, allocations: 24 kB / 1.429 GB, free: 8.145 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002948/0.5011, allocations: 1.062 MB / 1.43 GB, free: 7.082 MB / 1.123 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.007348/0.5084, allocations: 4.247 MB / 1.434 GB, free: 2.73 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.511, allocations: 0.878 MB / 1.435 GB, free: 1.848 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.5122, allocations: 428.4 kB / 1.435 GB, free: 1.426 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007816/0.5129, allocations: 188.5 kB / 1.436 GB, free: 1.242 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.513, allocations: 39.22 kB / 1.436 GB, free: 1.195 MB / 1.123 GB Notification: Performance of pre-optimization done (n=65): time 2.986e-06/0.513, allocations: 0 / 1.436 GB, free: 1.195 MB / 1.123 GB Notification: Performance of matching and sorting (n=65): time 0.01049/0.5235, allocations: 2.2 MB / 1.438 GB, free: 14.98 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.5235, allocations: 67.98 kB / 1.438 GB, free: 14.91 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.5251, allocations: 1.007 MB / 1.439 GB, free: 13.89 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.883e-05/0.5252, allocations: 37.7 kB / 1.439 GB, free: 13.84 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/0.5258, allocations: 0.6455 MB / 1.44 GB, free: 13.19 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.5261, allocations: 241.9 kB / 1.44 GB, free: 12.95 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.5264, allocations: 158.6 kB / 1.44 GB, free: 12.79 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.5265, allocations: 326 kB / 1.44 GB, free: 12.47 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.5277, allocations: 404.5 kB / 1.441 GB, free: 12.07 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.5294, allocations: 1.022 MB / 1.442 GB, free: 10.86 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.5318, allocations: 0.9109 MB / 1.443 GB, free: 9.891 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5318, allocations: 0 / 1.443 GB, free: 9.891 MB / 1.139 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004449/0.5363, allocations: 1.359 MB / 1.444 GB, free: 8.52 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.5363, allocations: 8.562 kB / 1.444 GB, free: 8.512 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5363, allocations: 8 kB / 1.444 GB, free: 8.504 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.5377, allocations: 307 kB / 1.444 GB, free: 8.203 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008308/0.5385, allocations: 175.7 kB / 1.444 GB, free: 8.031 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.5401, allocations: 0.888 MB / 1.445 GB, free: 7.117 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.5412, allocations: 139.5 kB / 1.445 GB, free: 6.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.5413, allocations: 43.92 kB / 1.445 GB, free: 6.938 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001561/0.5429, allocations: 0.6112 MB / 1.446 GB, free: 6.324 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001608/0.5445, allocations: 1.01 MB / 1.447 GB, free: 5.129 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002393/0.5469, allocations: 0.9031 MB / 1.448 GB, free: 4.168 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.526e-06/0.5469, allocations: 4 kB / 1.448 GB, free: 4.164 MB / 1.139 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.004298/0.5512, allocations: 1.336 MB / 1.449 GB, free: 2.816 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5512, allocations: 8 kB / 1.449 GB, free: 2.809 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.5512, allocations: 4 kB / 1.449 GB, free: 2.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.5523, allocations: 289.2 kB / 1.449 GB, free: 2.52 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/0.5531, allocations: 171.7 kB / 1.45 GB, free: 2.352 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.5547, allocations: 0.8939 MB / 1.45 GB, free: 1.434 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.5558, allocations: 123.6 kB / 1.451 GB, free: 1.312 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.582e-05/0.5559, allocations: 43.97 kB / 1.451 GB, free: 1.27 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (75): * Single equations (assignments): 74 * 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.000296/0.5562, allocations: 224.1 kB / 1.451 GB, free: 1.043 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.5564, allocations: 127.2 kB / 1.451 GB, free: 0.918 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005649/0.5621, allocations: 1.728 MB / 1.453 GB, free: 15.18 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.5621, allocations: 3.984 kB / 1.453 GB, free: 15.17 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.5621, allocations: 0 / 1.453 GB, free: 15.17 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/0.5627, allocations: 246.8 kB / 1.453 GB, free: 14.93 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.5629, allocations: 15.94 kB / 1.453 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008765/0.5637, allocations: 83.91 kB / 1.453 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.5638, allocations: 48.55 kB / 1.453 GB, free: 14.78 MB / 1.154 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.003661/0.5675, allocations: 1.01 MB / 1.454 GB, free: 13.77 MB / 1.154 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow could not be translated " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 7.425267675003852] Failed to read output from testmodel.py, exit status != 0: 0.5759647469967604 0.59133756 0.10251852700000001 Calling exit ...