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.01108/0.01108, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 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.001604/0.001604, allocations: 104.8 kB / 24.93 MB, free: 2.031 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.002136/0.002136, allocations: 212.5 kB / 28.65 MB, free: 3.297 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.593/1.593, allocations: 230.6 MB / 262.8 MB, free: 5.828 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.14/1.14, allocations: 130.7 MB / 450.4 MB, free: 6.426 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: 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.07996/0.07996, allocations: 20.99 MB / 0.6371 GB, free: 4.211 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.278, allocations: 81.91 MB / 0.717 GB, free: 2.199 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.6342/0.9122, allocations: 57.16 MB / 0.7729 GB, free: 13.02 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05205/0.9643, allocations: 24.68 MB / 0.797 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01173/0.976, allocations: 147.6 kB / 0.7971 GB, free: 11.52 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.9865, allocations: 2.629 MB / 0.7997 GB, free: 9.648 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02423/1.011, allocations: 4.628 MB / 0.8042 GB, free: 5.914 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01819/1.029, allocations: 4.572 MB / 0.8087 GB, free: 2.445 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02299/1.052, allocations: 11.76 MB / 0.8201 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00942/1.061, allocations: 3.883 MB / 0.8239 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01259/1.074, allocations: 4.851 MB / 0.8287 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01086/1.085, allocations: 4.611 MB / 0.8332 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004201/1.089, allocations: 0.8463 MB / 0.834 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/1.1, allocations: 2.577 MB / 0.8365 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005333/1.105, allocations: 2.336 MB / 0.8388 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009666/1.115, allocations: 3.172 MB / 0.8419 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02731/1.142, allocations: 12.72 MB / 0.8543 GB, free: 5.508 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 9.537e-06/1.142, allocations: 2.656 kB / 0.8543 GB, free: 5.508 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.996e-06/1.142, allocations: 4 kB / 0.8543 GB, free: 5.504 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004795/1.143, allocations: 1.5 kB / 0.8543 GB, free: 5.504 MB / 0.6232 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.02772/1.17, allocations: 8.255 MB / 0.8624 GB, free: 13.21 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.17, allocations: 8.031 kB / 0.8624 GB, free: 13.2 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004938/1.175, allocations: 0.9641 MB / 0.8633 GB, free: 12.23 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01728/1.193, allocations: 6.399 MB / 0.8696 GB, free: 5.77 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006345/1.193, allocations: 393.9 kB / 0.87 GB, free: 5.359 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/1.195, allocations: 344 kB / 0.8703 GB, free: 5.023 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03183/1.227, allocations: 11.34 MB / 0.8814 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003151/1.227, allocations: 49.69 kB / 0.8814 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002146/1.229, allocations: 180 kB / 0.8816 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005401/1.23, allocations: 213.2 kB / 0.8818 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02797/1.258, allocations: 7.475 MB / 0.8891 GB, free: 304 kB / 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.05957/1.317, allocations: 34.97 MB / 0.9232 GB, free: 12.27 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02097/1.338, allocations: 6.612 MB / 0.9297 GB, free: 5.5 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006857/1.345, allocations: 2.403 MB / 0.932 GB, free: 3.043 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/1.347, allocations: 253.8 kB / 0.9323 GB, free: 2.793 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/1.347, allocations: 101.4 kB / 0.9324 GB, free: 2.684 MB / 0.7013 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006088/1.353, allocations: 0.6803 MB / 0.933 GB, free: 2.004 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=812): time 2.564e-05/1.353, allocations: 0 / 0.933 GB, free: 2.004 MB / 0.7013 GB Notification: Performance of matching and sorting (n=812): time 0.05044/1.403, allocations: 12.74 MB / 0.9455 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009301/1.404, allocations: 1.42 MB / 0.9469 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01365/1.418, allocations: 5.29 MB / 0.952 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001587/1.42, allocations: 84.36 kB / 0.9521 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003241/1.423, allocations: 2.571 MB / 0.9546 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004352/1.427, allocations: 2.753 MB / 0.9573 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006426/1.434, allocations: 1.632 MB / 0.9589 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.434, allocations: 305.1 kB / 0.9592 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008478/1.442, allocations: 3.099 MB / 0.9622 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01195/1.454, allocations: 6.143 MB / 0.9682 GB, free: 12.34 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2414/1.696, allocations: 31.11 MB / 0.9986 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/1.696, allocations: 20 kB / 0.9986 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.03043/1.726, allocations: 9.686 MB / 1.008 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/1.726, allocations: 32 kB / 1.008 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02145/1.748, allocations: 7.317 MB / 1.015 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04982/1.798, allocations: 4.431 MB / 1.02 GB, free: 7.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009895/1.807, allocations: 2.133 MB / 1.022 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005686/1.813, allocations: 2.771 MB / 1.024 GB, free: 2.184 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008609/1.822, allocations: 375.9 kB / 1.025 GB, free: 1.816 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00236/1.824, allocations: 0.5347 MB / 1.025 GB, free: 1.281 MB / 0.795 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.01418/1.838, allocations: 4.21 MB / 1.029 GB, free: 13.06 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01321/1.851, allocations: 6.089 MB / 1.035 GB, free: 5.785 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.582/2.433, allocations: 27.42 MB / 1.062 GB, free: 343.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.506e-05/2.433, allocations: 18.25 kB / 1.062 GB, free: 343.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02386/2.457, allocations: 9.476 MB / 1.071 GB, free: 340.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/2.457, allocations: 31.75 kB / 1.071 GB, free: 340.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01407/2.471, allocations: 7.036 MB / 1.078 GB, free: 338 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00249/2.474, allocations: 425.9 kB / 1.079 GB, free: 337.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007352/2.481, allocations: 2.176 MB / 1.081 GB, free: 337.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/2.483, allocations: 2.2 MB / 1.083 GB, free: 335.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006624/2.49, allocations: 385.6 kB / 1.083 GB, free: 335.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001759/2.492, allocations: 0.522 MB / 1.084 GB, free: 335.6 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.00323/2.495, allocations: 0.6551 MB / 1.084 GB, free: 335.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003668/2.498, allocations: 0.6806 MB / 1.085 GB, free: 335.1 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.02132/2.52, allocations: 10.32 MB / 1.095 GB, free: 331.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.765057348180562] Failed to read output from testmodel.py, exit status != 0: 2.6947944439016283 2.705235033 1.560155825 Calling exit ...