Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff.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.01791/0.01791, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001879/0.001879, allocations: 113.8 kB / 24.19 MB, free: 2.688 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.001784/0.001784, allocations: 202.6 kB / 27.91 MB, free: 4.027 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.501/1.501, allocations: 230.6 MB / 262.1 MB, free: 6 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.11/1.11, allocations: 130.8 MB / 449.7 MB, free: 6.566 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: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,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.level_abs_|hex.shell.p_liq|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,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.level_abs_|hex.shell.p_liq|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") [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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.03598/0.03598, allocations: 20.79 MB / 0.6363 GB, free: 4.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.2211, allocations: 81.9 MB / 0.7162 GB, free: 2.641 MB / 0.5294 GB 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_CH_simple_shutoff): time 0.5626/0.7837, allocations: 60.1 MB / 0.7749 GB, free: 10.05 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04927/0.8329, allocations: 27.02 MB / 0.8013 GB, free: 6.613 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01044/0.8434, allocations: 143.8 kB / 0.8014 GB, free: 6.547 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.8536, allocations: 3.09 MB / 0.8045 GB, free: 4.375 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01903/0.8726, allocations: 4.823 MB / 0.8092 GB, free: 0.5352 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01606/0.8887, allocations: 4.913 MB / 0.814 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0247/0.9134, allocations: 13.12 MB / 0.8268 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007818/0.9212, allocations: 3.837 MB / 0.8305 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01205/0.9332, allocations: 5.229 MB / 0.8356 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01188/0.9451, allocations: 5.488 MB / 0.841 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004831/0.9499, allocations: 0.8906 MB / 0.8419 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01598/0.9659, allocations: 4.262 MB / 0.846 GB, free: 13.87 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.00673/0.9726, allocations: 2.698 MB / 0.8487 GB, free: 11.16 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01294/0.9856, allocations: 4.408 MB / 0.853 GB, free: 6.734 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03202/1.018, allocations: 14.56 MB / 0.8672 GB, free: 8.129 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.018, allocations: 3.188 kB / 0.8672 GB, free: 8.129 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.264e-06/1.018, allocations: 4 kB / 0.8672 GB, free: 8.125 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004845/1.018, allocations: 0 / 0.8672 GB, free: 8.125 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.03069/1.049, allocations: 10.08 MB / 0.877 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.049, allocations: 8.031 kB / 0.877 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/1.054, allocations: 1.051 MB / 0.8781 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/1.071, allocations: 6.458 MB / 0.8844 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000679/1.071, allocations: 441.8 kB / 0.8848 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/1.074, allocations: 419.9 kB / 0.8852 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03139/1.105, allocations: 10.83 MB / 0.8958 GB, free: 9.676 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002451/1.105, allocations: 47.56 kB / 0.8958 GB, free: 9.629 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00175/1.107, allocations: 208 kB / 0.896 GB, free: 9.426 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005434/1.107, allocations: 346.6 kB / 0.8963 GB, free: 9.086 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02805/1.135, allocations: 8.944 MB / 0.9051 GB, free: 148 kB / 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.07964/1.215, allocations: 42.96 MB / 0.947 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02231/1.237, allocations: 7.388 MB / 0.9542 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007583/1.245, allocations: 2.834 MB / 0.957 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002124/1.247, allocations: 428.3 kB / 0.9574 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02021/1.267, allocations: 5.933 MB / 0.9632 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 1.774e-05/1.267, allocations: 0 / 0.9632 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1186/1.386, allocations: 48.33 MB / 1.01 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009311/1.387, allocations: 1.632 MB / 1.012 GB, free: 408 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.397, allocations: 5.642 MB / 1.018 GB, free: 10.75 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001661/1.399, allocations: 100.4 kB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002969/1.402, allocations: 2.85 MB / 1.02 GB, free: 7.781 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004125/1.406, allocations: 2.738 MB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003239/1.409, allocations: 1.672 MB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.409, allocations: 305.1 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007171/1.416, allocations: 3.738 MB / 1.029 GB, free: 15.28 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01003/1.426, allocations: 6.013 MB / 1.035 GB, free: 8.34 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7155/2.142, allocations: 50.63 MB / 1.084 GB, free: 341.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-05/2.142, allocations: 18.53 kB / 1.084 GB, free: 341.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02371/2.166, allocations: 11.29 MB / 1.095 GB, free: 335.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/2.166, allocations: 30.88 kB / 1.095 GB, free: 335.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01785/2.184, allocations: 8.876 MB / 1.104 GB, free: 327.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0462/2.23, allocations: 3.938 MB / 1.108 GB, free: 323.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008681/2.239, allocations: 2.179 MB / 1.11 GB, free: 321.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009701/2.248, allocations: 12.26 MB / 1.122 GB, free: 308.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008634/2.257, allocations: 412.8 kB / 1.122 GB, free: 308.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001917/2.259, allocations: 0.4996 MB / 1.123 GB, free: 307.7 MB / 0.8263 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.01132/2.27, allocations: 5.228 MB / 1.128 GB, free: 302.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008048/2.278, allocations: 5.954 MB / 1.133 GB, free: 295.5 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.315/2.593, allocations: 48.38 MB / 1.181 GB, free: 246.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.29e-05/2.593, allocations: 20 kB / 1.181 GB, free: 246.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02529/2.619, allocations: 10.98 MB / 1.191 GB, free: 235.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/2.619, allocations: 32 kB / 1.191 GB, free: 235.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01952/2.638, allocations: 8.499 MB / 1.2 GB, free: 227 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/2.64, allocations: 0.7072 MB / 1.2 GB, free: 226.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008735/2.649, allocations: 2.172 MB / 1.203 GB, free: 224.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009352/2.658, allocations: 13.17 MB / 1.215 GB, free: 210.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007343/2.666, allocations: 413.7 kB / 1.216 GB, free: 209.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002477/2.668, allocations: 0.4996 MB / 1.216 GB, free: 209.3 MB / 0.8263 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: 280 * 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 (1063): * Single equations (assignments): 1053 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 6 * 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): 2 systems {(1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,5), (1,1), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.004444/2.673, allocations: 0.6783 MB / 1.217 GB, free: 208.6 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003392/2.676, allocations: 0.7204 MB / 1.218 GB, free: 208.2 MB / 0.8263 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 1214 equation(s) and 1163 variable(s). Error: ($cse465, $cse466, $cse467, $cse468, $cse469, $cse470, $cse471, $cse472, $cse473, $cse474, $cse475, $cse476) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.shell.fluidIn[1].p, -1.0, {}, massFlowSource_h.fluidOut.vleFluidPointer) has size 12 but 5 variables (hex.shell.h_vap, hex.shell.drho_vapdt, hex.shell.p_vap, hex.shell.vap.drhodh_pxi, hex.shell.vap.drhodp_hxi) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02001/2.696, allocations: 9.799 MB / 1.227 GB, free: 198.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.756963019957766] Failed to read output from testmodel.py, exit status != 0: 2.8689206200651824 2.879754591 1.859360336 Calling exit ...