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.01293/0.01293, 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.001249/0.001249, allocations: 87.38 kB / 25.62 MB, free: 6.461 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.001387/0.001387, allocations: 168.8 kB / 29.46 MB, free: 3.008 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.9375/0.9375, allocations: 177.1 MB / 210.3 MB, free: 3.598 MB / 186.7 MB " [Timeout remaining time 179] 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 0.622/0.622, allocations: 102.5 MB / 369.8 MB, free: 408 kB / 330.7 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 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_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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 469.9 MB, free: 19.03 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.547e-05, allocations: 5.047 kB / 469.9 MB, free: 19.02 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.1249/0.1249, allocations: 76.76 MB / 0.5338 GB, free: 11.48 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02981/0.1547, allocations: 25.32 MB / 0.5586 GB, free: 2.09 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004606/0.1593, allocations: 146.9 kB / 0.5587 GB, free: 1.945 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005668/0.165, allocations: 2.625 MB / 0.5613 GB, free: 15.3 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009446/0.1745, allocations: 4.764 MB / 0.5659 GB, free: 10.52 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007751/0.1822, allocations: 4.612 MB / 0.5704 GB, free: 5.895 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01302/0.1952, allocations: 12.07 MB / 0.5822 GB, free: 9.793 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005329/0.2006, allocations: 4.092 MB / 0.5862 GB, free: 5.633 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01065/0.2112, allocations: 6.65 MB / 0.5927 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005704/0.2169, allocations: 4.069 MB / 0.5967 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001763/0.2187, allocations: 0.8438 MB / 0.5975 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/0.2234, allocations: 2.604 MB / 0.6 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001795/0.2252, allocations: 2.371 MB / 0.6024 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003091/0.2282, allocations: 2.611 MB / 0.6049 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.2385, allocations: 8.1 MB / 0.6128 GB, free: 10.32 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2385, allocations: 0 / 0.6128 GB, free: 10.32 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2385, allocations: 4 kB / 0.6128 GB, free: 10.31 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.000173/0.2387, allocations: 4 kB / 0.6128 GB, free: 10.31 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.01017/0.2488, allocations: 8.358 MB / 0.621 GB, free: 1.867 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2489, allocations: 15.97 kB / 0.621 GB, free: 1.852 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.2509, allocations: 1.249 MB / 0.6222 GB, free: 0.5977 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007425/0.2583, allocations: 5.835 MB / 0.6279 GB, free: 10.66 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.2585, allocations: 386 kB / 0.6283 GB, free: 10.26 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004799/0.259, allocations: 395.9 kB / 0.6287 GB, free: 9.875 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/0.2724, allocations: 10.34 MB / 0.6388 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.758e-05/0.2725, allocations: 43.62 kB / 0.6388 GB, free: 13.62 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003654/0.2728, allocations: 184 kB / 0.639 GB, free: 13.44 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/0.273, allocations: 213.2 kB / 0.6392 GB, free: 13.23 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/0.2831, allocations: 4.775 MB / 0.6438 GB, free: 8.43 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1992/0.4823, allocations: 45.2 MB / 0.688 GB, free: 110.9 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009298/0.4916, allocations: 5.058 MB / 0.6929 GB, free: 109.7 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.4939, allocations: 1.415 MB / 0.6943 GB, free: 109.3 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005742/0.4945, allocations: 274.2 kB / 0.6946 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.875e-05/0.4945, allocations: 104.2 kB / 0.6947 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00227/0.4968, allocations: 0.6836 MB / 0.6953 GB, free: 109 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=812): time 1.261e-05/0.4968, allocations: 0 / 0.6953 GB, free: 109 MB / 0.5574 GB Notification: Performance of matching and sorting (n=812): time 0.0214/0.5182, allocations: 9.814 MB / 0.7049 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/0.5184, allocations: 1.415 MB / 0.7063 GB, free: 106.2 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005544/0.5239, allocations: 4.72 MB / 0.7109 GB, free: 104.4 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0006198/0.5245, allocations: 85.58 kB / 0.711 GB, free: 104.3 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.5258, allocations: 2.729 MB / 0.7137 GB, free: 102.2 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001735/0.5276, allocations: 2.769 MB / 0.7164 GB, free: 100 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/0.5296, allocations: 1.708 MB / 0.718 GB, free: 99.07 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.235e-05/0.5297, allocations: 476.8 kB / 0.7185 GB, free: 98.61 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002787/0.5325, allocations: 1.568 MB / 0.72 GB, free: 98.09 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004004/0.5365, allocations: 5.52 MB / 0.7254 GB, free: 92.45 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009543/0.546, allocations: 8.146 MB / 0.7334 GB, free: 86.86 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.821e-05/0.5461, allocations: 23.19 kB / 0.7334 GB, free: 86.86 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01001/0.5561, allocations: 6.938 MB / 0.7402 GB, free: 84.15 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.5561, allocations: 34.09 kB / 0.7402 GB, free: 84.15 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006288/0.5624, allocations: 4.474 MB / 0.7446 GB, free: 82.33 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02576/0.5882, allocations: 4.356 MB / 0.7488 GB, free: 78.16 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004456/0.5926, allocations: 2.085 MB / 0.7508 GB, free: 76.08 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.5945, allocations: 3.097 MB / 0.7539 GB, free: 72.84 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/0.5984, allocations: 326.4 kB / 0.7542 GB, free: 72.52 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009085/0.5993, allocations: 0.528 MB / 0.7547 GB, free: 72 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.004193/0.6035, allocations: 1.729 MB / 0.7564 GB, free: 70.26 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003417/0.6069, allocations: 5.492 MB / 0.7618 GB, free: 63.21 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008305/0.6152, allocations: 8.038 MB / 0.7696 GB, free: 54 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-05/0.6152, allocations: 20 kB / 0.7696 GB, free: 53.98 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.009763/0.625, allocations: 6.838 MB / 0.7763 GB, free: 47.13 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.625, allocations: 32 kB / 0.7763 GB, free: 47.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005668/0.6307, allocations: 4.308 MB / 0.7805 GB, free: 42.74 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.632, allocations: 390.4 kB / 0.7809 GB, free: 42.36 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/0.6357, allocations: 2.132 MB / 0.783 GB, free: 40.23 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.6367, allocations: 2.773 MB / 0.7857 GB, free: 37.31 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/0.6401, allocations: 323.1 kB / 0.786 GB, free: 36.99 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000681/0.6408, allocations: 0.5269 MB / 0.7865 GB, free: 36.46 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.00171/0.6425, allocations: 0.7479 MB / 0.7873 GB, free: 35.72 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001971/0.6444, allocations: 0.7765 MB / 0.788 GB, free: 34.94 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.01121/0.6556, allocations: 9.154 MB / 0.7969 GB, free: 26.23 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4355151979252696]