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.008892/0.008892, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.0008085/0.0008085, allocations: 85.2 kB / 25.61 MB, free: 6.992 MB / 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.000869/0.000869, allocations: 167.1 kB / 29.46 MB, free: 3.191 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.9709/0.9709, allocations: 177.1 MB / 210.3 MB, free: 3.59 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.6226/0.6226, allocations: 102.4 MB / 369.8 MB, free: 392 kB / 330.7 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 1.0.0 (/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 1.153e-06/1.153e-06, allocations: 0 / 469.9 MB, free: 18.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.866e-05, allocations: 6.719 kB / 469.9 MB, free: 18.96 MB / 410.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.1262/0.1262, allocations: 76.76 MB / 0.5338 GB, free: 11.49 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03168/0.1579, allocations: 25.31 MB / 0.5585 GB, free: 2.109 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005011/0.1629, allocations: 143 kB / 0.5587 GB, free: 1.969 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005156/0.168, allocations: 2.637 MB / 0.5612 GB, free: 15.32 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009563/0.1776, allocations: 4.763 MB / 0.5659 GB, free: 10.53 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0075/0.1851, allocations: 4.612 MB / 0.5704 GB, free: 5.906 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01344/0.1985, allocations: 12.07 MB / 0.5822 GB, free: 9.809 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005537/0.2041, allocations: 4.096 MB / 0.5862 GB, free: 5.645 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.2144, allocations: 6.646 MB / 0.5927 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006062/0.2204, allocations: 4.065 MB / 0.5966 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002146/0.2226, allocations: 0.8438 MB / 0.5975 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005025/0.2276, allocations: 2.604 MB / 0.6 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.2292, allocations: 2.375 MB / 0.6023 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002901/0.2321, allocations: 2.611 MB / 0.6049 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.2429, allocations: 8.104 MB / 0.6128 GB, free: 10.33 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2429, allocations: 0 / 0.6128 GB, free: 10.33 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2429, allocations: 0 / 0.6128 GB, free: 10.33 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001438/0.243, allocations: 0 / 0.6128 GB, free: 10.33 MB / 0.5262 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.01082/0.2538, allocations: 8.358 MB / 0.621 GB, free: 1.887 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.2539, allocations: 8.031 kB / 0.621 GB, free: 1.879 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.2563, allocations: 1.257 MB / 0.6222 GB, free: 0.6172 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007686/0.264, allocations: 5.846 MB / 0.6279 GB, free: 10.67 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000317/0.2643, allocations: 393.9 kB / 0.6283 GB, free: 10.26 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004469/0.2647, allocations: 380 kB / 0.6286 GB, free: 9.891 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/0.2773, allocations: 10.35 MB / 0.6387 GB, free: 13.67 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.819e-05/0.2774, allocations: 39.62 kB / 0.6388 GB, free: 13.63 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003294/0.2777, allocations: 180 kB / 0.639 GB, free: 13.45 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/0.2779, allocations: 221.2 kB / 0.6392 GB, free: 13.23 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009592/0.2875, allocations: 4.772 MB / 0.6438 GB, free: 8.438 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2309/0.5184, allocations: 45.19 MB / 0.688 GB, free: 110.9 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009612/0.528, allocations: 5.063 MB / 0.6929 GB, free: 109.7 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.5303, allocations: 1.412 MB / 0.6943 GB, free: 109.3 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/0.5308, allocations: 281.7 kB / 0.6945 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.582e-05/0.5309, allocations: 100.3 kB / 0.6946 GB, free: 109.1 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002305/0.5332, allocations: 0.6803 MB / 0.6953 GB, free: 109 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=812): time 1.233e-05/0.5332, allocations: 2.656 kB / 0.6953 GB, free: 109 MB / 0.5574 GB Notification: Performance of matching and sorting (n=812): time 0.02351/0.5567, allocations: 9.816 MB / 0.7049 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002613/0.557, allocations: 1.413 MB / 0.7063 GB, free: 106.2 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006692/0.5637, allocations: 4.721 MB / 0.7109 GB, free: 104.5 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0005774/0.5642, allocations: 84.36 kB / 0.711 GB, free: 104.4 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.566, allocations: 2.731 MB / 0.7136 GB, free: 102.2 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001869/0.5678, allocations: 2.766 MB / 0.7163 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002441/0.5703, allocations: 1.709 MB / 0.718 GB, free: 99.12 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.829e-05/0.5703, allocations: 476.8 kB / 0.7185 GB, free: 98.65 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003279/0.5736, allocations: 1.571 MB / 0.72 GB, free: 98.14 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004764/0.5783, allocations: 5.519 MB / 0.7254 GB, free: 92.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/0.59, allocations: 8.143 MB / 0.7333 GB, free: 86.91 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.959e-05/0.5901, allocations: 19.95 kB / 0.7334 GB, free: 86.91 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01028/0.6004, allocations: 6.945 MB / 0.7401 GB, free: 84.2 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.6004, allocations: 32.72 kB / 0.7402 GB, free: 84.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006205/0.6066, allocations: 4.475 MB / 0.7445 GB, free: 82.32 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02862/0.6352, allocations: 4.355 MB / 0.7488 GB, free: 78.15 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006062/0.6413, allocations: 2.083 MB / 0.7508 GB, free: 76.07 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.6436, allocations: 3.092 MB / 0.7538 GB, free: 72.83 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004437/0.648, allocations: 328.8 kB / 0.7542 GB, free: 72.52 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007435/0.6488, allocations: 0.5308 MB / 0.7547 GB, free: 71.98 MB / 0.5574 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.004708/0.6535, allocations: 1.73 MB / 0.7564 GB, free: 70.24 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004266/0.6577, allocations: 5.493 MB / 0.7617 GB, free: 63.2 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01057/0.6683, allocations: 8.039 MB / 0.7696 GB, free: 53.98 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-05/0.6683, allocations: 16 kB / 0.7696 GB, free: 53.96 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01016/0.6785, allocations: 6.84 MB / 0.7763 GB, free: 47.12 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.6785, allocations: 32 kB / 0.7763 GB, free: 47.09 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005736/0.6843, allocations: 4.305 MB / 0.7805 GB, free: 42.73 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/0.6856, allocations: 389.7 kB / 0.7809 GB, free: 42.35 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/0.689, allocations: 2.132 MB / 0.783 GB, free: 40.21 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009998/0.69, allocations: 2.777 MB / 0.7857 GB, free: 37.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/0.693, allocations: 320.4 kB / 0.786 GB, free: 36.98 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004642/0.6935, allocations: 0.5295 MB / 0.7865 GB, free: 36.45 MB / 0.5574 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.001524/0.695, allocations: 0.7455 MB / 0.7872 GB, free: 35.71 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/0.6965, allocations: 0.7803 MB / 0.788 GB, free: 34.93 MB / 0.5574 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.009178/0.7057, allocations: 9.152 MB / 0.7969 GB, free: 26.21 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.598473883001134]