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.01264/0.01264, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001019/0.001019, allocations: 82.8 kB / 25.4 MB, free: 7 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.001028/0.001028, allocations: 160 kB / 29.33 MB, free: 3.137 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.958/0.958, allocations: 177.1 MB / 210.3 MB, free: 3.453 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.5889/0.5889, allocations: 102.5 MB / 369.9 MB, free: 252 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.464e-06/2.464e-06, allocations: 0 / 470.5 MB, free: 18.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.601e-05, allocations: 4.141 kB / 470.5 MB, free: 18.75 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.1251/0.1252, allocations: 76.18 MB / 0.5338 GB, free: 11.39 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03433/0.1595, allocations: 25.22 MB / 0.5585 GB, free: 2.094 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006089/0.1656, allocations: 146.9 kB / 0.5586 GB, free: 1.949 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007452/0.173, allocations: 2.644 MB / 0.5612 GB, free: 15.29 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0126/0.1856, allocations: 4.794 MB / 0.5659 GB, free: 10.47 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01011/0.1957, allocations: 4.614 MB / 0.5704 GB, free: 5.852 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01495/0.2107, allocations: 12.07 MB / 0.5822 GB, free: 9.754 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005936/0.2166, allocations: 4.096 MB / 0.5862 GB, free: 5.59 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1382/0.3549, allocations: 52.05 MB / 0.637 GB, free: 2.711 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2774/0.6322, allocations: 3.984 MB / 0.6409 GB, free: 76.13 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003366/0.6356, allocations: 0.8089 MB / 0.6417 GB, free: 76.13 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007404/0.643, allocations: 2.545 MB / 0.6442 GB, free: 76.13 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001925/0.6449, allocations: 2.27 MB / 0.6464 GB, free: 76.13 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.005472/0.6504, allocations: 2.547 MB / 0.6489 GB, free: 76.13 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01626/0.6667, allocations: 8.069 MB / 0.6567 GB, free: 75.48 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.6667, allocations: 1.531 kB / 0.6567 GB, free: 75.48 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6667, allocations: 0 / 0.6567 GB, free: 75.48 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004481/0.6671, allocations: 2.656 kB / 0.6567 GB, free: 75.48 MB / 0.5418 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.01349/0.6806, allocations: 8.198 MB / 0.6647 GB, free: 71.95 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.6806, allocations: 9.688 kB / 0.6648 GB, free: 71.95 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.6826, allocations: 1.144 MB / 0.6659 GB, free: 71.48 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005721/0.6883, allocations: 4.746 MB / 0.6705 GB, free: 70.37 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.6885, allocations: 399.1 kB / 0.6709 GB, free: 70.23 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/0.689, allocations: 383.4 kB / 0.6713 GB, free: 70.23 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.6998, allocations: 10.07 MB / 0.6811 GB, free: 63.86 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.6999, allocations: 43.16 kB / 0.6811 GB, free: 63.86 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003288/0.7003, allocations: 179.4 kB / 0.6813 GB, free: 63.86 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/0.7005, allocations: 221.2 kB / 0.6815 GB, free: 63.86 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008713/0.7092, allocations: 4.37 MB / 0.6858 GB, free: 63.48 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02466/0.7339, allocations: 44.77 MB / 0.7295 GB, free: 24.79 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00742/0.7413, allocations: 4.76 MB / 0.7341 GB, free: 22.63 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.7427, allocations: 1.247 MB / 0.7354 GB, free: 22.09 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/0.7433, allocations: 423.3 kB / 0.7358 GB, free: 22.01 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.904e-05/0.7434, allocations: 109.2 kB / 0.7359 GB, free: 21.93 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002871/0.7462, allocations: 0.7251 MB / 0.7366 GB, free: 21.44 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=812): time 1.588e-05/0.7462, allocations: 2.672 kB / 0.7366 GB, free: 21.44 MB / 0.5418 GB Notification: Performance of matching and sorting (n=812): time 0.01568/0.7619, allocations: 9.2 MB / 0.7456 GB, free: 18.22 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002263/0.7622, allocations: 1.777 MB / 0.7473 GB, free: 16.07 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003835/0.766, allocations: 4.564 MB / 0.7518 GB, free: 14.25 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003178/0.7663, allocations: 87.61 kB / 0.7518 GB, free: 14.17 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.7674, allocations: 2.781 MB / 0.7546 GB, free: 11.95 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.7686, allocations: 2.79 MB / 0.7573 GB, free: 9.633 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.7701, allocations: 1.763 MB / 0.759 GB, free: 8.781 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.7702, allocations: 484.5 kB / 0.7595 GB, free: 8.312 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.7716, allocations: 1.289 MB / 0.7607 GB, free: 7.953 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/0.7743, allocations: 5.759 MB / 0.7664 GB, free: 2.035 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007265/0.7815, allocations: 7.444 MB / 0.7736 GB, free: 10.06 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/0.7816, allocations: 22.69 kB / 0.7736 GB, free: 10.04 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.009086/0.7907, allocations: 6.363 MB / 0.7799 GB, free: 4.07 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.7907, allocations: 32 kB / 0.7799 GB, free: 4.039 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005094/0.7958, allocations: 4.039 MB / 0.7838 GB, free: 15.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03334/0.8291, allocations: 6.05 MB / 0.7897 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005218/0.8343, allocations: 2.087 MB / 0.7918 GB, free: 8.297 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.8371, allocations: 3.113 MB / 0.7948 GB, free: 5.109 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/0.8413, allocations: 333.8 kB / 0.7951 GB, free: 4.789 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006383/0.8419, allocations: 479.6 kB / 0.7956 GB, free: 4.32 MB / 0.573 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.003568/0.8455, allocations: 1.459 MB / 0.797 GB, free: 2.859 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003773/0.8492, allocations: 5.724 MB / 0.8026 GB, free: 11.67 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007083/0.8563, allocations: 7.363 MB / 0.8098 GB, free: 3.574 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.423e-05/0.8564, allocations: 16 kB / 0.8098 GB, free: 3.559 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.008751/0.8651, allocations: 6.282 MB / 0.8159 GB, free: 13.68 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.8651, allocations: 37.38 kB / 0.816 GB, free: 13.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004787/0.8699, allocations: 3.934 MB / 0.8198 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01223/0.8822, allocations: 2.495 MB / 0.8223 GB, free: 7.316 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/0.8861, allocations: 2.081 MB / 0.8243 GB, free: 5.355 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.8882, allocations: 3.052 MB / 0.8273 GB, free: 2.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/0.8921, allocations: 334.7 kB / 0.8276 GB, free: 1.906 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005321/0.8926, allocations: 474.2 kB / 0.828 GB, free: 1.445 MB / 0.6043 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,34), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001693/0.8943, allocations: 0.7577 MB / 0.8288 GB, free: 0.8125 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/0.8959, allocations: 0.7804 MB / 0.8296 GB, free: 28 kB / 0.6043 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 1284 equation(s) and 1227 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) = ($cse330, $cse331, $cse332, $cse333, $cse334, $cse335, $cse336, $cse337, $cse338, $cse339) 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.01023/0.9062, allocations: 8.918 MB / 0.8383 GB, free: 8.082 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.854644436389208]