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.0201/0.0201, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.01015/0.01015, allocations: 79.89 kB / 24.44 MB, free: 7.008 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.001699/0.001699, allocations: 172.1 kB / 28.21 MB, free: 4.52 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.462/1.462, allocations: 177.2 MB / 209 MB, free: 2.789 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.065/1.065, allocations: 102.5 MB / 368.3 MB, free: 1.289 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 0.5.2 (/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.542e-06/1.542e-06, allocations: 0 / 468.3 MB, free: 13.49 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.161e-05/4.315e-05, allocations: 9.125 kB / 468.3 MB, free: 13.48 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_BU_ntu): time 0.4479/0.4479, allocations: 71.02 MB / 0.5267 GB, free: 70.85 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0358/0.4837, allocations: 24.39 MB / 0.5505 GB, free: 55.04 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006372/0.4901, allocations: 148.4 kB / 0.5507 GB, free: 54.97 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007621/0.4977, allocations: 2.633 MB / 0.5532 GB, free: 53.69 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01427/0.512, allocations: 4.749 MB / 0.5579 GB, free: 50.72 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01262/0.5246, allocations: 4.612 MB / 0.5624 GB, free: 48.2 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02302/0.5476, allocations: 12.06 MB / 0.5742 GB, free: 41.84 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009062/0.5567, allocations: 4.095 MB / 0.5782 GB, free: 38.7 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01891/0.5756, allocations: 6.714 MB / 0.5847 GB, free: 34.39 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009619/0.5852, allocations: 4.16 MB / 0.5888 GB, free: 30.85 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003463/0.5887, allocations: 0.8672 MB / 0.5896 GB, free: 29.98 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09632/0.685, allocations: 18.07 MB / 0.6073 GB, free: 13.92 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005182/0.6902, allocations: 2.405 MB / 0.6096 GB, free: 11.51 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009096/0.6993, allocations: 2.657 MB / 0.6122 GB, free: 8.844 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02277/0.722, allocations: 12.93 MB / 0.6248 GB, free: 11.87 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.7221, allocations: 0 / 0.6248 GB, free: 11.87 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7221, allocations: 0 / 0.6248 GB, free: 11.87 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004763/0.7225, allocations: 0 / 0.6248 GB, free: 11.87 MB / 0.4949 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.03227/0.7548, allocations: 8.193 MB / 0.6328 GB, free: 3.641 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.7549, allocations: 8.031 kB / 0.6329 GB, free: 3.633 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007641/0.7625, allocations: 1.248 MB / 0.6341 GB, free: 2.383 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01879/0.7813, allocations: 6.69 MB / 0.6406 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009245/0.7822, allocations: 396.6 kB / 0.641 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.7842, allocations: 382.7 kB / 0.6413 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03227/0.8165, allocations: 11.46 MB / 0.6525 GB, free: 13.89 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002745/0.8168, allocations: 39.62 kB / 0.6526 GB, free: 13.86 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001997/0.8188, allocations: 187.9 kB / 0.6528 GB, free: 13.67 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003809/0.8191, allocations: 213.2 kB / 0.653 GB, free: 13.46 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02764/0.8468, allocations: 7.618 MB / 0.6604 GB, free: 5.852 MB / 0.5262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06365/0.9104, allocations: 35.4 MB / 0.695 GB, free: 1.406 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02224/0.9327, allocations: 6.695 MB / 0.7015 GB, free: 10.55 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007798/0.9405, allocations: 2.468 MB / 0.7039 GB, free: 8.02 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/0.9419, allocations: 269.9 kB / 0.7042 GB, free: 7.754 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.9421, allocations: 104 kB / 0.7043 GB, free: 7.641 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005503/0.9476, allocations: 0.7244 MB / 0.705 GB, free: 6.914 MB / 0.573 GB Notification: Performance of pre-optimization done (n=812): time 2.911e-05/0.9476, allocations: 0 / 0.705 GB, free: 6.914 MB / 0.573 GB Notification: Performance of matching and sorting (n=812): time 0.053/1.001, allocations: 13.58 MB / 0.7182 GB, free: 9.297 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001082/1.002, allocations: 1.416 MB / 0.7196 GB, free: 7.547 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01496/1.017, allocations: 5.293 MB / 0.7248 GB, free: 2.238 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001742/1.018, allocations: 85.7 kB / 0.7249 GB, free: 2.148 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.003773/1.022, allocations: 2.56 MB / 0.7274 GB, free: 15.57 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.00481/1.027, allocations: 2.71 MB / 0.73 GB, free: 12.83 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007076/1.034, allocations: 1.632 MB / 0.7316 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.034, allocations: 303.8 kB / 0.7319 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008975/1.043, allocations: 3.151 MB / 0.735 GB, free: 7.727 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01299/1.056, allocations: 6.21 MB / 0.741 GB, free: 344 kB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5248/1.581, allocations: 34.49 MB / 0.7747 GB, free: 182.4 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.356e-05/1.581, allocations: 19.59 kB / 0.7747 GB, free: 182.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02757/1.609, allocations: 10.08 MB / 0.7846 GB, free: 177.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-05/1.609, allocations: 32 kB / 0.7846 GB, free: 177 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01849/1.627, allocations: 7.489 MB / 0.7919 GB, free: 169.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07056/1.698, allocations: 6.203 MB / 0.798 GB, free: 163.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007314/1.705, allocations: 2.141 MB / 0.8001 GB, free: 161.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/1.709, allocations: 2.987 MB / 0.803 GB, free: 158.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006543/1.716, allocations: 380.7 kB / 0.8034 GB, free: 157.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001712/1.717, allocations: 0.5386 MB / 0.8039 GB, free: 157.2 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0101/1.727, allocations: 4.266 MB / 0.808 GB, free: 152.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008298/1.736, allocations: 6.15 MB / 0.8141 GB, free: 145.6 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.182/1.918, allocations: 27.69 MB / 0.8411 GB, free: 117 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.222e-05/1.918, allocations: 20.53 kB / 0.8411 GB, free: 116.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02463/1.942, allocations: 9.937 MB / 0.8508 GB, free: 107.3 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/1.942, allocations: 32.55 kB / 0.8509 GB, free: 107.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01669/1.959, allocations: 7.33 MB / 0.858 GB, free: 99.88 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02705/1.986, allocations: 2.683 MB / 0.8606 GB, free: 97.21 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007644/1.994, allocations: 2.128 MB / 0.8627 GB, free: 95.08 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/1.997, allocations: 2.881 MB / 0.8655 GB, free: 92.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006988/2.004, allocations: 380.5 kB / 0.8659 GB, free: 91.72 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001898/2.006, allocations: 0.5269 MB / 0.8664 GB, free: 91.2 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.003463/2.009, allocations: 0.6626 MB / 0.867 GB, free: 90.57 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004686/2.014, allocations: 0.7765 MB / 0.8678 GB, free: 89.92 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 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.0208/2.035, allocations: 10.34 MB / 0.8779 GB, free: 80.04 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.921637702034786]