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.008784/0.008784, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.0009839/0.0009839, allocations: 77.36 kB / 26.19 MB, free: 6.078 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.001123/0.001123, allocations: 163.9 kB / 30.12 MB, free: 2.184 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.952/0.952, allocations: 177.2 MB / 211.1 MB, free: 3.477 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.6198/0.6198, allocations: 102.5 MB / 370.7 MB, free: 228 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 1.102e-06/1.102e-06, allocations: 0 / 471.3 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.502e-05, allocations: 3.016 kB / 471.3 MB, free: 18.82 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.1274/0.1274, allocations: 76.17 MB / 0.5346 GB, free: 11.4 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.0324/0.1598, allocations: 25.23 MB / 0.5592 GB, free: 2.102 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004705/0.1645, allocations: 146.9 kB / 0.5594 GB, free: 1.957 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0061/0.1706, allocations: 2.64 MB / 0.562 GB, free: 15.3 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.181, allocations: 4.78 MB / 0.5666 GB, free: 10.49 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008689/0.1897, allocations: 4.627 MB / 0.5711 GB, free: 5.855 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01431/0.204, allocations: 12.05 MB / 0.5829 GB, free: 9.77 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006024/0.2101, allocations: 4.096 MB / 0.5869 GB, free: 5.605 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1359/0.346, allocations: 52.04 MB / 0.6377 GB, free: 2.727 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2119/0.5579, allocations: 3.995 MB / 0.6416 GB, free: 76.19 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002617/0.5605, allocations: 0.8092 MB / 0.6424 GB, free: 76.19 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007032/0.5675, allocations: 2.544 MB / 0.6449 GB, free: 76.19 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002986/0.5705, allocations: 2.27 MB / 0.6471 GB, free: 76.19 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004961/0.5755, allocations: 2.549 MB / 0.6496 GB, free: 76.19 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.588, allocations: 8.071 MB / 0.6575 GB, free: 75.55 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.588, allocations: 0 / 0.6575 GB, free: 75.55 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.062e-06/0.588, allocations: 0.7656 kB / 0.6575 GB, free: 75.55 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003328/0.5883, allocations: 0 / 0.6575 GB, free: 75.55 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.01272/0.601, allocations: 8.197 MB / 0.6655 GB, free: 72.01 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.6011, allocations: 9.656 kB / 0.6655 GB, free: 72.01 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.6029, allocations: 1.142 MB / 0.6666 GB, free: 71.54 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006298/0.6092, allocations: 4.749 MB / 0.6713 GB, free: 70.43 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.6094, allocations: 395.8 kB / 0.6716 GB, free: 70.29 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006586/0.6101, allocations: 382.3 kB / 0.672 GB, free: 70.29 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/0.6233, allocations: 10.07 MB / 0.6818 GB, free: 63.93 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.6234, allocations: 39.41 kB / 0.6819 GB, free: 63.93 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004216/0.6238, allocations: 179.6 kB / 0.682 GB, free: 63.93 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002118/0.624, allocations: 219 kB / 0.6823 GB, free: 63.92 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/0.6348, allocations: 4.375 MB / 0.6865 GB, free: 63.56 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02632/0.6611, allocations: 44.77 MB / 0.7302 GB, free: 24.88 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008858/0.6699, allocations: 4.764 MB / 0.7349 GB, free: 22.72 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.6721, allocations: 1.25 MB / 0.7361 GB, free: 22.18 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005374/0.6726, allocations: 272.3 kB / 0.7364 GB, free: 22.1 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.208e-05/0.6727, allocations: 110.8 kB / 0.7365 GB, free: 22.01 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003009/0.6757, allocations: 0.7258 MB / 0.7372 GB, free: 21.52 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=812): time 1.184e-05/0.6757, allocations: 0.8438 kB / 0.7372 GB, free: 21.52 MB / 0.5418 GB Notification: Performance of matching and sorting (n=812): time 0.0193/0.695, allocations: 9.186 MB / 0.7462 GB, free: 18.3 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/0.6952, allocations: 1.78 MB / 0.7479 GB, free: 16.15 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005021/0.7002, allocations: 4.566 MB / 0.7524 GB, free: 14.33 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/0.7014, allocations: 89.23 kB / 0.7524 GB, free: 14.25 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.7028, allocations: 2.774 MB / 0.7552 GB, free: 12.03 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.00232/0.7051, allocations: 2.794 MB / 0.7579 GB, free: 9.715 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001938/0.707, allocations: 1.762 MB / 0.7596 GB, free: 8.863 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.901e-05/0.7071, allocations: 482.5 kB / 0.7601 GB, free: 8.395 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.7088, allocations: 1.289 MB / 0.7613 GB, free: 8.035 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/0.7116, allocations: 5.76 MB / 0.7669 GB, free: 2.117 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007566/0.7191, allocations: 7.449 MB / 0.7742 GB, free: 10.14 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.429e-05/0.7192, allocations: 16 kB / 0.7742 GB, free: 10.13 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01018/0.7294, allocations: 6.351 MB / 0.7804 GB, free: 4.172 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.7294, allocations: 33.41 kB / 0.7805 GB, free: 4.141 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006388/0.7358, allocations: 4.033 MB / 0.7844 GB, free: 92 kB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03586/0.7716, allocations: 6.051 MB / 0.7903 GB, free: 10.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005086/0.7767, allocations: 2.087 MB / 0.7924 GB, free: 8.406 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.7794, allocations: 3.105 MB / 0.7954 GB, free: 5.223 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004502/0.7839, allocations: 333.8 kB / 0.7957 GB, free: 4.902 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/0.7852, allocations: 475.6 kB / 0.7962 GB, free: 4.438 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.004291/0.7895, allocations: 1.462 MB / 0.7976 GB, free: 2.973 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003997/0.7935, allocations: 5.734 MB / 0.8032 GB, free: 11.78 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008342/0.8019, allocations: 7.35 MB / 0.8104 GB, free: 3.695 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.244e-05/0.8019, allocations: 20 kB / 0.8104 GB, free: 3.676 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.009851/0.8118, allocations: 6.278 MB / 0.8165 GB, free: 13.8 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.8118, allocations: 35.17 kB / 0.8166 GB, free: 13.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005484/0.8173, allocations: 3.934 MB / 0.8204 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01342/0.8307, allocations: 2.491 MB / 0.8228 GB, free: 7.445 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004643/0.8354, allocations: 2.081 MB / 0.8249 GB, free: 5.484 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.8376, allocations: 3.048 MB / 0.8278 GB, free: 2.355 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004283/0.8419, allocations: 327.6 kB / 0.8281 GB, free: 2.039 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/0.8433, allocations: 479.6 kB / 0.8286 GB, free: 1.57 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.002567/0.8458, allocations: 0.7495 MB / 0.8293 GB, free: 0.9453 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002332/0.8482, allocations: 0.7901 MB / 0.8301 GB, free: 160 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.01083/0.859, allocations: 8.928 MB / 0.8388 GB, free: 8.207 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7622418347746134]