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.02255/0.02255, allocations: 1.8 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.001747/0.001747, allocations: 77.89 kB / 24.89 MB, free: 6.809 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.001861/0.001861, allocations: 163.8 kB / 28.74 MB, free: 3.648 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.52/1.52, allocations: 177.1 MB / 209.6 MB, free: 2.402 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.168/1.168, allocations: 102.5 MB / 369.1 MB, free: 0.9023 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_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.733e-06/1.733e-06, allocations: 0 / 469.2 MB, free: 12.98 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.021e-05, allocations: 4.141 kB / 469.2 MB, free: 12.98 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.4483/0.4483, allocations: 74.45 MB / 0.5309 GB, free: 68.73 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03736/0.4856, allocations: 25.19 MB / 0.5555 GB, free: 51.95 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006919/0.4926, allocations: 147.2 kB / 0.5556 GB, free: 51.88 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007904/0.5005, allocations: 2.632 MB / 0.5582 GB, free: 50.6 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01532/0.5158, allocations: 4.762 MB / 0.5628 GB, free: 47.62 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01296/0.5287, allocations: 4.61 MB / 0.5673 GB, free: 45.11 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02274/0.5515, allocations: 12.06 MB / 0.5791 GB, free: 38.5 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00816/0.5596, allocations: 4.096 MB / 0.5831 GB, free: 35.36 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01782/0.5775, allocations: 6.654 MB / 0.5896 GB, free: 30.71 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0103/0.5878, allocations: 4.066 MB / 0.5936 GB, free: 26.64 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003243/0.591, allocations: 0.8438 MB / 0.5944 GB, free: 25.8 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008852/0.5999, allocations: 2.598 MB / 0.5969 GB, free: 23.2 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003067/0.6029, allocations: 2.379 MB / 0.5993 GB, free: 20.82 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.006619/0.6095, allocations: 2.614 MB / 0.6018 GB, free: 18.2 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02192/0.6315, allocations: 12.74 MB / 0.6143 GB, free: 5.414 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.6315, allocations: 4 kB / 0.6143 GB, free: 5.41 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6315, allocations: 0 / 0.6143 GB, free: 5.41 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0003581/0.6318, allocations: 0 / 0.6143 GB, free: 5.41 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.0258/0.6576, allocations: 9.093 MB / 0.6231 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/0.6577, allocations: 8.031 kB / 0.6232 GB, free: 12.26 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005589/0.6633, allocations: 1.252 MB / 0.6244 GB, free: 11.01 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01766/0.681, allocations: 5.974 MB / 0.6302 GB, free: 4.973 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006016/0.6816, allocations: 400.6 kB / 0.6306 GB, free: 4.559 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/0.6833, allocations: 380 kB / 0.631 GB, free: 4.188 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03099/0.7143, allocations: 12.44 MB / 0.6431 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/0.7144, allocations: 41.03 kB / 0.6431 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006355/0.715, allocations: 184 kB / 0.6433 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003038/0.7153, allocations: 213.2 kB / 0.6435 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02397/0.7393, allocations: 7.053 MB / 0.6504 GB, free: 14.39 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07584/0.8151, allocations: 51.16 MB / 0.7004 GB, free: 9.613 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02009/0.8352, allocations: 6.513 MB / 0.7067 GB, free: 2.859 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006154/0.8414, allocations: 2.223 MB / 0.7089 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.8426, allocations: 272.5 kB / 0.7092 GB, free: 288 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.8427, allocations: 108.2 kB / 0.7093 GB, free: 168 kB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004773/0.8475, allocations: 0.6798 MB / 0.7099 GB, free: 15.48 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=812): time 1.724e-05/0.8475, allocations: 0 / 0.7099 GB, free: 15.48 MB / 0.5887 GB Notification: Performance of matching and sorting (n=812): time 0.04628/0.8938, allocations: 13.16 MB / 0.7228 GB, free: 2.277 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001096/0.8949, allocations: 1.42 MB / 0.7242 GB, free: 0.5234 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01336/0.9083, allocations: 6.518 MB / 0.7305 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001437/0.9097, allocations: 85.7 kB / 0.7306 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003816/0.9135, allocations: 3.054 MB / 0.7336 GB, free: 6.809 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004894/0.9184, allocations: 3.015 MB / 0.7365 GB, free: 3.77 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00443/0.9228, allocations: 2.026 MB / 0.7385 GB, free: 1.73 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0002474/0.9231, allocations: 479.4 kB / 0.739 GB, free: 1.262 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.239/1.162, allocations: 2.953 MB / 0.7419 GB, free: 183.3 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008399/1.17, allocations: 7.254 MB / 0.7489 GB, free: 178.5 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02029/1.191, allocations: 12.67 MB / 0.7613 GB, free: 174.1 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.223e-05/1.191, allocations: 18.38 kB / 0.7613 GB, free: 174.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02316/1.214, allocations: 9.822 MB / 0.7709 GB, free: 170.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/1.214, allocations: 32.17 kB / 0.771 GB, free: 170.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01357/1.228, allocations: 7.035 MB / 0.7778 GB, free: 168.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05132/1.279, allocations: 4.497 MB / 0.7822 GB, free: 168.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00924/1.288, allocations: 2.085 MB / 0.7843 GB, free: 168.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/1.292, allocations: 3.581 MB / 0.7878 GB, free: 165.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006601/1.298, allocations: 322.8 kB / 0.7881 GB, free: 165 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001857/1.3, allocations: 0.5303 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.009007/1.309, allocations: 3.762 MB / 0.7923 GB, free: 161.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007795/1.317, allocations: 7.19 MB / 0.7993 GB, free: 153.6 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01978/1.337, allocations: 12.46 MB / 0.8114 GB, free: 140.5 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.935e-05/1.337, allocations: 20 kB / 0.8115 GB, free: 140.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.0206/1.357, allocations: 9.602 MB / 0.8208 GB, free: 132.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/1.358, allocations: 32 kB / 0.8209 GB, free: 132.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01491/1.372, allocations: 6.746 MB / 0.8275 GB, free: 126 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/1.375, allocations: 450.5 kB / 0.8279 GB, free: 125.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007652/1.383, allocations: 2.122 MB / 0.83 GB, free: 123.9 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/1.385, allocations: 3.001 MB / 0.8329 GB, free: 120.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006643/1.391, allocations: 319.1 kB / 0.8332 GB, free: 120.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/1.393, allocations: 0.5262 MB / 0.8337 GB, free: 120.1 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.003832/1.397, allocations: 0.7414 MB / 0.8344 GB, free: 119.4 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004632/1.402, allocations: 0.7835 MB / 0.8352 GB, free: 118.6 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.02108/1.423, allocations: 10.46 MB / 0.8454 GB, free: 108.9 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.151561614940874]