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.0155/0.0155, 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.008555/0.008555, allocations: 80.25 kB / 24.44 MB, free: 7.531 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.001553/0.001553, allocations: 163 kB / 28.2 MB, free: 4.668 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.458/1.458, allocations: 177.2 MB / 209 MB, free: 2.777 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.066/1.066, 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 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 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_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.054e-06/2.054e-06, allocations: 0 / 468.3 MB, free: 13.44 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.25e-05/4.455e-05, allocations: 2.312 kB / 468.3 MB, free: 13.44 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.4528/0.4529, allocations: 71.02 MB / 0.5267 GB, free: 70.72 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03464/0.4875, allocations: 24.39 MB / 0.5505 GB, free: 54.92 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008145/0.4957, allocations: 146.2 kB / 0.5507 GB, free: 54.85 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008603/0.5043, allocations: 2.641 MB / 0.5532 GB, free: 53.57 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01562/0.5199, allocations: 4.744 MB / 0.5579 GB, free: 50.61 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01234/0.5322, allocations: 4.613 MB / 0.5624 GB, free: 48.08 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01958/0.5518, allocations: 12.06 MB / 0.5742 GB, free: 41.76 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008309/0.5601, allocations: 4.093 MB / 0.5782 GB, free: 38.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01705/0.5772, allocations: 6.72 MB / 0.5847 GB, free: 34.3 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0093/0.5865, allocations: 4.157 MB / 0.5888 GB, free: 30.81 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003233/0.5897, allocations: 0.8672 MB / 0.5896 GB, free: 29.95 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0936/0.6833, allocations: 18.07 MB / 0.6073 GB, free: 13.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004178/0.6875, allocations: 2.406 MB / 0.6096 GB, free: 11.48 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007905/0.6954, allocations: 2.657 MB / 0.6122 GB, free: 8.816 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02202/0.7174, allocations: 12.93 MB / 0.6248 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.7174, allocations: 2.625 kB / 0.6248 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7174, allocations: 0 / 0.6248 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004463/0.7179, allocations: 0 / 0.6248 GB, free: 11.84 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.0287/0.7466, allocations: 8.189 MB / 0.6328 GB, free: 3.617 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.7466, allocations: 8.031 kB / 0.6329 GB, free: 3.609 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006495/0.7531, allocations: 1.241 MB / 0.6341 GB, free: 2.363 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/0.7716, allocations: 6.7 MB / 0.6406 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007391/0.7723, allocations: 389.9 kB / 0.641 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001907/0.7742, allocations: 384 kB / 0.6413 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0328/0.807, allocations: 11.46 MB / 0.6525 GB, free: 13.87 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002163/0.8073, allocations: 42.28 kB / 0.6526 GB, free: 13.83 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001607/0.8089, allocations: 180 kB / 0.6527 GB, free: 13.65 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004157/0.8093, allocations: 213.2 kB / 0.653 GB, free: 13.44 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02836/0.8376, allocations: 7.619 MB / 0.6604 GB, free: 5.828 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.06527/0.9029, allocations: 35.41 MB / 0.695 GB, free: 1.383 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/0.925, allocations: 6.701 MB / 0.7015 GB, free: 10.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00749/0.9325, allocations: 2.46 MB / 0.7039 GB, free: 8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.9339, allocations: 269.9 kB / 0.7042 GB, free: 7.734 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.9341, allocations: 101.4 kB / 0.7043 GB, free: 7.621 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0054/0.9395, allocations: 0.731 MB / 0.705 GB, free: 6.891 MB / 0.573 GB Notification: Performance of pre-optimization done (n=812): time 2.157e-05/0.9395, allocations: 0 / 0.705 GB, free: 6.891 MB / 0.573 GB Notification: Performance of matching and sorting (n=812): time 0.05156/0.9911, allocations: 13.58 MB / 0.7182 GB, free: 9.273 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001101/0.9922, allocations: 1.416 MB / 0.7196 GB, free: 7.523 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/1.006, allocations: 5.29 MB / 0.7248 GB, free: 2.215 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001641/1.008, allocations: 84.36 kB / 0.7249 GB, free: 2.129 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.003637/1.011, allocations: 2.563 MB / 0.7274 GB, free: 15.55 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.005068/1.016, allocations: 2.714 MB / 0.73 GB, free: 12.81 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006482/1.023, allocations: 1.624 MB / 0.7316 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.023, allocations: 305.1 kB / 0.7319 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008806/1.032, allocations: 3.154 MB / 0.735 GB, free: 7.707 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0126/1.044, allocations: 6.21 MB / 0.741 GB, free: 324 kB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5533/1.598, allocations: 34.48 MB / 0.7747 GB, free: 182.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/1.598, allocations: 17.91 kB / 0.7747 GB, free: 182.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02608/1.624, allocations: 10.08 MB / 0.7846 GB, free: 177 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-05/1.624, allocations: 36.91 kB / 0.7846 GB, free: 177 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.018/1.642, allocations: 7.48 MB / 0.7919 GB, free: 169.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07158/1.713, allocations: 6.212 MB / 0.798 GB, free: 163.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007302/1.721, allocations: 2.141 MB / 0.8001 GB, free: 161.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/1.725, allocations: 2.983 MB / 0.803 GB, free: 158 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006153/1.731, allocations: 388.2 kB / 0.8034 GB, free: 157.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/1.733, allocations: 0.5308 MB / 0.8039 GB, free: 157.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009725/1.742, allocations: 4.273 MB / 0.8081 GB, free: 152.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008136/1.75, allocations: 6.157 MB / 0.8141 GB, free: 145.5 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.188/1.938, allocations: 27.68 MB / 0.8411 GB, free: 116.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.593e-05/1.938, allocations: 20 kB / 0.8411 GB, free: 116.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.023/1.961, allocations: 9.937 MB / 0.8508 GB, free: 107.2 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.112e-05/1.961, allocations: 33 kB / 0.8509 GB, free: 107.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01528/1.977, allocations: 7.324 MB / 0.858 GB, free: 99.84 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02661/2.003, allocations: 2.682 MB / 0.8606 GB, free: 97.17 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007401/2.011, allocations: 2.134 MB / 0.8627 GB, free: 95.03 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/2.014, allocations: 2.874 MB / 0.8655 GB, free: 92.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006247/2.02, allocations: 384.5 kB / 0.8659 GB, free: 91.68 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/2.022, allocations: 0.5308 MB / 0.8664 GB, free: 91.15 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.003103/2.025, allocations: 0.6635 MB / 0.8671 GB, free: 90.53 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004105/2.029, allocations: 0.7844 MB / 0.8678 GB, free: 89.87 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.01905/2.048, allocations: 10.32 MB / 0.8779 GB, free: 80 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 5.901645059930161]