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.008464/0.008464, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.0007761/0.0007761, allocations: 81.88 kB / 25.15 MB, free: 7.465 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.0008599/0.0008599, allocations: 164 kB / 29.05 MB, free: 3.672 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.9346/0.9346, allocations: 177.2 MB / 210 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.6235/0.6235, allocations: 102.4 MB / 369.5 MB, free: 368 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_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 1.834e-06/1.834e-06, allocations: 3.938 kB / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.879e-05, allocations: 2.312 kB / 470 MB, free: 18.94 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_kA): time 0.122/0.122, allocations: 74.98 MB / 0.5322 GB, free: 12.87 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02563/0.1477, allocations: 22.6 MB / 0.5543 GB, free: 6.207 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.1506, allocations: 142.9 kB / 0.5544 GB, free: 6.066 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003925/0.1545, allocations: 2.579 MB / 0.5569 GB, free: 3.473 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005246/0.1598, allocations: 3.797 MB / 0.5606 GB, free: 15.65 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005611/0.1654, allocations: 3.98 MB / 0.5645 GB, free: 11.66 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.008494/0.1739, allocations: 10.19 MB / 0.5745 GB, free: 1.445 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/0.1771, allocations: 3.497 MB / 0.5779 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004675/0.1818, allocations: 5.679 MB / 0.5834 GB, free: 8.191 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003081/0.1848, allocations: 3.492 MB / 0.5868 GB, free: 4.691 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0006318/0.1855, allocations: 0.668 MB / 0.5875 GB, free: 4.023 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.1884, allocations: 1.973 MB / 0.5894 GB, free: 2.047 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.1895, allocations: 2.071 MB / 0.5914 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.1912, allocations: 2.205 MB / 0.5936 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005827/0.197, allocations: 6.753 MB / 0.6002 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.197, allocations: 0 / 0.6002 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1971, allocations: 0 / 0.6002 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.951e-05/0.1971, allocations: 4 kB / 0.6002 GB, free: 6.977 MB / 0.5105 GB 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.006771/0.2039, allocations: 7.488 MB / 0.6075 GB, free: 15.4 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2039, allocations: 12.03 kB / 0.6075 GB, free: 15.39 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.2054, allocations: 1.152 MB / 0.6086 GB, free: 14.23 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005184/0.2106, allocations: 5.122 MB / 0.6136 GB, free: 9.012 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.2107, allocations: 250.4 kB / 0.6139 GB, free: 8.766 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/0.2111, allocations: 347.9 kB / 0.6142 GB, free: 8.426 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009765/0.2208, allocations: 9.319 MB / 0.6233 GB, free: 13.35 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.684e-05/0.2209, allocations: 39.62 kB / 0.6233 GB, free: 13.31 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.2211, allocations: 160 kB / 0.6235 GB, free: 13.15 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.2212, allocations: 196.5 kB / 0.6237 GB, free: 12.96 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007434/0.2287, allocations: 4.256 MB / 0.6278 GB, free: 8.68 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2384/0.4671, allocations: 43.68 MB / 0.6705 GB, free: 59.32 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007086/0.4742, allocations: 4.178 MB / 0.6746 GB, free: 58.59 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.4757, allocations: 1.062 MB / 0.6756 GB, free: 58.34 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003343/0.476, allocations: 197 kB / 0.6758 GB, free: 58.33 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.4761, allocations: 89.12 kB / 0.6759 GB, free: 58.29 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001853/0.4779, allocations: 0.6254 MB / 0.6765 GB, free: 58.29 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=712): time 1.083e-05/0.4779, allocations: 0 / 0.6765 GB, free: 58.29 MB / 0.5574 GB Notification: Performance of matching and sorting (n=712): time 0.01552/0.4935, allocations: 8.564 MB / 0.6849 GB, free: 57.98 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.4936, allocations: 1.034 MB / 0.6859 GB, free: 56.76 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004319/0.4979, allocations: 4.44 MB / 0.6902 GB, free: 56.19 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003141/0.4982, allocations: 71.52 kB / 0.6903 GB, free: 56.16 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.4994, allocations: 2.625 MB / 0.6928 GB, free: 55.31 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/0.5005, allocations: 2.431 MB / 0.6952 GB, free: 53.98 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001666/0.5022, allocations: 1.547 MB / 0.6967 GB, free: 53.83 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.572e-05/0.5022, allocations: 479.5 kB / 0.6972 GB, free: 53.36 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/0.5045, allocations: 1.372 MB / 0.6985 GB, free: 53.3 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003378/0.5079, allocations: 4.825 MB / 0.7032 GB, free: 49.08 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00884/0.5167, allocations: 7.435 MB / 0.7105 GB, free: 45.45 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.241e-05/0.5168, allocations: 20.47 kB / 0.7105 GB, free: 45.45 MB / 0.5574 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.009337/0.5261, allocations: 6.197 MB / 0.7166 GB, free: 44.88 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.5262, allocations: 31.19 kB / 0.7166 GB, free: 44.88 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005643/0.5318, allocations: 3.807 MB / 0.7203 GB, free: 44.49 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003997/0.5322, allocations: 186.9 kB / 0.7205 GB, free: 44.44 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.5354, allocations: 1.97 MB / 0.7224 GB, free: 44.09 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.5368, allocations: 3.646 MB / 0.726 GB, free: 40.58 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.5393, allocations: 281.5 kB / 0.7262 GB, free: 40.56 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004906/0.5398, allocations: 494.1 kB / 0.7267 GB, free: 40.47 MB / 0.5574 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.003205/0.543, allocations: 1.544 MB / 0.7282 GB, free: 40.07 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002998/0.546, allocations: 4.803 MB / 0.7329 GB, free: 35.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00738/0.5534, allocations: 7.39 MB / 0.7401 GB, free: 30.96 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.706e-05/0.5534, allocations: 20.94 kB / 0.7401 GB, free: 30.96 MB / 0.5574 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.008302/0.5617, allocations: 6.133 MB / 0.7461 GB, free: 28.95 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.5617, allocations: 39.86 kB / 0.7462 GB, free: 28.94 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004898/0.5666, allocations: 3.755 MB / 0.7498 GB, free: 25.43 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.5669, allocations: 163.3 kB / 0.75 GB, free: 25.26 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/0.5699, allocations: 1.965 MB / 0.7519 GB, free: 23.41 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.5711, allocations: 3.632 MB / 0.7555 GB, free: 19.59 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.5735, allocations: 274.6 kB / 0.7557 GB, free: 19.33 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004159/0.5739, allocations: 494.4 kB / 0.7562 GB, free: 18.85 MB / 0.5574 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.001422/0.5753, allocations: 0.7073 MB / 0.7569 GB, free: 18.29 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/0.5764, allocations: 0.7104 MB / 0.7576 GB, free: 17.57 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 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.007949/0.5844, allocations: 8.199 MB / 0.7656 GB, free: 10.09 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.23652999708429]