Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01505/0.01505, allocations: 1.348 MB / 20.45 MB, free: 1.262 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.00184/0.00184, allocations: 78.72 kB / 24.02 MB, free: 2.609 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.001659/0.001659, allocations: 151.7 kB / 27.7 MB, free: 3.863 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.494/1.494, allocations: 177.1 MB / 208.4 MB, free: 7.684 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.063/1.063, allocations: 102.5 MB / 367.8 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 1.9.0/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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.5365 GB, free: 7.121 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.418e-05, allocations: 10.09 kB / 0.5365 GB, free: 7.113 MB / 446.1 MB 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.1837/0.1837, allocations: 70.84 MB / 0.6057 GB, free: 2.723 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04381/0.2275, allocations: 24.4 MB / 0.6295 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0076/0.2351, allocations: 146.9 kB / 0.6296 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008512/0.2436, allocations: 2.636 MB / 0.6322 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01597/0.2596, allocations: 4.765 MB / 0.6368 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01379/0.2734, allocations: 4.624 MB / 0.6414 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02039/0.2938, allocations: 12.06 MB / 0.6531 GB, free: 1.922 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008245/0.3021, allocations: 3.902 MB / 0.657 GB, free: 13.95 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02139/0.3234, allocations: 6.642 MB / 0.6634 GB, free: 7.289 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009962/0.3334, allocations: 4.07 MB / 0.6674 GB, free: 3.211 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.003761/0.3372, allocations: 0.8477 MB / 0.6682 GB, free: 2.363 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009587/0.3467, allocations: 2.604 MB / 0.6708 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.004265/0.351, allocations: 2.371 MB / 0.6731 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.007191/0.3582, allocations: 2.607 MB / 0.6756 GB, free: 10.76 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.3832/0.7414, allocations: 12.7 MB / 0.6881 GB, free: 49.29 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.7414, allocations: 0 / 0.6881 GB, free: 49.29 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7414, allocations: 0 / 0.6881 GB, free: 49.29 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0003714/0.7418, allocations: 0.7812 kB / 0.6881 GB, free: 49.29 MB / 0.5763 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.02412/0.7659, allocations: 8.164 MB / 0.696 GB, free: 45.99 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.766, allocations: 12.81 kB / 0.696 GB, free: 45.99 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.7707, allocations: 0.9676 MB / 0.697 GB, free: 45.53 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/0.7865, allocations: 6.386 MB / 0.7032 GB, free: 44.34 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004141/0.7869, allocations: 405.8 kB / 0.7036 GB, free: 44.2 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001523/0.7884, allocations: 349 kB / 0.7039 GB, free: 44.2 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/0.8143, allocations: 11.34 MB / 0.715 GB, free: 39.12 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-05/0.8144, allocations: 39.94 kB / 0.7151 GB, free: 39.12 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006773/0.8151, allocations: 180.4 kB / 0.7152 GB, free: 39.12 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00021/0.8153, allocations: 214.8 kB / 0.7154 GB, free: 39.12 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/0.8377, allocations: 7.47 MB / 0.7227 GB, free: 39.08 MB / 0.5763 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.04441/0.8821, allocations: 34.88 MB / 0.7568 GB, free: 11.81 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/0.9002, allocations: 6.602 MB / 0.7632 GB, free: 8.156 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00545/0.9056, allocations: 2.403 MB / 0.7656 GB, free: 6.773 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.9067, allocations: 260.3 kB / 0.7658 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.285e-05/0.9068, allocations: 102 kB / 0.7659 GB, free: 6.602 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004732/0.9115, allocations: 0.6792 MB / 0.7666 GB, free: 6.129 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=812): time 1.159e-05/0.9115, allocations: 0 / 0.7666 GB, free: 6.129 MB / 0.5763 GB Notification: Performance of matching and sorting (n=812): time 0.0437/0.9552, allocations: 12.75 MB / 0.779 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000893/0.9561, allocations: 1.414 MB / 0.7804 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/0.9669, allocations: 5.287 MB / 0.7856 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001832/0.9687, allocations: 88.36 kB / 0.7857 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002541/0.9713, allocations: 2.57 MB / 0.7882 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00417/0.9755, allocations: 2.705 MB / 0.7908 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003485/0.9789, allocations: 1.621 MB / 0.7924 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.9791, allocations: 301.1 kB / 0.7927 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00805/0.9872, allocations: 3.104 MB / 0.7957 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01403/1.001, allocations: 6.148 MB / 0.8017 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2598/1.261, allocations: 31.11 MB / 0.8321 GB, free: 1.848 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.347e-05/1.261, allocations: 16 kB / 0.8321 GB, free: 1.832 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02678/1.288, allocations: 9.69 MB / 0.8416 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/1.288, allocations: 32.22 kB / 0.8416 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01957/1.307, allocations: 7.324 MB / 0.8488 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05331/1.361, allocations: 4.424 MB / 0.8531 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008821/1.37, allocations: 2.136 MB / 0.8552 GB, free: 10.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004111/1.374, allocations: 2.777 MB / 0.8579 GB, free: 7.812 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00755/1.381, allocations: 379.7 kB / 0.8582 GB, free: 7.441 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/1.383, allocations: 0.5347 MB / 0.8588 GB, free: 6.906 MB / 0.67 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.01222/1.396, allocations: 4.197 MB / 0.8629 GB, free: 2.703 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01153/1.407, allocations: 6.089 MB / 0.8688 GB, free: 11.46 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2099/1.617, allocations: 27.43 MB / 0.8956 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.761e-05/1.617, allocations: 20 kB / 0.8956 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02787/1.645, allocations: 9.461 MB / 0.9049 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/1.645, allocations: 36.25 kB / 0.9049 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01813/1.663, allocations: 7.045 MB / 0.9118 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/1.666, allocations: 422.7 kB / 0.9122 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008406/1.674, allocations: 2.186 MB / 0.9143 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/1.677, allocations: 2.198 MB / 0.9165 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007252/1.684, allocations: 388.5 kB / 0.9168 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/1.686, allocations: 0.523 MB / 0.9173 GB, free: 9.477 MB / 0.7325 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.002862/1.689, allocations: 0.6527 MB / 0.918 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0032/1.692, allocations: 0.6866 MB / 0.9186 GB, free: 8.25 MB / 0.7325 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.02297/1.715, allocations: 10.31 MB / 0.9287 GB, free: 14.5 MB / 0.7482 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.936166059225798] Failed to read output from testmodel.py, exit status != 0: 2.1827688328921795 2.194495771 1.449850742 Calling exit ...