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_simple.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.0107/0.0107, 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.001409/0.001409, allocations: 104.3 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.001866/0.001866, allocations: 210.3 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.53/1.53, allocations: 230.6 MB / 262.8 MB, free: 5.84 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.157/1.157, 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_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") [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.07042/0.07042, allocations: 21 MB / 0.6371 GB, free: 4.32 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.262, allocations: 81.9 MB / 0.717 GB, free: 2.332 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_simple): time 0.6646/0.9266, allocations: 57.04 MB / 0.7727 GB, free: 13.13 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04973/0.9764, allocations: 24.78 MB / 0.7969 GB, free: 11.67 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01186/0.9882, allocations: 148.5 kB / 0.7971 GB, free: 11.6 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01099/0.9992, allocations: 2.636 MB / 0.7997 GB, free: 9.734 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02124/1.02, allocations: 4.715 MB / 0.8043 GB, free: 5.938 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01478/1.035, allocations: 4.634 MB / 0.8088 GB, free: 2.418 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02477/1.06, allocations: 12.36 MB / 0.8209 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009033/1.069, allocations: 4.02 MB / 0.8248 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01361/1.083, allocations: 5.05 MB / 0.8297 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/1.094, allocations: 4.875 MB / 0.8345 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004216/1.099, allocations: 0.875 MB / 0.8353 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01343/1.112, allocations: 2.61 MB / 0.8379 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005535/1.118, allocations: 2.518 MB / 0.8403 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01006/1.128, allocations: 3.308 MB / 0.8436 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0304/1.158, allocations: 13.22 MB / 0.8565 GB, free: 3.418 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/1.158, allocations: 4 kB / 0.8565 GB, free: 3.414 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.144e-06/1.158, allocations: 0 / 0.8565 GB, free: 3.414 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005072/1.159, allocations: 0 / 0.8565 GB, free: 3.414 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: 1515 * Number of variables: 1515 Notification: Performance of Generate backend data structure: time 0.03228/1.191, allocations: 8.582 MB / 0.8649 GB, free: 10.79 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/1.191, allocations: 12 kB / 0.8649 GB, free: 10.78 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006037/1.197, allocations: 1.013 MB / 0.8659 GB, free: 9.766 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01939/1.216, allocations: 6.467 MB / 0.8722 GB, free: 3.23 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007252/1.217, allocations: 403.8 kB / 0.8726 GB, free: 2.812 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/1.219, allocations: 362.7 kB / 0.8729 GB, free: 2.461 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03475/1.254, allocations: 11.89 MB / 0.8845 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002675/1.254, allocations: 44.31 kB / 0.8846 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/1.256, allocations: 194.6 kB / 0.8848 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005485/1.256, allocations: 285.7 kB / 0.885 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02801/1.284, allocations: 8.017 MB / 0.8929 GB, free: 12.53 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.06476/1.349, allocations: 36.37 MB / 0.9284 GB, free: 7.09 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02279/1.372, allocations: 7.035 MB / 0.9352 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007579/1.38, allocations: 2.546 MB / 0.9377 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/1.381, allocations: 250 kB / 0.938 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/1.381, allocations: 108.2 kB / 0.9381 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005394/1.387, allocations: 0.6566 MB / 0.9387 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=829): time 2.957e-05/1.387, allocations: 2.906 kB / 0.9387 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=829): time 0.05673/1.443, allocations: 14.13 MB / 0.9525 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00104/1.444, allocations: 1.441 MB / 0.9539 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01509/1.46, allocations: 5.377 MB / 0.9592 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001631/1.461, allocations: 85.7 kB / 0.9593 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003556/1.465, allocations: 2.68 MB / 0.9619 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004583/1.469, allocations: 2.811 MB / 0.9646 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00697/1.476, allocations: 1.696 MB / 0.9663 GB, free: 15.63 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.476, allocations: 305.1 kB / 0.9666 GB, free: 15.33 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009142/1.486, allocations: 3.296 MB / 0.9698 GB, free: 12.02 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01255/1.498, allocations: 6.408 MB / 0.976 GB, free: 4.406 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2487/1.747, allocations: 32.93 MB / 1.008 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.762e-05/1.747, allocations: 16 kB / 1.008 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.02821/1.775, allocations: 10.38 MB / 1.018 GB, free: 8.562 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.329e-05/1.775, allocations: 39.53 kB / 1.018 GB, free: 8.527 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02434/1.799, allocations: 8.518 MB / 1.027 GB, free: 15.96 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09335/1.893, allocations: 7.741 MB / 1.034 GB, free: 8.199 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009021/1.902, allocations: 2.207 MB / 1.036 GB, free: 5.988 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00646/1.908, allocations: 4.534 MB / 1.041 GB, free: 1.211 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007612/1.916, allocations: 394.3 kB / 1.041 GB, free: 0.8281 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002292/1.918, allocations: 0.5464 MB / 1.042 GB, free: 288 kB / 0.8107 GB Warning: Assuming fixed start value for the following 4 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" 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.01389/1.932, allocations: 4.494 MB / 1.046 GB, free: 11.77 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0126/1.945, allocations: 6.36 MB / 1.052 GB, free: 4.203 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5667/2.511, allocations: 29.23 MB / 1.081 GB, free: 357.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.721e-05/2.511, allocations: 18.59 kB / 1.081 GB, free: 357.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.02375/2.535, allocations: 9.912 MB / 1.091 GB, free: 354.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/2.535, allocations: 34.03 kB / 1.091 GB, free: 354.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01466/2.55, allocations: 7.535 MB / 1.098 GB, free: 351.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003863/2.554, allocations: 482.9 kB / 1.098 GB, free: 351.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007631/2.561, allocations: 2.249 MB / 1.101 GB, free: 351.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003629/2.565, allocations: 5.862 MB / 1.106 GB, free: 346.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006666/2.572, allocations: 406.8 kB / 1.107 GB, free: 346 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/2.573, allocations: 0.534 MB / 1.107 GB, free: 345.9 MB / 0.8419 GB Warning: Assuming fixed start value for the following 4 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" 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: 291 * 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 (1101): * Single equations (assignments): 1097 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,17)} Notification: Performance of prepare postOptimizeDAE: time 0.003219/2.577, allocations: 0.6694 MB / 1.108 GB, free: 345.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003472/2.58, allocations: 0.6985 MB / 1.109 GB, free: 345.4 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 1314 equation(s) and 1257 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) = ($cse333, $cse334, $cse335, $cse336, $cse337, $cse338, $cse339, $cse340, $cse341, $cse342) has size 9 but 8 variables ($cse156, $cse157, $cse158, $cse159, 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.01759/2.598, allocations: 10.53 MB / 1.119 GB, free: 339 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.762977966107428] Failed to read output from testmodel.py, exit status != 0: 2.7739504580385983 2.785948299 1.624963054 Calling exit ...