Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.02435/0.02435, allocations: 1.796 MB / 21.15 MB, free: 3.242 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.002218/0.002218, allocations: 77.56 kB / 24.88 MB, free: 6.82 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.003496/0.003496, allocations: 163.7 kB / 28.74 MB, free: 3.645 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.669/1.669, allocations: 177.1 MB / 209.6 MB, free: 2.387 MB / 186.7 MB " [Timeout remaining time 178] 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 1.18/1.18, allocations: 102.4 MB / 369.1 MB, free: 0.8516 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_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_dev_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_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 469.1 MB, free: 12.94 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.363e-05/5.615e-05, allocations: 2.312 kB / 469.1 MB, free: 12.93 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.4667/0.4668, allocations: 74.45 MB / 0.5309 GB, free: 68.67 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.04351/0.5103, allocations: 25.19 MB / 0.5555 GB, free: 51.88 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008057/0.5183, allocations: 147.2 kB / 0.5556 GB, free: 51.81 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008676/0.527, allocations: 2.632 MB / 0.5582 GB, free: 50.53 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01501/0.542, allocations: 4.762 MB / 0.5628 GB, free: 47.55 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01182/0.5538, allocations: 4.611 MB / 0.5673 GB, free: 45.03 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02032/0.5741, allocations: 12.06 MB / 0.5791 GB, free: 38.48 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008555/0.5827, allocations: 4.098 MB / 0.5831 GB, free: 35.34 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01621/0.5989, allocations: 6.657 MB / 0.5896 GB, free: 30.66 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008653/0.6076, allocations: 4.06 MB / 0.5936 GB, free: 26.6 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003252/0.6108, allocations: 0.8438 MB / 0.5944 GB, free: 25.75 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008774/0.6196, allocations: 2.605 MB / 0.5969 GB, free: 23.15 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003748/0.6233, allocations: 2.379 MB / 0.5993 GB, free: 20.77 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007432/0.6308, allocations: 2.611 MB / 0.6018 GB, free: 18.15 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02017/0.6509, allocations: 12.75 MB / 0.6142 GB, free: 5.363 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.6509, allocations: 0 / 0.6142 GB, free: 5.363 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6509, allocations: 0 / 0.6142 GB, free: 5.363 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004487/0.6514, allocations: 0 / 0.6142 GB, free: 5.363 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: 1448 * Number of variables: 1448 Notification: Performance of Generate backend data structure: time 0.02844/0.6798, allocations: 9.093 MB / 0.6231 GB, free: 12.22 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.6799, allocations: 12.03 kB / 0.6231 GB, free: 12.21 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007628/0.6875, allocations: 1.248 MB / 0.6244 GB, free: 10.96 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01988/0.7074, allocations: 5.982 MB / 0.6302 GB, free: 4.918 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009487/0.7083, allocations: 397.4 kB / 0.6306 GB, free: 4.508 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002484/0.7108, allocations: 376 kB / 0.6309 GB, free: 4.141 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03471/0.7455, allocations: 12.45 MB / 0.6431 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002287/0.7458, allocations: 39.62 kB / 0.6431 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001539/0.7473, allocations: 180 kB / 0.6433 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004082/0.7477, allocations: 218.9 kB / 0.6435 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0272/0.7749, allocations: 7.057 MB / 0.6504 GB, free: 14.34 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07995/0.8549, allocations: 51.15 MB / 0.7004 GB, free: 9.566 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02096/0.8758, allocations: 6.511 MB / 0.7067 GB, free: 2.812 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007137/0.883, allocations: 2.215 MB / 0.7089 GB, free: 0.5078 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.8844, allocations: 280.8 kB / 0.7091 GB, free: 240 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.8846, allocations: 106.9 kB / 0.7092 GB, free: 124 kB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005402/0.89, allocations: 0.6777 MB / 0.7099 GB, free: 15.44 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=812): time 2.668e-05/0.89, allocations: 0 / 0.7099 GB, free: 15.44 MB / 0.5887 GB Notification: Performance of matching and sorting (n=812): time 0.05193/0.9419, allocations: 13.16 MB / 0.7228 GB, free: 2.23 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001115/0.943, allocations: 1.412 MB / 0.7241 GB, free: 496 kB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01839/0.9614, allocations: 6.525 MB / 0.7305 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.00166/0.9631, allocations: 81.7 kB / 0.7306 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.004822/0.9679, allocations: 3.066 MB / 0.7336 GB, free: 6.758 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.006129/0.974, allocations: 3.015 MB / 0.7365 GB, free: 3.719 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007053/0.9811, allocations: 2.014 MB / 0.7385 GB, free: 1.691 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0002797/0.9814, allocations: 484.7 kB / 0.739 GB, free: 1.215 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2808/1.262, allocations: 2.957 MB / 0.7418 GB, free: 183.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008201/1.27, allocations: 7.254 MB / 0.7489 GB, free: 178.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02005/1.29, allocations: 12.67 MB / 0.7613 GB, free: 174 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.678e-05/1.291, allocations: 18.62 kB / 0.7613 GB, free: 174 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02169/1.312, allocations: 9.821 MB / 0.7709 GB, free: 170.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/1.312, allocations: 31.78 kB / 0.7709 GB, free: 170.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01467/1.327, allocations: 7.037 MB / 0.7778 GB, free: 168.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05164/1.379, allocations: 4.501 MB / 0.7822 GB, free: 168.2 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008025/1.387, allocations: 2.083 MB / 0.7842 GB, free: 168 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003713/1.39, allocations: 3.583 MB / 0.7877 GB, free: 165.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007325/1.398, allocations: 319.9 kB / 0.788 GB, free: 164.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002257/1.4, allocations: 0.532 MB / 0.7886 GB, free: 164.9 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.0103/1.41, allocations: 3.765 MB / 0.7922 GB, free: 161.7 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008741/1.419, allocations: 7.185 MB / 0.7993 GB, free: 153.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01951/1.438, allocations: 12.46 MB / 0.8114 GB, free: 140.4 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.377e-05/1.439, allocations: 22.66 kB / 0.8114 GB, free: 140.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02327/1.462, allocations: 9.604 MB / 0.8208 GB, free: 132 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/1.462, allocations: 32 kB / 0.8209 GB, free: 131.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01383/1.476, allocations: 6.744 MB / 0.8274 GB, free: 125.9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/1.478, allocations: 444.4 kB / 0.8279 GB, free: 125.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007307/1.486, allocations: 2.129 MB / 0.8299 GB, free: 123.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/1.488, allocations: 2.999 MB / 0.8329 GB, free: 120.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006123/1.494, allocations: 324.6 kB / 0.8332 GB, free: 120.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00168/1.495, allocations: 0.521 MB / 0.8337 GB, free: 120 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,34)} Notification: Performance of prepare postOptimizeDAE: time 0.003631/1.499, allocations: 0.7465 MB / 0.8344 GB, free: 119.3 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004223/1.503, allocations: 0.7838 MB / 0.8352 GB, free: 118.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 1294 equation(s) and 1237 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) = ($cse336, $cse337, $cse338, $cse339, $cse340, $cse341, $cse342, $cse343, $cse344, $cse345) 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.02306/1.526, allocations: 10.46 MB / 0.8454 GB, free: 108.8 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.549588566063903]