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.01234/0.01234, allocations: 1.345 MB / 21.03 MB, free: 0.7617 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.00148/0.00148, allocations: 78.12 kB / 24.58 MB, free: 2.137 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.001774/0.001774, allocations: 167.2 kB / 28.26 MB, free: 3.398 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.427/1.427, allocations: 177.2 MB / 209 MB, free: 7.539 MB / 190.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 0.9922/0.9922, allocations: 102.5 MB / 368.3 MB, free: 4.602 MB / 334.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: 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.06725/0.06725, allocations: 20.95 MB / 0.5569 GB, free: 4.926 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.2207, allocations: 81.89 MB / 0.6369 GB, free: 2.902 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.1526/0.3733, allocations: 49.73 MB / 0.6854 GB, free: 1.156 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3533/0.7266, allocations: 24.67 MB / 0.7095 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004908/0.7315, allocations: 147.7 kB / 0.7097 GB, free: 10.48 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.006003/0.7375, allocations: 2.619 MB / 0.7122 GB, free: 9.309 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.7489, allocations: 4.627 MB / 0.7168 GB, free: 6.699 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.00989/0.7587, allocations: 4.574 MB / 0.7212 GB, free: 4.199 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01516/0.7739, allocations: 11.75 MB / 0.7327 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00761/0.7815, allocations: 3.88 MB / 0.7365 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0112/0.7927, allocations: 4.855 MB / 0.7412 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0111/0.8038, allocations: 4.614 MB / 0.7457 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003136/0.807, allocations: 0.844 MB / 0.7466 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009222/0.8162, allocations: 2.589 MB / 0.7491 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004292/0.8205, allocations: 2.33 MB / 0.7514 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008178/0.8286, allocations: 3.171 MB / 0.7545 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02065/0.8493, allocations: 12.71 MB / 0.7669 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8493, allocations: 0 / 0.7669 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8493, allocations: 0 / 0.7669 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003023/0.8496, allocations: 0 / 0.7669 GB, free: 4.574 MB / 0.6075 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.01973/0.8693, allocations: 8.259 MB / 0.7749 GB, free: 12.27 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.8694, allocations: 16.02 kB / 0.775 GB, free: 12.26 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002987/0.8724, allocations: 0.9671 MB / 0.7759 GB, free: 11.29 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/0.8842, allocations: 6.394 MB / 0.7821 GB, free: 4.832 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004072/0.8846, allocations: 389.9 kB / 0.7825 GB, free: 4.426 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005748/0.8851, allocations: 348 kB / 0.7828 GB, free: 4.086 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/0.9082, allocations: 11.34 MB / 0.7939 GB, free: 7.258 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.9083, allocations: 39.62 kB / 0.794 GB, free: 7.219 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004918/0.9088, allocations: 184 kB / 0.7941 GB, free: 7.039 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002433/0.9091, allocations: 213.2 kB / 0.7943 GB, free: 6.828 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/0.9307, allocations: 7.473 MB / 0.8016 GB, free: 15.36 MB / 0.6544 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.04632/0.977, allocations: 34.98 MB / 0.8358 GB, free: 11.33 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/0.9974, allocations: 6.626 MB / 0.8423 GB, free: 4.539 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006229/1.004, allocations: 2.393 MB / 0.8446 GB, free: 2.09 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/1.005, allocations: 249.8 kB / 0.8448 GB, free: 1.844 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/1.005, allocations: 105.4 kB / 0.8449 GB, free: 1.73 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004207/1.009, allocations: 0.6764 MB / 0.8456 GB, free: 1.055 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=812): time 1.738e-05/1.009, allocations: 0 / 0.8456 GB, free: 1.055 MB / 0.6857 GB Notification: Performance of matching and sorting (n=812): time 0.04393/1.053, allocations: 12.75 MB / 0.8581 GB, free: 4.273 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008287/1.054, allocations: 1.412 MB / 0.8594 GB, free: 2.527 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/1.065, allocations: 5.29 MB / 0.8646 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001185/1.066, allocations: 85.7 kB / 0.8647 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002635/1.069, allocations: 2.582 MB / 0.8672 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003575/1.073, allocations: 2.749 MB / 0.8699 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004701/1.077, allocations: 1.632 MB / 0.8715 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.078, allocations: 305.1 kB / 0.8718 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007468/1.085, allocations: 3.099 MB / 0.8748 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01059/1.096, allocations: 6.151 MB / 0.8808 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2577/1.353, allocations: 31.1 MB / 0.9112 GB, free: 11.82 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.73e-05/1.353, allocations: 16 kB / 0.9112 GB, free: 11.81 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02631/1.38, allocations: 9.685 MB / 0.9206 GB, free: 2.062 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 8.183e-05/1.38, allocations: 32 kB / 0.9207 GB, free: 2.031 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01893/1.399, allocations: 7.325 MB / 0.9278 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05376/1.452, allocations: 4.417 MB / 0.9321 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008351/1.461, allocations: 2.141 MB / 0.9342 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/1.465, allocations: 2.78 MB / 0.937 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006213/1.471, allocations: 379.9 kB / 0.9373 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001765/1.473, allocations: 0.5336 MB / 0.9378 GB, free: 288 kB / 0.7794 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.01188/1.485, allocations: 4.217 MB / 0.942 GB, free: 12.06 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01105/1.496, allocations: 6.089 MB / 0.9479 GB, free: 4.781 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2067/1.703, allocations: 27.41 MB / 0.9747 GB, free: 8.418 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.622e-05/1.703, allocations: 20 kB / 0.9747 GB, free: 8.398 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02684/1.729, allocations: 9.485 MB / 0.9839 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.488e-05/1.73, allocations: 32 kB / 0.984 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01785/1.747, allocations: 7.042 MB / 0.9909 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/1.75, allocations: 417.4 kB / 0.9912 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007899/1.758, allocations: 2.184 MB / 0.9934 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/1.76, allocations: 2.194 MB / 0.9955 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005721/1.766, allocations: 384.5 kB / 0.9959 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/1.767, allocations: 0.5269 MB / 0.9964 GB, free: 1.879 MB / 0.8419 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.002523/1.77, allocations: 0.6539 MB / 0.997 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003009/1.773, allocations: 0.6809 MB / 0.9977 GB, free: 0.5352 MB / 0.8419 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.02154/1.795, allocations: 10.32 MB / 1.008 GB, free: 6.383 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.622042399016209] Failed to read output from testmodel.py, exit status != 0: 2.174022252904251 2.184144574 1.33244375 Calling exit ...