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.01304/0.01304, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001578/0.001578, allocations: 111.5 kB / 24.19 MB, free: 2.688 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.001904/0.001904, allocations: 203.9 kB / 27.91 MB, free: 4.027 MB / 19.63 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.519/1.519, allocations: 230.6 MB / 262.1 MB, free: 5.996 MB / 206.1 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.094/1.094, allocations: 130.7 MB / 449.7 MB, free: 6.777 MB / 350.1 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.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_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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.03307/0.03307, allocations: 20.78 MB / 0.6363 GB, free: 4.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.2087, allocations: 81.91 MB / 0.7162 GB, free: 2.66 MB / 0.5294 GB 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.536/0.7447, allocations: 60.89 MB / 0.7757 GB, free: 9.43 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04384/0.7885, allocations: 25.73 MB / 0.8008 GB, free: 6.945 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009666/0.7982, allocations: 146.9 kB / 0.801 GB, free: 6.879 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009361/0.8076, allocations: 2.711 MB / 0.8036 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01795/0.8255, allocations: 4.618 MB / 0.8081 GB, free: 1.191 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01303/0.8385, allocations: 4.555 MB / 0.8126 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02075/0.8593, allocations: 11.77 MB / 0.8241 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008094/0.8674, allocations: 3.654 MB / 0.8276 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/0.8782, allocations: 4.842 MB / 0.8324 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/0.8884, allocations: 4.951 MB / 0.8372 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003605/0.892, allocations: 0.8515 MB / 0.838 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/0.9023, allocations: 3.468 MB / 0.8414 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004427/0.9067, allocations: 2.339 MB / 0.8437 GB, free: 224 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008709/0.9154, allocations: 4.076 MB / 0.8477 GB, free: 12.12 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02753/0.9429, allocations: 12.86 MB / 0.8602 GB, free: 15.21 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.9429, allocations: 4 kB / 0.8602 GB, free: 15.21 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9429, allocations: 4 kB / 0.8603 GB, free: 15.2 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.000482/0.9434, allocations: 0 / 0.8603 GB, free: 15.2 MB / 0.6388 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.02491/0.9683, allocations: 8.267 MB / 0.8683 GB, free: 6.898 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.9684, allocations: 8.031 kB / 0.8683 GB, free: 6.891 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/0.973, allocations: 0.9706 MB / 0.8693 GB, free: 5.918 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01626/0.9892, allocations: 6.397 MB / 0.8755 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006215/0.9898, allocations: 392.6 kB / 0.8759 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.9913, allocations: 344 kB / 0.8762 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0298/1.021, allocations: 9.506 MB / 0.8855 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001982/1.021, allocations: 39.62 kB / 0.8855 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001367/1.023, allocations: 180 kB / 0.8857 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003502/1.023, allocations: 219.9 kB / 0.8859 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/1.048, allocations: 7.498 MB / 0.8933 GB, free: 12.34 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.05412/1.102, allocations: 37.74 MB / 0.9301 GB, free: 5.48 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02047/1.123, allocations: 6.626 MB / 0.9366 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006353/1.129, allocations: 2.407 MB / 0.9389 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/1.13, allocations: 288.4 kB / 0.9392 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/1.13, allocations: 102.8 kB / 0.9393 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004371/1.135, allocations: 0.6958 MB / 0.94 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=812): time 1.806e-05/1.135, allocations: 0 / 0.94 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of matching and sorting (n=812): time 0.046/1.181, allocations: 12.75 MB / 0.9524 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00081/1.182, allocations: 1.416 MB / 0.9538 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/1.194, allocations: 5.311 MB / 0.959 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001296/1.195, allocations: 85.7 kB / 0.9591 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002869/1.198, allocations: 2.56 MB / 0.9616 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003678/1.201, allocations: 2.745 MB / 0.9643 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005178/1.207, allocations: 1.639 MB / 0.9659 GB, free: 236 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.207, allocations: 301.1 kB / 0.9662 GB, free: 15.93 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007762/1.215, allocations: 3.099 MB / 0.9692 GB, free: 12.82 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01028/1.225, allocations: 5.364 MB / 0.9744 GB, free: 6.527 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2548/1.48, allocations: 31.1 MB / 1.005 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.522e-05/1.48, allocations: 20 kB / 1.005 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02529/1.505, allocations: 9.685 MB / 1.014 GB, free: 12.95 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/1.505, allocations: 32.94 kB / 1.014 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01815/1.523, allocations: 7.325 MB / 1.021 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05474/1.578, allocations: 4.432 MB / 1.026 GB, free: 1.109 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008329/1.586, allocations: 2.133 MB / 1.028 GB, free: 14.97 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/1.59, allocations: 2.807 MB / 1.031 GB, free: 12.02 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00581/1.596, allocations: 379.8 kB / 1.031 GB, free: 11.65 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001636/1.598, allocations: 0.5308 MB / 1.031 GB, free: 11.12 MB / 0.8107 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.01094/1.609, allocations: 4.2 MB / 1.036 GB, free: 6.918 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0098/1.618, allocations: 5.31 MB / 1.041 GB, free: 0.6094 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.517/2.135, allocations: 27.4 MB / 1.068 GB, free: 342.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.429e-05/2.135, allocations: 22.66 kB / 1.068 GB, free: 342.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02022/2.156, allocations: 9.479 MB / 1.077 GB, free: 339.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/2.156, allocations: 31.94 kB / 1.077 GB, free: 339.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01412/2.17, allocations: 7.044 MB / 1.084 GB, free: 337 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002723/2.173, allocations: 430 kB / 1.084 GB, free: 336.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007755/2.18, allocations: 2.181 MB / 1.086 GB, free: 336.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/2.182, allocations: 2.22 MB / 1.088 GB, free: 334.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005987/2.188, allocations: 386.2 kB / 1.089 GB, free: 334.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/2.19, allocations: 0.5248 MB / 1.089 GB, free: 334.5 MB / 0.8263 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.003175/2.193, allocations: 0.6683 MB / 1.09 GB, free: 334 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003396/2.196, allocations: 0.6867 MB / 1.091 GB, free: 334 MB / 0.8263 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.01953/2.216, allocations: 10.28 MB / 1.101 GB, free: 327.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.130208446877077] Failed to read output from testmodel.py, exit status != 0: 2.346658412134275 2.356671013 1.4110220740000001 Calling exit ...