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.008671/0.008671, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.0008351/0.0008351, allocations: 85.2 kB / 25.61 MB, free: 6.992 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.0009335/0.0009335, allocations: 167.1 kB / 29.46 MB, free: 3.191 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.9442/0.9442, allocations: 177.2 MB / 210.4 MB, free: 3.566 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.596/0.596, allocations: 102.5 MB / 369.8 MB, free: 376 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_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 2.274e-06/2.274e-06, allocations: 2.844 kB / 469.9 MB, free: 19.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.247e-05, allocations: 3.438 kB / 469.9 MB, free: 19.04 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.1216/0.1216, allocations: 74.85 MB / 0.532 GB, free: 13.38 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02348/0.1451, allocations: 22.56 MB / 0.554 GB, free: 6.758 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.1468, allocations: 139 kB / 0.5541 GB, free: 6.621 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003502/0.1503, allocations: 2.582 MB / 0.5567 GB, free: 4.023 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004321/0.1547, allocations: 3.781 MB / 0.5604 GB, free: 224 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005579/0.1602, allocations: 3.984 MB / 0.5643 GB, free: 12.22 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.009785/0.17, allocations: 10.18 MB / 0.5742 GB, free: 2.012 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.1735, allocations: 3.493 MB / 0.5776 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005047/0.1786, allocations: 5.69 MB / 0.5832 GB, free: 8.75 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/0.1817, allocations: 3.482 MB / 0.5866 GB, free: 5.258 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0006353/0.1823, allocations: 0.668 MB / 0.5872 GB, free: 4.59 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.1854, allocations: 1.988 MB / 0.5892 GB, free: 2.598 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.1866, allocations: 2.071 MB / 0.5912 GB, free: 0.5195 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.1882, allocations: 2.201 MB / 0.5933 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005867/0.194, allocations: 6.753 MB / 0.5999 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.194, allocations: 0 / 0.5999 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.193e-06/0.194, allocations: 0 / 0.5999 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.045e-05/0.1941, allocations: 4 kB / 0.5999 GB, free: 7.531 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.006941/0.201, allocations: 7.485 MB / 0.6072 GB, free: 15.96 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2011, allocations: 8.031 kB / 0.6072 GB, free: 15.95 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.2026, allocations: 1.156 MB / 0.6084 GB, free: 14.79 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005367/0.208, allocations: 5.111 MB / 0.6134 GB, free: 9.582 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.2082, allocations: 254.4 kB / 0.6136 GB, free: 9.332 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003302/0.2085, allocations: 340 kB / 0.6139 GB, free: 9 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.2193, allocations: 9.315 MB / 0.623 GB, free: 13.93 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.102e-05/0.2194, allocations: 43.56 kB / 0.6231 GB, free: 13.88 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/0.2196, allocations: 164 kB / 0.6232 GB, free: 13.72 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.2197, allocations: 204.5 kB / 0.6234 GB, free: 13.52 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008036/0.2278, allocations: 4.256 MB / 0.6276 GB, free: 9.242 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1992/0.427, allocations: 43.68 MB / 0.6702 GB, free: 116.7 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007096/0.4341, allocations: 4.178 MB / 0.6743 GB, free: 116 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.4354, allocations: 1.066 MB / 0.6754 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/0.4357, allocations: 204.1 kB / 0.6755 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.4358, allocations: 89.08 kB / 0.6756 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001705/0.4375, allocations: 0.6201 MB / 0.6762 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=712): time 9.648e-06/0.4375, allocations: 0 / 0.6762 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=712): time 0.01616/0.4537, allocations: 8.572 MB / 0.6846 GB, free: 115 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.4538, allocations: 1.027 MB / 0.6856 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/0.458, allocations: 4.437 MB / 0.6899 GB, free: 112.1 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0002808/0.4582, allocations: 76.06 kB / 0.69 GB, free: 112 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.4593, allocations: 2.626 MB / 0.6926 GB, free: 110 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.4604, allocations: 2.431 MB / 0.695 GB, free: 108 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/0.4618, allocations: 1.54 MB / 0.6965 GB, free: 107.4 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.292e-05/0.4619, allocations: 485.3 kB / 0.6969 GB, free: 107 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/0.464, allocations: 1.373 MB / 0.6983 GB, free: 106.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.4671, allocations: 4.823 MB / 0.703 GB, free: 101.6 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008014/0.4752, allocations: 7.434 MB / 0.7102 GB, free: 96.36 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.769e-05/0.4752, allocations: 19.56 kB / 0.7102 GB, free: 96.36 MB / 0.5574 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.008514/0.4837, allocations: 6.188 MB / 0.7163 GB, free: 93.92 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.4838, allocations: 36.97 kB / 0.7163 GB, free: 93.91 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005187/0.4889, allocations: 3.812 MB / 0.72 GB, free: 92.43 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.4893, allocations: 178.5 kB / 0.7202 GB, free: 92.38 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/0.4924, allocations: 1.973 MB / 0.7221 GB, free: 91.84 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.4936, allocations: 3.649 MB / 0.7257 GB, free: 88.21 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.4955, allocations: 275 kB / 0.726 GB, free: 88.06 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004172/0.4959, allocations: 498.6 kB / 0.7264 GB, free: 87.91 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.002795/0.4987, allocations: 1.552 MB / 0.728 GB, free: 86.53 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002656/0.5014, allocations: 4.804 MB / 0.7327 GB, free: 80.32 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006615/0.508, allocations: 7.39 MB / 0.7399 GB, free: 71.75 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.29e-05/0.508, allocations: 20 kB / 0.7399 GB, free: 71.73 MB / 0.5574 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.007457/0.5155, allocations: 6.141 MB / 0.7459 GB, free: 65.57 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.5155, allocations: 32 kB / 0.7459 GB, free: 65.54 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00484/0.5203, allocations: 3.749 MB / 0.7496 GB, free: 61.72 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.5206, allocations: 173.9 kB / 0.7497 GB, free: 61.54 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/0.5236, allocations: 1.964 MB / 0.7517 GB, free: 59.58 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.5246, allocations: 3.634 MB / 0.7552 GB, free: 55.71 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.5266, allocations: 275.1 kB / 0.7555 GB, free: 55.45 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003896/0.527, allocations: 487.7 kB / 0.7559 GB, free: 54.97 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.001301/0.5283, allocations: 0.7001 MB / 0.7566 GB, free: 54.27 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/0.5294, allocations: 0.7182 MB / 0.7573 GB, free: 53.55 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.007656/0.5371, allocations: 8.195 MB / 0.7653 GB, free: 45.75 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.04576100804843]