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.005808/0.005808, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0006546/0.0006546, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0008043/0.0008043, allocations: 165.8 kB / 27.85 MB, free: 5.098 MB / 18.57 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 0.859/0.859, allocations: 177.2 MB / 208.6 MB, free: 2.961 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7254/0.7254, allocations: 102.5 MB / 367.9 MB, free: 1.465 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.5362 GB, free: 39.99 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.162e-05, allocations: 4.25 kB / 0.5362 GB, free: 39.99 MB / 490.8 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_2ph_CU_ntu): time 0.1336/0.1336, allocations: 79.51 MB / 0.6139 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04294/0.1766, allocations: 31.69 MB / 0.6448 GB, free: 13.12 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008687/0.1853, allocations: 214.4 kB / 0.645 GB, free: 12.91 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.00988/0.1951, allocations: 4.091 MB / 0.649 GB, free: 8.805 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01546/0.2106, allocations: 6.703 MB / 0.6555 GB, free: 2.062 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01372/0.2243, allocations: 7.315 MB / 0.6627 GB, free: 10.73 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.02269/0.247, allocations: 19.42 MB / 0.6817 GB, free: 7.254 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009008/0.256, allocations: 5.806 MB / 0.6873 GB, free: 1.355 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02086/0.2769, allocations: 10.47 MB / 0.6976 GB, free: 6.863 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01122/0.2881, allocations: 6.774 MB / 0.7042 GB, free: 72 kB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.004042/0.2921, allocations: 1.356 MB / 0.7055 GB, free: 14.71 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01046/0.3026, allocations: 3.233 MB / 0.7086 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.008342/0.3109, allocations: 4.245 MB / 0.7128 GB, free: 7.219 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.01373/0.3247, allocations: 4.228 MB / 0.7169 GB, free: 2.98 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.02721/0.3519, allocations: 20.83 MB / 0.7373 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3519, allocations: 4 kB / 0.7373 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3519, allocations: 0 / 0.7373 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0007307/0.3526, allocations: 0 / 0.7373 GB, free: 14.09 MB / 0.6355 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.03277/0.3854, allocations: 14.54 MB / 0.7515 GB, free: 15.41 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.3855, allocations: 8.031 kB / 0.7515 GB, free: 15.41 MB / 0.6512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003676/0.3891, allocations: 1.168 MB / 0.7526 GB, free: 14.23 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003987/0.3931, allocations: 1.542 MB / 0.7541 GB, free: 12.68 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0181/0.4112, allocations: 9.183 MB / 0.7631 GB, free: 3.387 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000459/0.4117, allocations: 488.4 kB / 0.7636 GB, free: 2.906 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002435/0.4141, allocations: 0.6092 MB / 0.7641 GB, free: 2.297 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3561/0.7702, allocations: 20.18 MB / 0.7839 GB, free: 159.9 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000249/0.7704, allocations: 85.97 kB / 0.7839 GB, free: 159.9 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00108/0.7715, allocations: 322.5 kB / 0.7842 GB, free: 159.7 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000774/0.7723, allocations: 0.7848 MB / 0.785 GB, free: 159.5 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03017/0.8025, allocations: 14.33 MB / 0.799 GB, free: 152.1 MB / 0.6512 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.06935/0.8718, allocations: 72.59 MB / 0.8699 GB, free: 87.11 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/0.8888, allocations: 11.74 MB / 0.8814 GB, free: 75.17 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006225/0.8951, allocations: 4.319 MB / 0.8856 GB, free: 70.73 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009922/0.8961, allocations: 351.3 kB / 0.8859 GB, free: 70.39 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01579/0.9119, allocations: 9.599 MB / 0.8953 GB, free: 60.49 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003799/0.9157, allocations: 1.051 MB / 0.8963 GB, free: 59.7 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1268): time 2.448e-05/0.9157, allocations: 0 / 0.8963 GB, free: 59.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1269): time 0.09673/1.012, allocations: 93.14 MB / 0.9873 GB, free: 14.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000687/1.013, allocations: 2.117 MB / 0.9893 GB, free: 11.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0137/1.027, allocations: 8.402 MB / 0.9975 GB, free: 3.223 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002455/1.029, allocations: 129.7 kB / 0.9977 GB, free: 3.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004322/1.034, allocations: 4.531 MB / 1.002 GB, free: 15 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.005462/1.039, allocations: 4.296 MB / 1.006 GB, free: 10.96 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007754/1.047, allocations: 2.766 MB / 1.009 GB, free: 8.184 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 8.989e-05/1.047, allocations: 305.1 kB / 1.009 GB, free: 7.883 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01001/1.057, allocations: 6.043 MB / 1.015 GB, free: 1.828 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01339/1.07, allocations: 11.21 MB / 1.026 GB, free: 4.492 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5002/1.57, allocations: 61.51 MB / 1.086 GB, free: 235.1 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.629e-05/1.571, allocations: 37.62 kB / 1.086 GB, free: 235.1 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.03139/1.602, allocations: 19.63 MB / 1.105 GB, free: 221 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/1.602, allocations: 60 kB / 1.105 GB, free: 220.9 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01895/1.621, allocations: 14.21 MB / 1.119 GB, free: 206.6 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02772/1.649, allocations: 6.025 MB / 1.125 GB, free: 200.6 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008796/1.658, allocations: 3.611 MB / 1.129 GB, free: 197 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/1.668, allocations: 17.99 MB / 1.146 GB, free: 178.2 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007542/1.675, allocations: 0.5936 MB / 1.147 GB, free: 177.6 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002206/1.678, allocations: 0.8822 MB / 1.148 GB, free: 176.7 MB / 0.7449 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.01189/1.69, allocations: 8.472 MB / 1.156 GB, free: 168.3 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008629/1.698, allocations: 11.14 MB / 1.167 GB, free: 155 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.179/1.877, allocations: 61.02 MB / 1.226 GB, free: 92.18 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.681e-05/1.877, allocations: 39.72 kB / 1.227 GB, free: 92.14 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1845) (initialization_lambda0): time 0.02995/1.907, allocations: 18.99 MB / 1.245 GB, free: 73.63 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/1.907, allocations: 67.92 kB / 1.245 GB, free: 73.57 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0203/1.928, allocations: 14.16 MB / 1.259 GB, free: 59.33 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02488/1.952, allocations: 5.073 MB / 1.264 GB, free: 54.28 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0086/1.961, allocations: 3.623 MB / 1.267 GB, free: 50.65 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009519/1.971, allocations: 16.04 MB / 1.283 GB, free: 33.82 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008259/1.979, allocations: 0.5786 MB / 1.284 GB, free: 33.24 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002541/1.981, allocations: 0.8744 MB / 1.285 GB, free: 32.37 MB / 0.7449 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.003234/1.985, allocations: 1.032 MB / 1.286 GB, free: 31.41 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002552/1.987, allocations: 1.071 MB / 1.287 GB, free: 30.53 MB / 0.7449 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.018/2.005, allocations: 16.46 MB / 1.303 GB, free: 14.48 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.086113155819476] Failed to read output from testmodel.py, exit status != 0: 2.390400999225676 2.397744442 2.044048353 Calling exit ...