Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple.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.01104/0.01104, allocations: 1.767 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.001318/0.001318, allocations: 99.72 kB / 21.35 MB, free: 1.699 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.001734/0.001734, allocations: 214.6 kB / 24.75 MB, free: 3.719 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.534/1.534, allocations: 230.5 MB / 258.5 MB, free: 13.15 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.159/1.159, allocations: 130.6 MB / 445.5 MB, free: 14.69 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_2ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") [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.5008/0.5008, allocations: 46.15 MB / 0.655 GB, free: 30.75 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.7374, allocations: 89.05 MB / 0.7419 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple): time 0.03456/0.7719, allocations: 28.13 MB / 0.7694 GB, free: 6.105 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04968/0.8216, allocations: 27.3 MB / 0.796 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008812/0.8304, allocations: 150.9 kB / 0.7962 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009405/0.8398, allocations: 3.031 MB / 0.7992 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01789/0.8577, allocations: 4.905 MB / 0.8039 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01506/0.8728, allocations: 4.958 MB / 0.8088 GB, free: 13.65 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02417/0.897, allocations: 13.97 MB / 0.8224 GB, free: 15.64 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008966/0.9059, allocations: 4.33 MB / 0.8267 GB, free: 11.25 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01432/0.9202, allocations: 5.587 MB / 0.8321 GB, free: 5.641 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01259/0.9328, allocations: 5.906 MB / 0.8379 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004383/0.9372, allocations: 0.9766 MB / 0.8388 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01282/0.95, allocations: 4.051 MB / 0.8428 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0074/0.9574, allocations: 3.1 MB / 0.8458 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01511/0.9725, allocations: 4.871 MB / 0.8506 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03183/1.004, allocations: 15.91 MB / 0.8661 GB, free: 2.711 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.004, allocations: 0 / 0.8661 GB, free: 2.711 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.483e-06/1.004, allocations: 0 / 0.8661 GB, free: 2.711 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004616/1.005, allocations: 4 kB / 0.8661 GB, free: 2.707 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: 1685 * Number of variables: 1685 Notification: Performance of Generate backend data structure: time 0.4342/1.439, allocations: 10.1 MB / 0.876 GB, free: 110.4 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.439, allocations: 10.94 kB / 0.876 GB, free: 110.4 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004749/1.444, allocations: 1.127 MB / 0.8771 GB, free: 109.8 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0184/1.462, allocations: 7.695 MB / 0.8846 GB, free: 106.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005216/1.463, allocations: 402.7 kB / 0.885 GB, free: 106.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001977/1.465, allocations: 438.7 kB / 0.8854 GB, free: 106.3 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03126/1.496, allocations: 11.69 MB / 0.8968 GB, free: 99.16 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/1.496, allocations: 50.94 kB / 0.8969 GB, free: 99.16 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000795/1.497, allocations: 218.4 kB / 0.8971 GB, free: 99.03 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004899/1.497, allocations: 419.5 kB / 0.8975 GB, free: 98.93 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02785/1.525, allocations: 9.735 MB / 0.907 GB, free: 94.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.06122/1.586, allocations: 46.77 MB / 0.9527 GB, free: 53.94 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/1.606, allocations: 8.138 MB / 0.9606 GB, free: 49.34 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005858/1.612, allocations: 3.083 MB / 0.9636 GB, free: 47.55 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/1.613, allocations: 0.8722 MB / 0.9645 GB, free: 46.86 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01563/1.629, allocations: 6.326 MB / 0.9707 GB, free: 40.53 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004301/1.633, allocations: 0.5734 MB / 0.9712 GB, free: 39.95 MB / 0.67 GB Notification: Performance of pre-optimization done (n=833): time 1.844e-05/1.633, allocations: 0 / 0.9712 GB, free: 39.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=834): time 0.1032/1.736, allocations: 53.32 MB / 1.023 GB, free: 2.246 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001133/1.738, allocations: 1.761 MB / 1.025 GB, free: 84 kB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0149/1.752, allocations: 6.887 MB / 1.032 GB, free: 9.23 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.00187/1.754, allocations: 112.4 kB / 1.032 GB, free: 9.117 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.003582/1.758, allocations: 3.19 MB / 1.035 GB, free: 5.93 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.004928/1.763, allocations: 2.861 MB / 1.038 GB, free: 3.109 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004481/1.767, allocations: 1.813 MB / 1.04 GB, free: 1.285 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.767, allocations: 305.1 kB / 1.04 GB, free: 0.9844 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008886/1.776, allocations: 4.039 MB / 1.044 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01246/1.789, allocations: 6.664 MB / 1.05 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3699/2.159, allocations: 52.04 MB / 1.101 GB, free: 0.7422 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.973e-05/2.159, allocations: 20 kB / 1.101 GB, free: 0.7227 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.03718/2.196, allocations: 12.34 MB / 1.113 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.692e-05/2.196, allocations: 36 kB / 1.113 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03016/2.226, allocations: 9.472 MB / 1.122 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04506/2.271, allocations: 3.902 MB / 1.126 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01119/2.283, allocations: 2.398 MB / 1.129 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/2.301, allocations: 14.14 MB / 1.142 GB, free: 5.363 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/2.311, allocations: 0.4956 MB / 1.143 GB, free: 4.867 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00292/2.314, allocations: 0.5527 MB / 1.143 GB, free: 4.316 MB / 0.8107 GB Warning: Assuming fixed start value for the following 6 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.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" 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 PI.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01728/2.331, allocations: 5.701 MB / 1.149 GB, free: 14.61 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01393/2.345, allocations: 6.6 MB / 1.155 GB, free: 6.871 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.8676/3.213, allocations: 49.76 MB / 1.204 GB, free: 275.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.92e-05/3.213, allocations: 22.56 kB / 1.204 GB, free: 275.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.03324/3.246, allocations: 11.96 MB / 1.216 GB, free: 271.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/3.246, allocations: 38.72 kB / 1.216 GB, free: 271.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03152/3.278, allocations: 9.055 MB / 1.225 GB, free: 268.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003625/3.281, allocations: 0.6663 MB / 1.225 GB, free: 268.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01678/3.298, allocations: 2.393 MB / 1.228 GB, free: 268.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/3.313, allocations: 15.17 MB / 1.242 GB, free: 254.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009952/3.323, allocations: 0.5074 MB / 1.243 GB, free: 254.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002576/3.325, allocations: 0.5374 MB / 1.243 GB, free: 254.5 MB / 0.8575 GB Warning: Assuming fixed start value for the following 6 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.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" 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 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: 330 * Number of states: 0 () * Number of discrete variables: 8 ($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,$whenCondition1,$whenCondition2,valve_shell1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1154): * Single equations (assignments): 1145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * 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): 4 systems {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 {(4,3,87.5%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.00448/3.33, allocations: 0.7249 MB / 1.244 GB, free: 254.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004369/3.334, allocations: 0.7887 MB / 1.245 GB, free: 254.1 MB / 0.8575 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 1268 equation(s) and 1214 variable(s). Error: ($cse509, $cse510, $cse511, $cse512, $cse513, $cse514, $cse515, $cse516, $cse517, $cse518, $cse519, $cse520) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(massFlowSource_h1.steam_a.p, -1.0, {}, massFlowSource_h1.fluidOut.vleFluidPointer) has size 12 but 3 variables (hex.shell.Q_flow[2], hex.shell.heattransfer.Q_flow_tot, hex.shell.summary.outline.Q_flow[2]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02186/3.356, allocations: 10.66 MB / 1.255 GB, free: 250.2 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.178045581997139] Failed to read output from testmodel.py, exit status != 0: 3.3658617490000324 3.380511525 2.372705972 Calling exit ...