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.0139/0.0139, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.0008995/0.0008995, allocations: 85.2 kB / 25.61 MB, free: 6.992 MB / 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.001472/0.001472, allocations: 167.1 kB / 29.46 MB, free: 3.191 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.9484/0.9484, allocations: 177.2 MB / 210.3 MB, free: 3.566 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6514/0.6514, allocations: 102.4 MB / 369.8 MB, free: 368 kB / 330.7 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 1.0.0 (/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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 469.9 MB, free: 19.03 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731e-05/1.92e-05, allocations: 7.141 kB / 469.9 MB, free: 19.03 MB / 410.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_CH_simple_shutoff): time 0.1286/0.1286, allocations: 75.89 MB / 0.533 GB, free: 12.34 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03908/0.1677, allocations: 26.58 MB / 0.5589 GB, free: 1.695 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004733/0.1725, allocations: 139 kB / 0.5591 GB, free: 1.559 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004846/0.1773, allocations: 2.962 MB / 0.562 GB, free: 14.58 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009095/0.1864, allocations: 4.971 MB / 0.5668 GB, free: 9.582 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008438/0.1948, allocations: 4.929 MB / 0.5716 GB, free: 4.645 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01417/0.209, allocations: 13.42 MB / 0.5847 GB, free: 7.18 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004614/0.2136, allocations: 4.264 MB / 0.5889 GB, free: 2.852 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00742/0.221, allocations: 7.141 MB / 0.5959 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004569/0.2256, allocations: 4.678 MB / 0.6004 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0009017/0.2265, allocations: 0.8828 MB / 0.6013 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005148/0.2317, allocations: 3.126 MB / 0.6044 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00168/0.2333, allocations: 2.792 MB / 0.6071 GB, free: 192 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002395/0.2357, allocations: 2.829 MB / 0.6098 GB, free: 13.35 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.009778/0.2455, allocations: 9.421 MB / 0.619 GB, free: 3.898 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2455, allocations: 4 kB / 0.6191 GB, free: 3.895 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2455, allocations: 4 kB / 0.6191 GB, free: 3.891 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.587e-05/0.2456, allocations: 0 / 0.6191 GB, free: 3.891 MB / 0.5262 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.01123/0.2568, allocations: 10.65 MB / 0.6295 GB, free: 9.121 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2568, allocations: 12.03 kB / 0.6295 GB, free: 9.109 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.259, allocations: 1.389 MB / 0.6308 GB, free: 7.715 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006405/0.2654, allocations: 5.955 MB / 0.6366 GB, free: 1.664 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.2656, allocations: 435.2 kB / 0.6371 GB, free: 1.211 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000508/0.2661, allocations: 455.9 kB / 0.6375 GB, free: 0.7656 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/0.2783, allocations: 10.52 MB / 0.6478 GB, free: 4.32 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.583e-05/0.2784, allocations: 39.62 kB / 0.6478 GB, free: 4.281 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003687/0.2788, allocations: 212 kB / 0.648 GB, free: 4.074 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002494/0.279, allocations: 354.6 kB / 0.6483 GB, free: 3.727 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1959/0.4749, allocations: 4.871 MB / 0.6531 GB, free: 146.7 MB / 0.5574 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.0259/0.5008, allocations: 49.21 MB / 0.7012 GB, free: 106.1 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009031/0.5098, allocations: 5.286 MB / 0.7063 GB, free: 104.5 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.5118, allocations: 1.438 MB / 0.7077 GB, free: 104 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007814/0.5126, allocations: 404.3 kB / 0.7081 GB, free: 103.9 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008028/0.5206, allocations: 4.231 MB / 0.7122 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=794): time 1.22e-05/0.5206, allocations: 0 / 0.7122 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of matching and sorting (n=797): time 0.06271/0.5833, allocations: 40.29 MB / 0.7516 GB, free: 76.75 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003469/0.5837, allocations: 1.628 MB / 0.7532 GB, free: 74.79 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005106/0.5888, allocations: 4.969 MB / 0.758 GB, free: 70 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000979/0.5898, allocations: 101.7 kB / 0.7581 GB, free: 69.89 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.5913, allocations: 3.039 MB / 0.7611 GB, free: 67.1 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001826/0.5931, allocations: 2.763 MB / 0.7638 GB, free: 64.38 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/0.5949, allocations: 1.761 MB / 0.7655 GB, free: 62.6 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.5949, allocations: 483.3 kB / 0.766 GB, free: 62.13 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/0.5974, allocations: 1.584 MB / 0.7675 GB, free: 60.53 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/0.6011, allocations: 5.607 MB / 0.773 GB, free: 53.38 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009222/0.6103, allocations: 8.251 MB / 0.781 GB, free: 43.97 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-05/0.6103, allocations: 19.94 kB / 0.7811 GB, free: 43.95 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.0112/0.6215, allocations: 7.234 MB / 0.7881 GB, free: 36.71 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.6216, allocations: 32 kB / 0.7882 GB, free: 36.68 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008331/0.6299, allocations: 4.847 MB / 0.7929 GB, free: 31.78 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03049/0.6604, allocations: 3.861 MB / 0.7967 GB, free: 28.07 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006435/0.6668, allocations: 2.142 MB / 0.7988 GB, free: 25.93 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005521/0.6724, allocations: 14.87 MB / 0.8133 GB, free: 10.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/0.6767, allocations: 370 kB / 0.8136 GB, free: 9.887 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007232/0.6774, allocations: 0.4996 MB / 0.8141 GB, free: 9.387 MB / 0.5574 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.004611/0.682, allocations: 1.783 MB / 0.8159 GB, free: 7.605 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007294/0.6893, allocations: 5.577 MB / 0.8213 GB, free: 496 kB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01491/0.7042, allocations: 8.164 MB / 0.8293 GB, free: 7.164 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.589e-05/0.7042, allocations: 16 kB / 0.8293 GB, free: 7.148 MB / 0.573 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01619/0.7204, allocations: 6.996 MB / 0.8361 GB, free: 128 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.7205, allocations: 32 kB / 0.8362 GB, free: 96 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0109/0.7314, allocations: 4.545 MB / 0.8406 GB, free: 11.48 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/0.7332, allocations: 0.5439 MB / 0.8411 GB, free: 10.94 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006784/0.74, allocations: 2.139 MB / 0.8432 GB, free: 8.801 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009224/0.7493, allocations: 16.01 MB / 0.8589 GB, free: 7.902 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/0.7525, allocations: 370.8 kB / 0.8592 GB, free: 7.539 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005298/0.7531, allocations: 0.4957 MB / 0.8597 GB, free: 7.039 MB / 0.6043 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.001559/0.7546, allocations: 0.7597 MB / 0.8604 GB, free: 6.289 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/0.7559, allocations: 0.8362 MB / 0.8613 GB, free: 5.449 MB / 0.6043 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.009609/0.7655, allocations: 8.247 MB / 0.8693 GB, free: 13.62 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.665037486003712]