Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_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.0105/0.0105, allocations: 1.771 MB / 18.12 MB, free: 4.941 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.00125/0.00125, allocations: 107.7 kB / 21.36 MB, free: 1.703 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.001892/0.001892, allocations: 215.2 kB / 24.75 MB, free: 3.73 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.601/1.601, allocations: 230.6 MB / 258.5 MB, free: 13.11 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.129/1.129, allocations: 130.6 MB / 445.6 MB, free: 14.6 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_2ph_CU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_ntu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CU_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.4258/0.4258, allocations: 46.15 MB / 0.6545 GB, free: 30.24 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.6356, allocations: 89.06 MB / 0.7415 GB, free: 2.605 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CU_ntu): time 0.0503/0.6859, allocations: 38.26 MB / 0.7788 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.07142/0.7573, allocations: 32.81 MB / 0.8109 GB, free: 11.29 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01301/0.7703, allocations: 214.4 kB / 0.8111 GB, free: 11.08 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.01456/0.7849, allocations: 4.209 MB / 0.8152 GB, free: 6.855 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02549/0.8104, allocations: 6.377 MB / 0.8214 GB, free: 456 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.02325/0.8336, allocations: 7.148 MB / 0.8284 GB, free: 9.297 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.03705/0.8707, allocations: 18.95 MB / 0.8469 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01501/0.8857, allocations: 5.687 MB / 0.8525 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02078/0.9065, allocations: 7.62 MB / 0.8599 GB, free: 8.863 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01826/0.9248, allocations: 7.951 MB / 0.8677 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.5258/1.451, allocations: 1.356 MB / 0.869 GB, free: 35.18 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01199/1.463, allocations: 3.832 MB / 0.8727 GB, free: 35.18 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.007234/1.47, allocations: 4.129 MB / 0.8768 GB, free: 35.18 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01562/1.485, allocations: 6.706 MB / 0.8833 GB, free: 33.97 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03822/1.524, allocations: 20.81 MB / 0.9036 GB, free: 31.3 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.524, allocations: 2.766 kB / 0.9036 GB, free: 31.3 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.174e-06/1.524, allocations: 0 / 0.9036 GB, free: 31.3 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0008901/1.524, allocations: 0.8125 kB / 0.9036 GB, free: 31.3 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2569 * Number of variables: 2569 Notification: Performance of Generate backend data structure: time 0.05321/1.578, allocations: 12.88 MB / 0.9162 GB, free: 25.99 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.578, allocations: 12.53 kB / 0.9162 GB, free: 25.99 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006232/1.584, allocations: 1.156 MB / 0.9174 GB, free: 25.89 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009438/1.593, allocations: 1.542 MB / 0.9189 GB, free: 25.14 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02551/1.619, allocations: 9.41 MB / 0.9281 GB, free: 22.3 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/1.62, allocations: 494 kB / 0.9285 GB, free: 22.28 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004568/1.625, allocations: 0.6071 MB / 0.9291 GB, free: 22.27 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0518/1.676, allocations: 18.15 MB / 0.9468 GB, free: 9.66 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004956/1.677, allocations: 87.75 kB / 0.9469 GB, free: 9.66 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004074/1.681, allocations: 322 kB / 0.9472 GB, free: 9.469 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001231/1.682, allocations: 0.7824 MB / 0.948 GB, free: 9.238 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04299/1.725, allocations: 14.37 MB / 0.962 GB, free: 2.383 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.1278/1.853, allocations: 76.84 MB / 1.037 GB, free: 11.21 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03463/1.888, allocations: 11.98 MB / 1.049 GB, free: 15.1 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01177/1.899, allocations: 4.327 MB / 1.053 GB, free: 10.68 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002396/1.902, allocations: 0.7727 MB / 1.054 GB, free: 9.875 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03364/1.935, allocations: 9.603 MB / 1.063 GB, free: 20 kB / 0.7638 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007563/1.943, allocations: 1.046 MB / 1.064 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1268): time 3.407e-05/1.943, allocations: 4 kB / 1.064 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1269): time 0.265/2.208, allocations: 93.6 MB / 1.156 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001375/2.209, allocations: 2.108 MB / 1.158 GB, free: 14.14 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01886/2.228, allocations: 8.211 MB / 1.166 GB, free: 5.969 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.003407/2.232, allocations: 121.7 kB / 1.166 GB, free: 5.844 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.006124/2.238, allocations: 4.557 MB / 1.17 GB, free: 1.301 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.008634/2.246, allocations: 4.355 MB / 1.174 GB, free: 13 MB / 0.8888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01818/2.265, allocations: 2.795 MB / 1.177 GB, free: 10.2 MB / 0.8888 GB Notification: Performance of setup shared object (initialization): time 0.0001926/2.265, allocations: 305.1 kB / 1.177 GB, free: 9.895 MB / 0.8888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01956/2.284, allocations: 6.035 MB / 1.183 GB, free: 3.848 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02579/2.31, allocations: 10.32 MB / 1.193 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8604/3.171, allocations: 61.48 MB / 1.253 GB, free: 309 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002386/3.171, allocations: 36.47 kB / 1.254 GB, free: 309 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.06137/3.232, allocations: 19.63 MB / 1.273 GB, free: 295.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/3.232, allocations: 63.78 kB / 1.273 GB, free: 295.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04187/3.274, allocations: 14.2 MB / 1.287 GB, free: 281.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05731/3.332, allocations: 6.034 MB / 1.293 GB, free: 275.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01454/3.346, allocations: 3.613 MB / 1.296 GB, free: 271.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/3.365, allocations: 18.79 MB / 1.314 GB, free: 252 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01382/3.379, allocations: 0.5805 MB / 1.315 GB, free: 251.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004266/3.383, allocations: 0.8822 MB / 1.316 GB, free: 250.5 MB / 0.9044 GB Warning: Assuming fixed start value for the following 8 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.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real hex.wall.nTU.T_w_o[3]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] hex.wall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real hex.wall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02348/3.406, allocations: 8.464 MB / 1.324 GB, free: 242.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02001/3.426, allocations: 10.27 MB / 1.334 GB, free: 229.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3829/3.809, allocations: 61 MB / 1.394 GB, free: 167.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001588/3.809, allocations: 36 kB / 1.394 GB, free: 167.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1845) (initialization_lambda0): time 0.05445/3.864, allocations: 19.01 MB / 1.412 GB, free: 148.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001666/3.864, allocations: 60 kB / 1.412 GB, free: 148.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04064/3.905, allocations: 14.16 MB / 1.426 GB, free: 134.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05158/3.956, allocations: 5.066 MB / 1.431 GB, free: 129.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01505/3.971, allocations: 3.619 MB / 1.435 GB, free: 125.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/3.989, allocations: 16.84 MB / 1.451 GB, free: 107.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.015/4.004, allocations: 0.5746 MB / 1.452 GB, free: 107.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003963/4.008, allocations: 0.8789 MB / 1.453 GB, free: 106.3 MB / 0.9044 GB Warning: Assuming fixed start value for the following 8 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.shell.h_liq:VARIABLE(start = hex.shell.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real hex.shell.h_vap:VARIABLE(start = hex.shell.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real hex.shell.p_vap:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real hex.wall.nTU.T_w_o[3]:VARIABLE(min = 0.0 start = hex.wall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] hex.wall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real hex.wall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 11 (hex.wall.nTU.smallShellFlow[2],$PRE.PI.time_lag_I_activation.entryTime,$PRE.PI.switch_OnOff.u2,PI.I_activation.y,PI.time_lag_I_activation.entryTime,PI.switch_OnOff.u2,hex.wall.nTU.smallShellFlow[3],hex.wall.nTU.smallShellFlow[1],hex.wall.nTU.mass,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1768): * Single equations (assignments): 1755 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (4,3,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,4), (3,14), (2,18), (4,18), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.01048/4.019, allocations: 1.03 MB / 1.454 GB, free: 105.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008123/4.027, allocations: 1.075 MB / 1.455 GB, free: 104.6 MB / 0.9044 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 1953 equation(s) and 1857 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (hex.wall.nTU.O1_in.q, hex.wall.nTU.O1_in.cp, hex.wall.nTU.O1_in.cv, hex.wall.nTU.O1_in.beta, hex.wall.nTU.O1_in.kappa, hex.wall.nTU.O1_in.drhodp_hxi, hex.wall.nTU.O1_in.drhodh_pxi, _, hex.wall.nTU.O1_in.w, hex.wall.nTU.O1_in.gamma) = ($cse315, $cse316, $cse317, $cse318, $cse319, $cse320, $cse321, $cse322, $cse323, $cse324) has size 9 but 3 variables (hex.tubes.summary.outline.Delta_p, hex.tubes.phaseBorder.Delta_p_geo_in, hex.tubes.pressureLoss.Delta_p) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04/4.067, allocations: 16.41 MB / 1.471 GB, free: 88.54 MB / 0.9044 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 7.934473027999047] Failed to read output from testmodel.py, exit status != 0: 4.076740520002204 4.090803408 2.560739693 Calling exit ...