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.01033/0.01033, allocations: 1.766 MB / 18.12 MB, free: 4.906 MB / 14.72 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.001219/0.001219, allocations: 103.7 kB / 21.36 MB, free: 1.684 MB / 14.72 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.001567/0.001567, allocations: 219.2 kB / 24.75 MB, free: 3.695 MB / 14.72 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.55/1.55, allocations: 230.6 MB / 258.5 MB, free: 13.12 MB / 206.1 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.148/1.148, allocations: 130.5 MB / 445.6 MB, free: 14.95 MB / 350.1 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.3.1 (/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: SMArtInt 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: ClaRa 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 uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.4764/0.4764, allocations: 46.15 MB / 0.655 GB, free: 30.74 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.69, allocations: 89.05 MB / 0.7419 GB, free: 2.422 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu): time 0.03341/0.7234, allocations: 27.93 MB / 0.7692 GB, free: 6.387 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04818/0.7716, allocations: 25.42 MB / 0.794 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007566/0.7792, allocations: 146.9 kB / 0.7942 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008561/0.7877, allocations: 2.692 MB / 0.7968 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.8039, allocations: 4.519 MB / 0.8012 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.8178, allocations: 4.495 MB / 0.8056 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02232/0.8401, allocations: 11.75 MB / 0.8171 GB, free: 5.215 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007718/0.8479, allocations: 3.704 MB / 0.8207 GB, free: 1.438 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.8593, allocations: 4.835 MB / 0.8254 GB, free: 12.59 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01118/0.8704, allocations: 4.94 MB / 0.8302 GB, free: 7.625 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003996/0.8744, allocations: 0.8438 MB / 0.8311 GB, free: 6.781 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/0.8856, allocations: 3.26 MB / 0.8342 GB, free: 3.52 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.005087/0.8907, allocations: 2.34 MB / 0.8365 GB, free: 1.172 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.009746/0.9005, allocations: 4.07 MB / 0.8405 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02759/0.928, allocations: 12.81 MB / 0.853 GB, free: 236 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.9281, allocations: 8 kB / 0.853 GB, free: 228 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9281, allocations: 4 kB / 0.853 GB, free: 224 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004643/0.9285, allocations: 0 / 0.853 GB, free: 224 kB / 0.6544 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.02669/0.9552, allocations: 8.329 MB / 0.8612 GB, free: 7.785 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.9553, allocations: 11.97 kB / 0.8612 GB, free: 7.773 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/0.9601, allocations: 0.9678 MB / 0.8621 GB, free: 6.801 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01658/0.9767, allocations: 6.595 MB / 0.8685 GB, free: 140 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5392/1.516, allocations: 339.6 kB / 0.8689 GB, free: 111.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002086/1.518, allocations: 347.9 kB / 0.8692 GB, free: 111.6 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02711/1.545, allocations: 9.495 MB / 0.8785 GB, free: 107.6 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/1.545, allocations: 36.53 kB / 0.8785 GB, free: 107.6 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006163/1.546, allocations: 188 kB / 0.8787 GB, free: 107.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002531/1.546, allocations: 213.3 kB / 0.8789 GB, free: 107.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02646/1.573, allocations: 7.51 MB / 0.8862 GB, free: 105.5 MB / 0.67 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.06145/1.634, allocations: 37.84 MB / 0.9232 GB, free: 73.51 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02168/1.656, allocations: 6.783 MB / 0.9298 GB, free: 69.64 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007037/1.663, allocations: 2.391 MB / 0.9321 GB, free: 68.25 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/1.664, allocations: 0.5873 MB / 0.9327 GB, free: 67.79 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/1.664, allocations: 98.95 kB / 0.9328 GB, free: 67.71 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005808/1.67, allocations: 0.6933 MB / 0.9335 GB, free: 67.38 MB / 0.67 GB Notification: Performance of pre-optimization done (n=812): time 4.351e-05/1.67, allocations: 0 / 0.9335 GB, free: 67.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=812): time 0.05212/1.722, allocations: 12.9 MB / 0.9461 GB, free: 61.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003784/1.723, allocations: 1.417 MB / 0.9475 GB, free: 59.45 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01267/1.735, allocations: 5.305 MB / 0.9526 GB, free: 56.67 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001636/1.737, allocations: 85.42 kB / 0.9527 GB, free: 56.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002403/1.739, allocations: 2.559 MB / 0.9552 GB, free: 54.55 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003912/1.743, allocations: 2.747 MB / 0.9579 GB, free: 52.49 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006566/1.75, allocations: 1.636 MB / 0.9595 GB, free: 51.57 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.621e-05/1.75, allocations: 303.8 kB / 0.9598 GB, free: 51.28 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0076/1.758, allocations: 3.1 MB / 0.9628 GB, free: 49.57 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008639/1.766, allocations: 5.363 MB / 0.9681 GB, free: 43.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2319/1.998, allocations: 31.12 MB / 0.9984 GB, free: 12.12 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/1.998, allocations: 20 kB / 0.9985 GB, free: 12.11 MB / 0.67 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01967/2.018, allocations: 9.7 MB / 1.008 GB, free: 2.641 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/2.018, allocations: 33.56 kB / 1.008 GB, free: 2.609 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01539/2.033, allocations: 7.316 MB / 1.015 GB, free: 11.24 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05194/2.085, allocations: 4.434 MB / 1.019 GB, free: 6.828 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008669/2.094, allocations: 2.137 MB / 1.022 GB, free: 4.688 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004036/2.098, allocations: 2.906 MB / 1.024 GB, free: 1.625 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007394/2.105, allocations: 377.9 kB / 1.025 GB, free: 1.258 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001649/2.107, allocations: 0.5308 MB / 1.025 GB, free: 0.7266 MB / 0.6857 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.01169/2.119, allocations: 4.207 MB / 1.029 GB, free: 12.52 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01026/2.129, allocations: 5.307 MB / 1.035 GB, free: 6.211 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2035/2.332, allocations: 27.41 MB / 1.061 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.282e-05/2.332, allocations: 20 kB / 1.061 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02563/2.358, allocations: 9.475 MB / 1.071 GB, free: 356 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/2.358, allocations: 32 kB / 1.071 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01725/2.375, allocations: 7.041 MB / 1.077 GB, free: 9.223 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002664/2.378, allocations: 421.4 kB / 1.078 GB, free: 8.805 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008986/2.387, allocations: 2.18 MB / 1.08 GB, free: 6.621 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/2.39, allocations: 2.333 MB / 1.082 GB, free: 4.121 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007106/2.397, allocations: 384.5 kB / 1.083 GB, free: 3.746 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001698/2.398, allocations: 0.5269 MB / 1.083 GB, free: 3.219 MB / 0.7482 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.002659/2.401, allocations: 0.6563 MB / 1.084 GB, free: 2.598 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003164/2.404, allocations: 0.6866 MB / 1.084 GB, free: 1.906 MB / 0.7482 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.02192/2.426, allocations: 10.3 MB / 1.095 GB, free: 7.855 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.189942826007609] Failed to read output from testmodel.py, exit status != 0: 2.436648859991692 2.450012144 1.51853537 Calling exit ...