Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.02347/0.02347, allocations: 1.792 MB / 21.15 MB, free: 3.246 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.001786/0.001786, allocations: 78.2 kB / 24.88 MB, free: 5.777 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.00205/0.00205, allocations: 160.9 kB / 28.74 MB, free: 3.371 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.491/1.491, allocations: 177.2 MB / 209.6 MB, free: 2.398 MB / 186.7 MB " [Timeout remaining time 178] 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 1.107/1.107, allocations: 102.5 MB / 369.1 MB, free: 0.8906 MB / 330.8 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_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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 469.2 MB, free: 12.96 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.083e-05, allocations: 2.312 kB / 469.2 MB, free: 12.96 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.4108/0.4108, allocations: 72.55 MB / 0.529 GB, free: 69.54 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02892/0.4398, allocations: 22.44 MB / 0.5509 GB, free: 54.8 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00589/0.4456, allocations: 141.1 kB / 0.5511 GB, free: 54.74 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007072/0.4527, allocations: 2.574 MB / 0.5536 GB, free: 53.5 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01139/0.4641, allocations: 3.801 MB / 0.5573 GB, free: 51.11 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.011/0.4751, allocations: 3.975 MB / 0.5612 GB, free: 48.97 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01723/0.4923, allocations: 10.17 MB / 0.5711 GB, free: 43.85 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005864/0.4982, allocations: 3.502 MB / 0.5745 GB, free: 41.56 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01321/0.5114, allocations: 5.682 MB / 0.5801 GB, free: 38.21 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007464/0.5189, allocations: 3.479 MB / 0.5835 GB, free: 36.26 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002148/0.521, allocations: 0.6721 MB / 0.5841 GB, free: 36.25 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006104/0.5271, allocations: 1.99 MB / 0.5861 GB, free: 34.27 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002479/0.5296, allocations: 2.067 MB / 0.5881 GB, free: 32.19 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004819/0.5344, allocations: 2.209 MB / 0.5903 GB, free: 29.98 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.5475, allocations: 10.5 MB / 0.6005 GB, free: 19.45 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.5475, allocations: 2.688 kB / 0.6005 GB, free: 19.45 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5475, allocations: 0 / 0.6005 GB, free: 19.45 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002704/0.5478, allocations: 0 / 0.6005 GB, free: 19.45 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.01365/0.5614, allocations: 8.155 MB / 0.6085 GB, free: 11.23 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5615, allocations: 14.69 kB / 0.6085 GB, free: 11.22 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/0.5641, allocations: 1.142 MB / 0.6096 GB, free: 10.07 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009921/0.574, allocations: 5.155 MB / 0.6146 GB, free: 4.852 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.5742, allocations: 250.4 kB / 0.6149 GB, free: 4.605 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006709/0.5749, allocations: 332 kB / 0.6152 GB, free: 4.281 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/0.6004, allocations: 11.11 MB / 0.626 GB, free: 7.418 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/0.6006, allocations: 42.28 kB / 0.6261 GB, free: 7.379 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/0.6019, allocations: 164 kB / 0.6262 GB, free: 7.219 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003966/0.6023, allocations: 198.6 kB / 0.6264 GB, free: 7.023 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0215/0.6238, allocations: 6.162 MB / 0.6324 GB, free: 0.8594 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06565/0.6894, allocations: 48.31 MB / 0.6796 GB, free: 14.96 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01761/0.707, allocations: 5.443 MB / 0.6849 GB, free: 9.297 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004833/0.7119, allocations: 1.723 MB / 0.6866 GB, free: 7.484 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008327/0.7127, allocations: 192.3 kB / 0.6868 GB, free: 7.301 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.7128, allocations: 95.75 kB / 0.6869 GB, free: 7.195 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004046/0.7169, allocations: 0.6232 MB / 0.6875 GB, free: 6.57 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=712): time 1.541e-05/0.7169, allocations: 0 / 0.6875 GB, free: 6.57 MB / 0.5574 GB Notification: Performance of matching and sorting (n=712): time 0.04181/0.7587, allocations: 11.37 MB / 0.6986 GB, free: 11.14 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007392/0.7594, allocations: 1.028 MB / 0.6996 GB, free: 9.879 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/0.7739, allocations: 6.017 MB / 0.7055 GB, free: 3.859 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001128/0.7751, allocations: 69.7 kB / 0.7056 GB, free: 3.785 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003865/0.7789, allocations: 2.918 MB / 0.7084 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004035/0.783, allocations: 2.635 MB / 0.711 GB, free: 14.19 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006072/0.789, allocations: 1.815 MB / 0.7128 GB, free: 12.36 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0002441/0.7893, allocations: 479.4 kB / 0.7132 GB, free: 11.89 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006755/0.796, allocations: 2.554 MB / 0.7157 GB, free: 9.328 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/0.8074, allocations: 6.287 MB / 0.7218 GB, free: 1.641 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02482/0.8322, allocations: 11.31 MB / 0.7329 GB, free: 5.141 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/0.8324, allocations: 22.59 kB / 0.7329 GB, free: 5.121 MB / 0.6043 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.2768/1.109, allocations: 8.569 MB / 0.7413 GB, free: 180.7 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/1.109, allocations: 32.25 kB / 0.7413 GB, free: 180.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01265/1.122, allocations: 5.914 MB / 0.7471 GB, free: 180.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007708/1.123, allocations: 226 kB / 0.7473 GB, free: 180.4 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006837/1.129, allocations: 1.969 MB / 0.7492 GB, free: 180.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/1.132, allocations: 3.912 MB / 0.753 GB, free: 177 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005394/1.137, allocations: 275.5 kB / 0.7533 GB, free: 177 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001739/1.139, allocations: 0.4892 MB / 0.7538 GB, free: 177 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.01002/1.149, allocations: 3.308 MB / 0.757 GB, free: 176.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009/1.158, allocations: 6.26 MB / 0.7631 GB, free: 172.3 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02205/1.18, allocations: 11.22 MB / 0.7741 GB, free: 165.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001611/1.18, allocations: 17.94 kB / 0.7741 GB, free: 165.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02192/1.202, allocations: 8.487 MB / 0.7824 GB, free: 162.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.202, allocations: 32.03 kB / 0.7824 GB, free: 162.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01464/1.217, allocations: 5.814 MB / 0.7881 GB, free: 160.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/1.218, allocations: 203.3 kB / 0.7883 GB, free: 160.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007058/1.225, allocations: 1.964 MB / 0.7902 GB, free: 159.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/1.227, allocations: 3.867 MB / 0.794 GB, free: 155.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005138/1.232, allocations: 282 kB / 0.7943 GB, free: 154.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/1.234, allocations: 489.1 kB / 0.7947 GB, free: 154.6 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.002867/1.237, allocations: 0.7043 MB / 0.7954 GB, free: 153.9 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003534/1.24, allocations: 0.7119 MB / 0.7961 GB, free: 153.5 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.01962/1.26, allocations: 9.261 MB / 0.8052 GB, free: 146.7 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.879406931926496]