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.01389/0.01389, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001375/0.001375, allocations: 104.1 kB / 24.18 MB, free: 2.438 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.001489/0.001489, allocations: 213.6 kB / 27.9 MB, free: 3.742 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.428/1.428, allocations: 230.6 MB / 262.1 MB, free: 5.836 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.104/1.104, allocations: 130.7 MB / 449.6 MB, free: 6.387 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.06395/0.06395, allocations: 20.99 MB / 0.6363 GB, free: 4.164 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.2421, allocations: 81.9 MB / 0.7163 GB, free: 2.168 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.5439/0.786, allocations: 57.17 MB / 0.7721 GB, free: 12.99 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04859/0.8346, allocations: 24.67 MB / 0.7962 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009287/0.8439, allocations: 150.4 kB / 0.7964 GB, free: 11.49 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009542/0.8534, allocations: 2.631 MB / 0.7989 GB, free: 9.629 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01828/0.8717, allocations: 4.625 MB / 0.8035 GB, free: 5.895 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01334/0.885, allocations: 4.577 MB / 0.8079 GB, free: 2.426 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02037/0.9054, allocations: 11.75 MB / 0.8194 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008001/0.9134, allocations: 3.891 MB / 0.8232 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.9234, allocations: 4.853 MB / 0.8279 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009227/0.9326, allocations: 4.61 MB / 0.8324 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003161/0.9358, allocations: 0.8438 MB / 0.8333 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008962/0.9448, allocations: 2.581 MB / 0.8358 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003942/0.9487, allocations: 2.336 MB / 0.8381 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007426/0.9561, allocations: 3.172 MB / 0.8412 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02253/0.9787, allocations: 12.71 MB / 0.8536 GB, free: 5.465 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.9787, allocations: 6.641 kB / 0.8536 GB, free: 5.461 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9787, allocations: 0.5625 kB / 0.8536 GB, free: 5.461 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004117/0.9791, allocations: 0 / 0.8536 GB, free: 5.461 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.02383/1.003, allocations: 8.255 MB / 0.8616 GB, free: 13.16 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.003, allocations: 12.03 kB / 0.8617 GB, free: 13.15 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0047/1.008, allocations: 0.9641 MB / 0.8626 GB, free: 12.18 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01655/1.024, allocations: 6.391 MB / 0.8688 GB, free: 5.73 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000687/1.025, allocations: 397.9 kB / 0.8692 GB, free: 5.316 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/1.027, allocations: 348 kB / 0.8696 GB, free: 4.977 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02912/1.056, allocations: 11.33 MB / 0.8806 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/1.056, allocations: 45.08 kB / 0.8807 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001413/1.057, allocations: 184 kB / 0.8808 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003454/1.058, allocations: 213.2 kB / 0.881 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02389/1.082, allocations: 7.475 MB / 0.8883 GB, free: 264 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.0511/1.133, allocations: 34.97 MB / 0.9225 GB, free: 12.23 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01986/1.153, allocations: 6.608 MB / 0.9289 GB, free: 5.461 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006125/1.159, allocations: 2.401 MB / 0.9313 GB, free: 3.004 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/1.16, allocations: 249.9 kB / 0.9315 GB, free: 2.758 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/1.16, allocations: 105.4 kB / 0.9316 GB, free: 2.645 MB / 0.7013 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004158/1.164, allocations: 0.6868 MB / 0.9323 GB, free: 1.961 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=812): time 1.876e-05/1.164, allocations: 3.938 kB / 0.9323 GB, free: 1.957 MB / 0.7013 GB Notification: Performance of matching and sorting (n=812): time 0.04362/1.208, allocations: 12.74 MB / 0.9447 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008495/1.209, allocations: 1.424 MB / 0.9461 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01255/1.221, allocations: 5.29 MB / 0.9513 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001201/1.222, allocations: 84.52 kB / 0.9514 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002923/1.225, allocations: 2.57 MB / 0.9539 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003765/1.229, allocations: 2.757 MB / 0.9566 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005558/1.235, allocations: 1.628 MB / 0.9582 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.235, allocations: 305.1 kB / 0.9585 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007947/1.243, allocations: 3.095 MB / 0.9615 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/1.254, allocations: 6.147 MB / 0.9675 GB, free: 12.3 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2348/1.488, allocations: 31.11 MB / 0.9979 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/1.488, allocations: 16 kB / 0.9979 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02865/1.517, allocations: 9.682 MB / 1.007 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.517, allocations: 38.28 kB / 1.007 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01997/1.537, allocations: 7.317 MB / 1.015 GB, free: 11.61 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04842/1.586, allocations: 4.434 MB / 1.019 GB, free: 7.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00824/1.594, allocations: 2.137 MB / 1.021 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/1.598, allocations: 2.774 MB / 1.024 GB, free: 2.145 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006696/1.605, allocations: 375.8 kB / 1.024 GB, free: 1.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002244/1.607, allocations: 0.5308 MB / 1.025 GB, free: 1.246 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.0124/1.619, allocations: 4.206 MB / 1.029 GB, free: 13.03 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01053/1.63, allocations: 6.092 MB / 1.035 GB, free: 5.75 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5737/2.204, allocations: 27.41 MB / 1.061 GB, free: 344.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.752e-05/2.204, allocations: 21.31 kB / 1.061 GB, free: 344.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02355/2.227, allocations: 9.469 MB / 1.071 GB, free: 342.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/2.227, allocations: 34.31 kB / 1.071 GB, free: 342.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01436/2.242, allocations: 7.04 MB / 1.078 GB, free: 339.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/2.244, allocations: 426.7 kB / 1.078 GB, free: 339.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007111/2.251, allocations: 2.181 MB / 1.08 GB, free: 339.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/2.253, allocations: 2.195 MB / 1.082 GB, free: 337.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006348/2.259, allocations: 380.5 kB / 1.083 GB, free: 337.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/2.261, allocations: 0.5267 MB / 1.083 GB, free: 337.1 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.002906/2.264, allocations: 0.6527 MB / 1.084 GB, free: 336.6 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003354/2.267, allocations: 0.6843 MB / 1.084 GB, free: 336.6 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.02023/2.287, allocations: 10.32 MB / 1.094 GB, free: 333.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.235417629592121] Failed to read output from testmodel.py, exit status != 0: 2.461369389668107 2.47187138 1.490691814 Calling exit ...