Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01301/0.01301, allocations: 1.749 MB / 21.34 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] 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.00163/0.00163, allocations: 105.5 kB / 24.94 MB, free: 2.176 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.002137/0.002137, allocations: 207.8 kB / 28.67 MB, free: 3.461 MB / 19.63 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.491/1.491, allocations: 230.6 MB / 262.8 MB, free: 6.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.055/1.055, allocations: 130.7 MB / 450.4 MB, free: 6.555 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.T_w_a|hex.wall.T_w_i",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.T_w_a|hex.wall.T_w_i",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03378/0.03378, allocations: 20.78 MB / 0.637 GB, free: 4.613 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.2111, allocations: 81.91 MB / 0.717 GB, free: 2.605 MB / 0.5294 GB Notification: TILMedia 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu): time 0.5822/0.7934, allocations: 60.91 MB / 0.7764 GB, free: 9.387 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04466/0.838, allocations: 25.72 MB / 0.8016 GB, free: 6.863 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.8481, allocations: 150.2 kB / 0.8017 GB, free: 6.797 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009882/0.8579, allocations: 2.706 MB / 0.8043 GB, free: 4.859 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01763/0.8756, allocations: 4.621 MB / 0.8089 GB, free: 1.113 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01361/0.8892, allocations: 4.556 MB / 0.8133 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02357/0.9128, allocations: 11.77 MB / 0.8248 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008868/0.9216, allocations: 3.654 MB / 0.8284 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01234/0.934, allocations: 4.843 MB / 0.8331 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01087/0.9448, allocations: 4.946 MB / 0.8379 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00431/0.9491, allocations: 0.8477 MB / 0.8388 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.9617, allocations: 3.475 MB / 0.8422 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005305/0.967, allocations: 2.34 MB / 0.8444 GB, free: 140 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01018/0.9772, allocations: 4.073 MB / 0.8484 GB, free: 12.04 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02687/1.004, allocations: 12.87 MB / 0.861 GB, free: 15.13 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.004, allocations: 2.688 kB / 0.861 GB, free: 15.13 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.024e-06/1.004, allocations: 0 / 0.861 GB, free: 15.13 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004211/1.004, allocations: 0 / 0.861 GB, free: 15.13 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1448 * Number of variables: 1448 Notification: Performance of Generate backend data structure: time 0.0266/1.031, allocations: 8.271 MB / 0.8691 GB, free: 6.816 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.031, allocations: 12.03 kB / 0.8691 GB, free: 6.805 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/1.036, allocations: 0.9667 MB / 0.87 GB, free: 5.836 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01587/1.052, allocations: 6.385 MB / 0.8763 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005885/1.052, allocations: 393.9 kB / 0.8766 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001576/1.054, allocations: 346.6 kB / 0.877 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02767/1.081, allocations: 9.503 MB / 0.8862 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002052/1.082, allocations: 39.62 kB / 0.8863 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001445/1.083, allocations: 186.7 kB / 0.8865 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003624/1.083, allocations: 213.2 kB / 0.8867 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02477/1.108, allocations: 7.501 MB / 0.894 GB, free: 12.27 MB / 0.67 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.05733/1.166, allocations: 37.74 MB / 0.9308 GB, free: 5.406 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02182/1.187, allocations: 6.628 MB / 0.9373 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007996/1.195, allocations: 2.411 MB / 0.9397 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/1.197, allocations: 287.2 kB / 0.9399 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/1.197, allocations: 96.06 kB / 0.94 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004917/1.202, allocations: 0.6958 MB / 0.9407 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=812): time 1.909e-05/1.202, allocations: 0 / 0.9407 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=812): time 0.0472/1.249, allocations: 12.75 MB / 0.9532 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008808/1.25, allocations: 1.419 MB / 0.9546 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01349/1.263, allocations: 5.311 MB / 0.9597 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001489/1.265, allocations: 85.7 kB / 0.9598 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003193/1.268, allocations: 2.56 MB / 0.9623 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004154/1.272, allocations: 2.749 MB / 0.965 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005965/1.278, allocations: 1.632 MB / 0.9666 GB, free: 160 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.278, allocations: 307.8 kB / 0.9669 GB, free: 15.86 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008013/1.286, allocations: 3.095 MB / 0.9699 GB, free: 12.75 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/1.297, allocations: 5.363 MB / 0.9752 GB, free: 6.453 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2493/1.546, allocations: 31.1 MB / 1.006 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-05/1.547, allocations: 20 kB / 1.006 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02923/1.576, allocations: 9.686 MB / 1.015 GB, free: 12.87 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.576, allocations: 32 kB / 1.015 GB, free: 12.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02179/1.598, allocations: 7.327 MB / 1.022 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05239/1.65, allocations: 4.429 MB / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008607/1.659, allocations: 2.137 MB / 1.029 GB, free: 14.89 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004562/1.663, allocations: 2.799 MB / 1.031 GB, free: 11.95 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006974/1.67, allocations: 379.8 kB / 1.032 GB, free: 11.57 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/1.672, allocations: 0.5308 MB / 1.032 GB, free: 11.04 MB / 0.8107 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01225/1.684, allocations: 4.202 MB / 1.036 GB, free: 6.84 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01098/1.695, allocations: 5.307 MB / 1.042 GB, free: 0.5352 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6341/2.33, allocations: 27.41 MB / 1.068 GB, free: 342.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001055/2.33, allocations: 15.84 kB / 1.068 GB, free: 342.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.03172/2.361, allocations: 9.487 MB / 1.078 GB, free: 339.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/2.361, allocations: 32.06 kB / 1.078 GB, free: 339.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01778/2.379, allocations: 7.046 MB / 1.084 GB, free: 337.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002766/2.382, allocations: 426.9 kB / 1.085 GB, free: 337 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007575/2.39, allocations: 2.185 MB / 1.087 GB, free: 336.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/2.391, allocations: 2.217 MB / 1.089 GB, free: 334.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006579/2.398, allocations: 387 kB / 1.09 GB, free: 334.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/2.4, allocations: 0.5257 MB / 1.09 GB, free: 334.6 MB / 0.8263 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 287 * 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 (1056): * Single equations (assignments): 1054 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,34)} Notification: Performance of prepare postOptimizeDAE: time 0.003271/2.403, allocations: 0.6586 MB / 1.091 GB, free: 334.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003563/2.407, allocations: 0.6897 MB / 1.091 GB, free: 334.1 MB / 0.8263 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 1294 equation(s) and 1237 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_pT.mo:55:3-60:21:writable] Error: (hex.shell.heattransfer.fluid_wall.q, hex.shell.heattransfer.cp_w, hex.shell.heattransfer.fluid_wall.cv, hex.shell.heattransfer.fluid_wall.beta, hex.shell.heattransfer.fluid_wall.kappa, hex.shell.heattransfer.fluid_wall.drhodp_hxi, hex.shell.heattransfer.fluid_wall.drhodh_pxi, _, hex.shell.heattransfer.fluid_wall.w, hex.shell.heattransfer.fluid_wall.gamma) = ($cse336, $cse337, $cse338, $cse339, $cse340, $cse341, $cse342, $cse343, $cse344, $cse345) has size 9 but 8 variables ($cse159, $cse160, $cse161, $cse162, hex.tubes.fluidOut.transp.Pr, hex.tubes.fluidOut.transp.lambda, hex.tubes.fluidOut.transp.eta, hex.tubes.fluidOut.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0203/2.427, allocations: 10.29 MB / 1.101 GB, free: 327.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.390697394032031] Failed to read output from testmodel.py, exit status != 0: 2.5843022549524903 2.59584059 1.589073484 Calling exit ...