Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01064/0.01064, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 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.001408/0.001408, allocations: 101.2 kB / 24.93 MB, free: 2.031 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.001673/0.001673, allocations: 210.4 kB / 28.65 MB, free: 3.297 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.551/1.551, allocations: 230.6 MB / 262.8 MB, free: 5.848 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.117/1.117, allocations: 130.7 MB / 450.4 MB, free: 6.453 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_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_dev_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_dev_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.06712/0.06712, allocations: 20.99 MB / 0.6371 GB, free: 4.211 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.2627, allocations: 81.9 MB / 0.717 GB, free: 2.215 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.6877/0.9505, allocations: 56.58 MB / 0.7723 GB, free: 13.41 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04945/0.9999, allocations: 25.8 MB / 0.7975 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01075/1.011, allocations: 144.8 kB / 0.7976 GB, free: 11.15 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01126/1.022, allocations: 2.933 MB / 0.8005 GB, free: 9.105 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02069/1.043, allocations: 4.823 MB / 0.8052 GB, free: 5.285 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01591/1.059, allocations: 4.901 MB / 0.81 GB, free: 1.574 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02357/1.082, allocations: 13.1 MB / 0.8228 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00789/1.09, allocations: 4.039 MB / 0.8267 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01092/1.101, allocations: 5.248 MB / 0.8319 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/1.111, allocations: 5.22 MB / 0.8369 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003429/1.115, allocations: 0.8893 MB / 0.8378 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01027/1.125, allocations: 3.102 MB / 0.8408 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005169/1.13, allocations: 2.702 MB / 0.8435 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009195/1.139, allocations: 3.429 MB / 0.8468 GB, free: 13.22 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02876/1.168, allocations: 14.35 MB / 0.8608 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.168, allocations: 0 / 0.8608 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.974e-06/1.168, allocations: 0 / 0.8608 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004688/1.168, allocations: 0 / 0.8608 GB, free: 14.83 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.03396/1.202, allocations: 10.07 MB / 0.8707 GB, free: 4.684 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/1.202, allocations: 14.7 kB / 0.8707 GB, free: 4.672 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006332/1.209, allocations: 1.045 MB / 0.8717 GB, free: 3.621 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/1.226, allocations: 6.479 MB / 0.878 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000677/1.227, allocations: 439.2 kB / 0.8785 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002088/1.229, allocations: 426.6 kB / 0.8789 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03214/1.261, allocations: 12.57 MB / 0.8911 GB, free: 14.11 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002379/1.261, allocations: 39.62 kB / 0.8912 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001744/1.263, allocations: 211.9 kB / 0.8914 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005702/1.264, allocations: 350.6 kB / 0.8917 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02625/1.29, allocations: 8.908 MB / 0.9004 GB, free: 4.613 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.065/1.355, allocations: 39.55 MB / 0.939 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02183/1.377, allocations: 7.36 MB / 0.9462 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006804/1.384, allocations: 2.826 MB / 0.949 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/1.385, allocations: 390.2 kB / 0.9494 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01822/1.404, allocations: 5.937 MB / 0.9552 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 1.641e-05/1.404, allocations: 2.688 kB / 0.9552 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1128/1.516, allocations: 48.31 MB / 1.002 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001042/1.518, allocations: 1.633 MB / 1.004 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.528, allocations: 5.59 MB / 1.009 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001756/1.53, allocations: 97.7 kB / 1.009 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003034/1.533, allocations: 2.865 MB / 1.012 GB, free: 15.86 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004368/1.537, allocations: 2.73 MB / 1.015 GB, free: 13.11 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003257/1.541, allocations: 1.68 MB / 1.017 GB, free: 11.42 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.541, allocations: 301.1 kB / 1.017 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007604/1.548, allocations: 3.732 MB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0121/1.56, allocations: 6.849 MB / 1.027 GB, free: 15.34 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7175/2.278, allocations: 50.63 MB / 1.077 GB, free: 344.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.196e-05/2.278, allocations: 23.12 kB / 1.077 GB, free: 344.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02754/2.306, allocations: 11.28 MB / 1.088 GB, free: 340 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-05/2.306, allocations: 30.45 kB / 1.088 GB, free: 340 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02211/2.328, allocations: 8.891 MB / 1.096 GB, free: 334.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04197/2.37, allocations: 3.929 MB / 1.1 GB, free: 330.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008467/2.378, allocations: 2.176 MB / 1.102 GB, free: 328.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009212/2.387, allocations: 12.09 MB / 1.114 GB, free: 315.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007558/2.395, allocations: 413.2 kB / 1.115 GB, free: 315.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002/2.397, allocations: 0.5023 MB / 1.115 GB, free: 314.8 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.01279/2.41, allocations: 5.231 MB / 1.12 GB, free: 309.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01138/2.421, allocations: 6.794 MB / 1.127 GB, free: 301.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3053/2.726, allocations: 48.39 MB / 1.174 GB, free: 252.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001131/2.727, allocations: 20 kB / 1.174 GB, free: 252.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02767/2.754, allocations: 10.96 MB / 1.185 GB, free: 241.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.107e-05/2.754, allocations: 39.31 kB / 1.185 GB, free: 241.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01899/2.773, allocations: 8.49 MB / 1.193 GB, free: 233.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/2.775, allocations: 0.707 MB / 1.194 GB, free: 232.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008442/2.784, allocations: 2.172 MB / 1.196 GB, free: 230.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009929/2.794, allocations: 12.97 MB / 1.209 GB, free: 216.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008161/2.802, allocations: 413.9 kB / 1.209 GB, free: 216.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002436/2.804, allocations: 0.4957 MB / 1.209 GB, free: 215.6 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.004588/2.809, allocations: 0.68 MB / 1.21 GB, free: 215 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004116/2.813, allocations: 0.7077 MB / 1.211 GB, free: 214.6 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.02325/2.836, allocations: 9.825 MB / 1.22 GB, free: 205.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.033393306192011] Failed to read output from testmodel.py, exit status != 0: 3.039265046361834 3.049955085 1.879389455 Calling exit ...