Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA.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.008581/0.008581, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0008238/0.0008238, allocations: 90.16 kB / 25.62 MB, free: 6.523 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.0008637/0.0008637, allocations: 166.6 kB / 29.46 MB, free: 3.023 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 1.037/1.037, allocations: 177.1 MB / 210.3 MB, free: 1.727 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.726/0.726, allocations: 102.4 MB / 369.8 MB, free: 0.9102 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 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_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 3.938 kB / 469.9 MB, free: 12.93 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.443e-05, allocations: 8.141 kB / 469.9 MB, free: 12.92 MB / 442.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_kA): time 0.317/0.317, allocations: 74.84 MB / 0.532 GB, free: 69.23 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02444/0.3414, allocations: 22.56 MB / 0.554 GB, free: 54.05 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004133/0.3456, allocations: 140.9 kB / 0.5541 GB, free: 53.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004574/0.3501, allocations: 2.578 MB / 0.5566 GB, free: 52.74 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006621/0.3568, allocations: 3.798 MB / 0.5604 GB, free: 50.36 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008201/0.365, allocations: 3.975 MB / 0.5642 GB, free: 48.21 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01246/0.3774, allocations: 10.17 MB / 0.5742 GB, free: 43.08 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005097/0.3825, allocations: 3.497 MB / 0.5776 GB, free: 40.48 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007148/0.3897, allocations: 5.681 MB / 0.5831 GB, free: 36.89 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004814/0.3945, allocations: 3.486 MB / 0.5865 GB, free: 34.94 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001216/0.3957, allocations: 0.668 MB / 0.5872 GB, free: 34.27 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.3989, allocations: 1.984 MB / 0.5891 GB, free: 32.29 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0009288/0.3998, allocations: 2.079 MB / 0.5911 GB, free: 30.2 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.4018, allocations: 2.212 MB / 0.5933 GB, free: 27.99 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005991/0.4078, allocations: 6.746 MB / 0.5999 GB, free: 21.22 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4078, allocations: 0 / 0.5999 GB, free: 21.22 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.516e-06/0.4078, allocations: 0 / 0.5999 GB, free: 21.22 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001637/0.408, allocations: 0 / 0.5999 GB, free: 21.22 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1318 * Number of variables: 1318 Notification: Performance of Generate backend data structure: time 0.007385/0.4154, allocations: 7.492 MB / 0.6072 GB, free: 13.67 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4154, allocations: 12.03 kB / 0.6072 GB, free: 13.66 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.417, allocations: 1.146 MB / 0.6083 GB, free: 12.51 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/0.4222, allocations: 5.112 MB / 0.6133 GB, free: 7.324 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.4223, allocations: 254.4 kB / 0.6136 GB, free: 7.074 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.4226, allocations: 332 kB / 0.6139 GB, free: 6.75 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.4333, allocations: 9.313 MB / 0.623 GB, free: 11.68 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.139e-05/0.4334, allocations: 39.62 kB / 0.623 GB, free: 11.64 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/0.4337, allocations: 160 kB / 0.6232 GB, free: 11.48 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/0.4338, allocations: 205.4 kB / 0.6234 GB, free: 11.28 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008933/0.4428, allocations: 4.256 MB / 0.6275 GB, free: 7.031 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02395/0.4667, allocations: 43.69 MB / 0.6702 GB, free: 9.973 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007466/0.4742, allocations: 4.187 MB / 0.6743 GB, free: 5.555 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4756, allocations: 1.07 MB / 0.6753 GB, free: 4.402 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003288/0.476, allocations: 192.3 kB / 0.6755 GB, free: 4.215 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.746e-05/0.476, allocations: 99.66 kB / 0.6756 GB, free: 4.109 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00194/0.478, allocations: 0.6194 MB / 0.6762 GB, free: 3.488 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=712): time 1.317e-05/0.478, allocations: 1.312 kB / 0.6762 GB, free: 3.488 MB / 0.5418 GB Notification: Performance of matching and sorting (n=712): time 0.01661/0.4946, allocations: 8.569 MB / 0.6846 GB, free: 10.85 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003031/0.4949, allocations: 1.024 MB / 0.6856 GB, free: 9.586 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004516/0.4994, allocations: 4.443 MB / 0.6899 GB, free: 5.141 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000279/0.4997, allocations: 69.7 kB / 0.69 GB, free: 5.066 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.5012, allocations: 2.629 MB / 0.6926 GB, free: 2.418 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001481/0.5027, allocations: 2.434 MB / 0.6949 GB, free: 15.96 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/0.5042, allocations: 1.546 MB / 0.6964 GB, free: 14.41 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.5043, allocations: 476.8 kB / 0.6969 GB, free: 13.94 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.5065, allocations: 1.364 MB / 0.6982 GB, free: 12.56 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00395/0.5104, allocations: 4.828 MB / 0.7029 GB, free: 6.332 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008738/0.5192, allocations: 7.433 MB / 0.7102 GB, free: 13.71 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.799e-05/0.5192, allocations: 20 kB / 0.7102 GB, free: 13.69 MB / 0.5887 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.009188/0.5284, allocations: 6.193 MB / 0.7163 GB, free: 7.473 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.5284, allocations: 35.98 kB / 0.7163 GB, free: 7.438 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00572/0.5341, allocations: 3.815 MB / 0.72 GB, free: 3.551 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004103/0.5345, allocations: 178 kB / 0.7202 GB, free: 3.371 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.538, allocations: 1.968 MB / 0.7221 GB, free: 1.402 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.5399, allocations: 3.662 MB / 0.7257 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.5423, allocations: 274.5 kB / 0.726 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004996/0.5428, allocations: 491.6 kB / 0.7264 GB, free: 12.76 MB / 0.6043 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003424/0.5462, allocations: 1.551 MB / 0.7279 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003738/0.55, allocations: 4.804 MB / 0.7326 GB, free: 5.008 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2138/0.7638, allocations: 7.378 MB / 0.7398 GB, free: 179.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.481e-05/0.7638, allocations: 18.03 kB / 0.7399 GB, free: 179.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.009995/0.7738, allocations: 6.146 MB / 0.7459 GB, free: 178.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.7739, allocations: 31.62 kB / 0.7459 GB, free: 178.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005374/0.7792, allocations: 3.75 MB / 0.7496 GB, free: 178.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.7795, allocations: 165.5 kB / 0.7497 GB, free: 178.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/0.7831, allocations: 1.972 MB / 0.7516 GB, free: 178.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.7845, allocations: 3.631 MB / 0.7552 GB, free: 174.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/0.7872, allocations: 271.2 kB / 0.7554 GB, free: 174.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005449/0.7878, allocations: 489.9 kB / 0.7559 GB, free: 174.7 MB / 0.6043 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.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: 286 * 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 (991): * Single equations (assignments): 989 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001357/0.7891, allocations: 0.715 MB / 0.7566 GB, free: 174.4 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/0.7905, allocations: 0.709 MB / 0.7573 GB, free: 174.4 MB / 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 1136 equation(s) and 1082 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (valve_shell1.fluidIn.q, valve_shell1.fluidIn.cp, valve_shell1.fluidIn.cv, valve_shell1.fluidIn.beta, valve_shell1.fluidIn.kappa, valve_shell1.fluidIn.drhodp_hxi, valve_shell1.fluidIn.drhodh_pxi, _, valve_shell1.fluidIn.w, valve_shell1.fluidIn.gamma) = ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441) has size 9 but 8 variables ($cse189, $cse190, $cse191, $cse192, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.Pr, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.lambda, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.eta, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009913/0.8004, allocations: 8.187 MB / 0.7653 GB, free: 173.5 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4278841810300946]