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.01619/0.01619, 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.001866/0.001866, allocations: 112.5 kB / 24.19 MB, free: 2.691 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.002485/0.002485, 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.542/1.542, allocations: 230.6 MB / 262.1 MB, free: 6.004 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.155/1.155, allocations: 130.7 MB / 449.6 MB, free: 6.531 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.0362/0.0362, allocations: 20.79 MB / 0.6362 GB, free: 4.598 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2378, allocations: 81.91 MB / 0.7162 GB, free: 2.605 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.5633/0.8011, allocations: 60.9 MB / 0.7757 GB, free: 9.402 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04438/0.8455, allocations: 25.72 MB / 0.8008 GB, free: 6.922 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01117/0.8567, allocations: 147.1 kB / 0.801 GB, free: 6.855 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.8672, allocations: 2.704 MB / 0.8036 GB, free: 4.918 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02017/0.8873, allocations: 4.625 MB / 0.8081 GB, free: 1.164 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01384/0.9012, allocations: 4.558 MB / 0.8126 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02392/0.9251, allocations: 11.76 MB / 0.824 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009147/0.9342, allocations: 3.662 MB / 0.8276 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01283/0.9471, allocations: 4.843 MB / 0.8324 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01151/0.9586, allocations: 4.951 MB / 0.8372 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004235/0.9628, allocations: 0.8438 MB / 0.838 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01322/0.976, allocations: 3.477 MB / 0.8414 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005194/0.9812, allocations: 2.336 MB / 0.8437 GB, free: 164 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01192/0.9932, allocations: 4.077 MB / 0.8477 GB, free: 12.06 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02973/1.023, allocations: 12.87 MB / 0.8602 GB, free: 15.15 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.023, allocations: 0 / 0.8602 GB, free: 15.15 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.414e-06/1.023, allocations: 2.656 kB / 0.8602 GB, free: 15.15 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.000504/1.023, allocations: 0 / 0.8602 GB, free: 15.15 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.02926/1.053, allocations: 8.267 MB / 0.8683 GB, free: 6.84 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.053, allocations: 8.031 kB / 0.8683 GB, free: 6.832 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/1.057, allocations: 0.9679 MB / 0.8693 GB, free: 5.859 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/1.073, allocations: 6.392 MB / 0.8755 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005397/1.073, allocations: 393.9 kB / 0.8759 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/1.075, allocations: 354.6 kB / 0.8762 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02633/1.101, allocations: 9.491 MB / 0.8855 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/1.101, allocations: 43.56 kB / 0.8855 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005879/1.102, allocations: 180 kB / 0.8857 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002504/1.102, allocations: 219.8 kB / 0.8859 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02463/1.127, allocations: 7.501 MB / 0.8932 GB, free: 12.29 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.06728/1.194, allocations: 37.74 MB / 0.9301 GB, free: 5.426 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02136/1.215, allocations: 6.625 MB / 0.9366 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007039/1.223, allocations: 2.411 MB / 0.9389 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/1.224, allocations: 287.1 kB / 0.9392 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/1.224, allocations: 96.08 kB / 0.9393 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005285/1.229, allocations: 0.6958 MB / 0.94 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=812): time 2.202e-05/1.229, allocations: 0 / 0.94 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=812): time 0.04872/1.278, allocations: 12.75 MB / 0.9524 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009058/1.279, allocations: 1.419 MB / 0.9538 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01366/1.293, allocations: 5.308 MB / 0.959 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001657/1.294, allocations: 88.36 kB / 0.9591 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003293/1.298, allocations: 2.56 MB / 0.9616 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004476/1.302, allocations: 2.745 MB / 0.9643 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006751/1.309, allocations: 1.636 MB / 0.9659 GB, free: 180 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.309, allocations: 301.1 kB / 0.9661 GB, free: 15.88 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008426/1.317, allocations: 3.102 MB / 0.9692 GB, free: 12.77 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01061/1.328, allocations: 5.36 MB / 0.9744 GB, free: 6.477 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2513/1.579, allocations: 31.1 MB / 1.005 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.404e-05/1.579, allocations: 16 kB / 1.005 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02786/1.607, allocations: 9.693 MB / 1.014 GB, free: 12.88 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.71e-05/1.607, allocations: 32 kB / 1.014 GB, free: 12.85 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01923/1.627, allocations: 7.313 MB / 1.021 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05626/1.683, allocations: 4.435 MB / 1.026 GB, free: 1.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008777/1.692, allocations: 2.137 MB / 1.028 GB, free: 14.9 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004686/1.696, allocations: 2.808 MB / 1.031 GB, free: 11.96 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0073/1.704, allocations: 379.8 kB / 1.031 GB, free: 11.59 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002315/1.706, allocations: 0.5308 MB / 1.031 GB, free: 11.06 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.01419/1.72, allocations: 4.203 MB / 1.036 GB, free: 6.852 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01134/1.731, allocations: 5.307 MB / 1.041 GB, free: 0.5469 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.523/2.254, allocations: 27.4 MB / 1.068 GB, free: 342.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.879e-05/2.255, allocations: 22.28 kB / 1.068 GB, free: 342.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02037/2.275, allocations: 9.482 MB / 1.077 GB, free: 339.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/2.275, allocations: 31.94 kB / 1.077 GB, free: 339.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01406/2.289, allocations: 7.042 MB / 1.084 GB, free: 336.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/2.292, allocations: 430.5 kB / 1.084 GB, free: 336.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007152/2.299, allocations: 2.182 MB / 1.086 GB, free: 336.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/2.301, allocations: 2.225 MB / 1.088 GB, free: 334.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006563/2.307, allocations: 385.1 kB / 1.089 GB, free: 334.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/2.309, allocations: 0.5291 MB / 1.089 GB, free: 334.4 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.002154/2.311, allocations: 0.6536 MB / 1.09 GB, free: 333.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002545/2.313, allocations: 0.6835 MB / 1.091 GB, free: 333.9 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.01715/2.33, allocations: 10.3 MB / 1.101 GB, free: 327.7 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.49808298307471] Failed to read output from testmodel.py, exit status != 0: 2.4988176140468568 2.508756 1.483163124 Calling exit ...