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.01121/0.01121, allocations: 1.768 MB / 18.12 MB, free: 4.906 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.001227/0.001227, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001632/0.001632, allocations: 214.4 kB / 24.74 MB, free: 3.691 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 258.5 MB, free: 13.12 MB / 206.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.099/1.099, allocations: 130.6 MB / 445.6 MB, free: 14.96 MB / 350.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: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_BU_ntu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_BU_ntu",fmuType="me",version="2.0",platforms={"static"}) [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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4128/0.4128, allocations: 46.14 MB / 0.6545 GB, free: 30.23 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.6043, allocations: 89.07 MB / 0.7415 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu): time 0.03391/0.6382, allocations: 27.92 MB / 0.7687 GB, free: 6.668 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.05193/0.6902, allocations: 25.41 MB / 0.7936 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008565/0.6987, allocations: 146.9 kB / 0.7937 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008828/0.7076, allocations: 2.691 MB / 0.7963 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01594/0.7235, allocations: 4.515 MB / 0.8007 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01264/0.7361, allocations: 4.514 MB / 0.8051 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02125/0.7574, allocations: 11.75 MB / 0.8166 GB, free: 5.496 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00786/0.7652, allocations: 3.7 MB / 0.8202 GB, free: 1.723 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01216/0.7774, allocations: 4.839 MB / 0.8249 GB, free: 12.87 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01054/0.7879, allocations: 4.929 MB / 0.8298 GB, free: 7.918 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.004586/0.7925, allocations: 0.8438 MB / 0.8306 GB, free: 7.074 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/0.8034, allocations: 3.264 MB / 0.8338 GB, free: 3.809 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.005515/0.8089, allocations: 2.34 MB / 0.8361 GB, free: 1.461 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01044/0.8193, allocations: 4.077 MB / 0.84 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0285/0.8478, allocations: 12.81 MB / 0.8525 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8479, allocations: 0 / 0.8525 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8479, allocations: 0 / 0.8525 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004959/0.8484, allocations: 0 / 0.8525 GB, free: 0.5117 MB / 0.6544 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.02843/0.8768, allocations: 8.344 MB / 0.8607 GB, free: 8.066 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.8768, allocations: 8.031 kB / 0.8607 GB, free: 8.059 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002334/0.8792, allocations: 0.6673 MB / 0.8614 GB, free: 7.383 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004495/0.8837, allocations: 0.9637 MB / 0.8623 GB, free: 6.414 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.505/1.389, allocations: 6.584 MB / 0.8687 GB, free: 109.9 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006528/1.389, allocations: 338.3 kB / 0.869 GB, free: 109.8 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/1.391, allocations: 349.3 kB / 0.8694 GB, free: 109.8 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02457/1.415, allocations: 9.497 MB / 0.8787 GB, free: 106.1 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-05/1.416, allocations: 41.48 kB / 0.8787 GB, free: 106.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000559/1.416, allocations: 181.8 kB / 0.8789 GB, free: 106 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002156/1.416, allocations: 215.1 kB / 0.8791 GB, free: 106 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02348/1.44, allocations: 7.504 MB / 0.8864 GB, free: 103.9 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.0485/1.488, allocations: 37.85 MB / 0.9234 GB, free: 72.45 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02137/1.51, allocations: 6.786 MB / 0.93 GB, free: 68.57 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007013/1.517, allocations: 2.402 MB / 0.9323 GB, free: 67.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/1.518, allocations: 0.5794 MB / 0.9329 GB, free: 66.72 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/1.518, allocations: 101.2 kB / 0.933 GB, free: 66.64 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006093/1.524, allocations: 0.689 MB / 0.9337 GB, free: 66.32 MB / 0.67 GB Notification: Performance of pre-optimization done (n=812): time 6.365e-05/1.525, allocations: 0 / 0.9337 GB, free: 66.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=812): time 0.04769/1.572, allocations: 12.9 MB / 0.9463 GB, free: 60.09 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004016/1.573, allocations: 1.415 MB / 0.9476 GB, free: 58.38 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01282/1.585, allocations: 5.307 MB / 0.9528 GB, free: 55.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.00153/1.587, allocations: 83.17 kB / 0.9529 GB, free: 55.53 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002402/1.589, allocations: 2.561 MB / 0.9554 GB, free: 53.48 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003362/1.593, allocations: 2.744 MB / 0.9581 GB, free: 51.42 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005991/1.599, allocations: 1.639 MB / 0.9597 GB, free: 50.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.356e-05/1.599, allocations: 312.2 kB / 0.96 GB, free: 50.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007396/1.606, allocations: 3.098 MB / 0.963 GB, free: 48.14 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008999/1.615, allocations: 5.366 MB / 0.9683 GB, free: 41.87 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2312/1.846, allocations: 31.1 MB / 0.9986 GB, free: 10.68 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-05/1.846, allocations: 20 kB / 0.9986 GB, free: 10.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02594/1.872, allocations: 9.693 MB / 1.008 GB, free: 1.176 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.66e-05/1.872, allocations: 35.98 kB / 1.008 GB, free: 1.141 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02204/1.895, allocations: 7.316 MB / 1.015 GB, free: 9.766 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05229/1.947, allocations: 4.429 MB / 1.02 GB, free: 5.359 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/1.957, allocations: 2.137 MB / 1.022 GB, free: 3.219 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005511/1.963, allocations: 2.911 MB / 1.025 GB, free: 152 kB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009892/1.972, allocations: 382.3 kB / 1.025 GB, free: 15.79 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002387/1.975, allocations: 0.5308 MB / 1.025 GB, free: 15.26 MB / 0.7013 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.013/1.988, allocations: 4.206 MB / 1.03 GB, free: 11.05 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01089/1.999, allocations: 5.308 MB / 1.035 GB, free: 4.742 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2018/2.201, allocations: 27.41 MB / 1.061 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.701e-05/2.201, allocations: 20 kB / 1.062 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02891/2.23, allocations: 9.47 MB / 1.071 GB, free: 14.89 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/2.23, allocations: 36.25 kB / 1.071 GB, free: 14.85 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01997/2.25, allocations: 7.044 MB / 1.078 GB, free: 7.754 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/2.252, allocations: 420.6 kB / 1.078 GB, free: 7.34 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008561/2.261, allocations: 2.184 MB / 1.08 GB, free: 5.152 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/2.264, allocations: 2.333 MB / 1.082 GB, free: 2.652 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007198/2.271, allocations: 384.5 kB / 1.083 GB, free: 2.277 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002042/2.273, allocations: 0.523 MB / 1.083 GB, free: 1.754 MB / 0.7482 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.003631/2.277, allocations: 0.6522 MB / 1.084 GB, free: 1.133 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004543/2.281, allocations: 0.6866 MB / 1.085 GB, free: 452 kB / 0.7482 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.02658/2.308, allocations: 10.29 MB / 1.095 GB, free: 6.402 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.930841239009169] Failed to read output from testmodel.py, exit status != 0: 2.3170252590061864 2.331524896 1.480235016 Calling exit ...