Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.005862/0.005862, allocations: 1.442 MB / 20.54 MB, free: 4.012 MB / 18.57 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.0006801/0.0006801, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0007253/0.0007253, allocations: 165.8 kB / 27.86 MB, free: 5.496 MB / 18.57 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 0.8219/0.8219, allocations: 177.1 MB / 208.6 MB, free: 2.977 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6559/0.6559, allocations: 102.5 MB / 367.9 MB, free: 1.453 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.5.2 (/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_dev_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_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 1.25 kB / 0.5367 GB, free: 39.86 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.253e-05, allocations: 5.125 kB / 0.5367 GB, free: 39.86 MB / 490.8 MB 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.1131/0.1132, allocations: 70.8 MB / 0.6058 GB, free: 5.172 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02864/0.1418, allocations: 24.41 MB / 0.6296 GB, free: 12.69 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004493/0.1463, allocations: 146.9 kB / 0.6298 GB, free: 12.55 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.00437/0.1507, allocations: 2.637 MB / 0.6324 GB, free: 9.895 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.00807/0.1587, allocations: 4.776 MB / 0.637 GB, free: 5.09 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007097/0.1658, allocations: 4.619 MB / 0.6415 GB, free: 472 kB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.1775, allocations: 12.06 MB / 0.6533 GB, free: 4.359 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004359/0.1819, allocations: 3.914 MB / 0.6571 GB, free: 384 kB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007283/0.1892, allocations: 6.653 MB / 0.6636 GB, free: 9.707 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004579/0.1938, allocations: 4.06 MB / 0.6676 GB, free: 5.641 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.1948, allocations: 0.8438 MB / 0.6684 GB, free: 4.797 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.1988, allocations: 2.604 MB / 0.671 GB, free: 2.188 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.2001, allocations: 2.371 MB / 0.6733 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002056/0.2022, allocations: 2.611 MB / 0.6758 GB, free: 13.19 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.009463/0.2116, allocations: 12.7 MB / 0.6882 GB, free: 464 kB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2116, allocations: 0 / 0.6882 GB, free: 464 kB / 0.573 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2116, allocations: 0 / 0.6882 GB, free: 464 kB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001161/0.2118, allocations: 0 / 0.6882 GB, free: 464 kB / 0.573 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.009563/0.2213, allocations: 8.172 MB / 0.6962 GB, free: 8.195 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2214, allocations: 12.03 kB / 0.6962 GB, free: 8.184 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.2229, allocations: 0.9676 MB / 0.6972 GB, free: 7.211 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006559/0.2294, allocations: 6.392 MB / 0.7034 GB, free: 0.7344 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/0.2297, allocations: 393.9 kB / 0.7038 GB, free: 332 kB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/0.23, allocations: 348 kB / 0.7041 GB, free: 15.98 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.2422, allocations: 11.34 MB / 0.7152 GB, free: 3.141 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.159e-05/0.2422, allocations: 43.56 kB / 0.7152 GB, free: 3.098 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/0.2425, allocations: 180 kB / 0.7154 GB, free: 2.922 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.2427, allocations: 213.2 kB / 0.7156 GB, free: 2.711 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/0.2541, allocations: 7.476 MB / 0.7229 GB, free: 11.21 MB / 0.6199 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.02233/0.2764, allocations: 34.87 MB / 0.757 GB, free: 7.254 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009951/0.2864, allocations: 6.619 MB / 0.7634 GB, free: 432 kB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2236/0.5099, allocations: 2.384 MB / 0.7657 GB, free: 177.9 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/0.5106, allocations: 263.5 kB / 0.766 GB, free: 177.9 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.752e-05/0.5107, allocations: 97.05 kB / 0.7661 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002458/0.5131, allocations: 0.682 MB / 0.7668 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=812): time 8.246e-06/0.5131, allocations: 0.5625 kB / 0.7668 GB, free: 177.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=812): time 0.02201/0.5351, allocations: 12.74 MB / 0.7792 GB, free: 174.4 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002224/0.5354, allocations: 1.418 MB / 0.7806 GB, free: 172.7 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007359/0.5427, allocations: 5.294 MB / 0.7858 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.000667/0.5434, allocations: 84.14 kB / 0.7858 GB, free: 170.5 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.5446, allocations: 2.562 MB / 0.7883 GB, free: 168.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001508/0.5461, allocations: 2.715 MB / 0.791 GB, free: 166.4 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00225/0.5484, allocations: 1.618 MB / 0.7926 GB, free: 165.5 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.451e-05/0.5484, allocations: 306.4 kB / 0.7929 GB, free: 165.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004325/0.5527, allocations: 3.098 MB / 0.7959 GB, free: 163.5 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00521/0.5579, allocations: 6.147 MB / 0.8019 GB, free: 157.9 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1093/0.6672, allocations: 31.11 MB / 0.8323 GB, free: 133.1 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.868e-05/0.6673, allocations: 20 kB / 0.8323 GB, free: 133.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.0117/0.679, allocations: 9.675 MB / 0.8417 GB, free: 123.4 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.679, allocations: 32 kB / 0.8418 GB, free: 123.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007962/0.687, allocations: 7.331 MB / 0.8489 GB, free: 116 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02354/0.7105, allocations: 4.432 MB / 0.8533 GB, free: 111.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004461/0.715, allocations: 2.137 MB / 0.8553 GB, free: 109.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.7169, allocations: 2.755 MB / 0.858 GB, free: 106.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003837/0.7207, allocations: 393 kB / 0.8584 GB, free: 106.2 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005154/0.7212, allocations: 0.5269 MB / 0.8589 GB, free: 105.6 MB / 0.6512 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.005582/0.7268, allocations: 4.206 MB / 0.863 GB, free: 101.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003877/0.7307, allocations: 6.092 MB / 0.869 GB, free: 94.14 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08742/0.8181, allocations: 27.42 MB / 0.8958 GB, free: 65.84 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.088e-05/0.8182, allocations: 19.19 kB / 0.8958 GB, free: 65.82 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01158/0.8297, allocations: 9.472 MB / 0.905 GB, free: 56.3 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.8298, allocations: 32.19 kB / 0.9051 GB, free: 56.27 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007791/0.8375, allocations: 7.038 MB / 0.9119 GB, free: 49.17 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.8387, allocations: 428 kB / 0.9123 GB, free: 48.75 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/0.8421, allocations: 2.181 MB / 0.9145 GB, free: 46.56 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009631/0.843, allocations: 2.198 MB / 0.9166 GB, free: 44.25 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/0.8463, allocations: 384.5 kB / 0.917 GB, free: 43.87 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004722/0.8468, allocations: 0.5256 MB / 0.9175 GB, free: 43.34 MB / 0.6512 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.00156/0.8483, allocations: 0.6527 MB / 0.9181 GB, free: 42.73 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/0.8495, allocations: 0.6827 MB / 0.9188 GB, free: 42.04 MB / 0.6512 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.009812/0.8593, allocations: 10.32 MB / 0.9289 GB, free: 32.1 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5931608406826854] Failed to read output from testmodel.py, exit status != 0: 0.9856715425848961 1.21482678 0.780457828 Calling exit ...