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.006093/0.006093, 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.0006494/0.0006494, 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.0007348/0.0007348, allocations: 164.4 kB / 27.85 MB, free: 5.496 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.8285/0.8285, allocations: 177.2 MB / 208.6 MB, free: 2.949 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.7157/0.7157, allocations: 102.5 MB / 367.9 MB, free: 1.438 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 0.5367 GB, free: 39.77 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.725e-05, allocations: 2.281 kB / 0.5367 GB, free: 39.77 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_CH_simple_shutoff): time 0.1105/0.1106, allocations: 70.21 MB / 0.6052 GB, free: 5.738 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03107/0.1416, allocations: 25.53 MB / 0.6302 GB, free: 12.12 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004289/0.1459, allocations: 146.9 kB / 0.6303 GB, free: 11.98 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.006031/0.152, allocations: 2.946 MB / 0.6332 GB, free: 9.02 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009936/0.1619, allocations: 4.971 MB / 0.638 GB, free: 4.02 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008462/0.1703, allocations: 4.961 MB / 0.6429 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01413/0.1845, allocations: 13.41 MB / 0.656 GB, free: 1.598 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005967/0.1904, allocations: 4.066 MB / 0.66 GB, free: 13.46 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.2032, allocations: 7.133 MB / 0.6669 GB, free: 6.312 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006543/0.2097, allocations: 4.668 MB / 0.6715 GB, free: 1.637 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.002551/0.2123, allocations: 0.8906 MB / 0.6724 GB, free: 0.7461 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005972/0.2183, allocations: 3.134 MB / 0.6754 GB, free: 13.61 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002839/0.2211, allocations: 2.772 MB / 0.6781 GB, free: 10.82 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.004534/0.2256, allocations: 2.825 MB / 0.6809 GB, free: 7.992 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.242, allocations: 14.44 MB / 0.695 GB, free: 9.508 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.242, allocations: 0 / 0.695 GB, free: 9.508 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.583e-06/0.242, allocations: 0 / 0.695 GB, free: 9.508 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0003562/0.2424, allocations: 0 / 0.695 GB, free: 9.508 MB / 0.5887 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.0176/0.26, allocations: 9.978 MB / 0.7047 GB, free: 15.42 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.26, allocations: 8.031 kB / 0.7047 GB, free: 15.41 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.2629, allocations: 1.048 MB / 0.7058 GB, free: 14.36 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.2743, allocations: 6.473 MB / 0.7121 GB, free: 7.801 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.2747, allocations: 423.2 kB / 0.7125 GB, free: 7.359 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.2757, allocations: 427.9 kB / 0.7129 GB, free: 6.941 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01824/0.294, allocations: 12.58 MB / 0.7252 GB, free: 8.824 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.768e-05/0.294, allocations: 43.56 kB / 0.7252 GB, free: 8.781 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005116/0.2945, allocations: 208 kB / 0.7254 GB, free: 8.578 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000251/0.2948, allocations: 362.5 kB / 0.7258 GB, free: 8.223 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.3113, allocations: 8.906 MB / 0.7345 GB, free: 15.3 MB / 0.6355 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.3061/0.6173, allocations: 39.44 MB / 0.773 GB, free: 149.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.6286, allocations: 7.345 MB / 0.7801 GB, free: 147.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003599/0.6322, allocations: 2.832 MB / 0.7829 GB, free: 146.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008278/0.633, allocations: 398.4 kB / 0.7833 GB, free: 146.3 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008583/0.6416, allocations: 5.929 MB / 0.7891 GB, free: 143.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=794): time 1.343e-05/0.6416, allocations: 3.422 kB / 0.7891 GB, free: 143.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=797): time 0.04977/0.6914, allocations: 48.31 MB / 0.8363 GB, free: 111.5 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/0.6916, allocations: 1.636 MB / 0.8379 GB, free: 109.4 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00455/0.6961, allocations: 5.587 MB / 0.8433 GB, free: 103.9 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0008029/0.6969, allocations: 97.7 kB / 0.8434 GB, free: 103.8 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.6981, allocations: 2.845 MB / 0.8462 GB, free: 101.2 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00133/0.6994, allocations: 2.701 MB / 0.8488 GB, free: 98.93 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/0.7009, allocations: 1.658 MB / 0.8504 GB, free: 97.26 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.793e-05/0.7009, allocations: 309.1 kB / 0.8507 GB, free: 96.95 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003524/0.7044, allocations: 3.734 MB / 0.8544 GB, free: 93.21 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004149/0.7086, allocations: 6.849 MB / 0.8611 GB, free: 85.21 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1596/0.8682, allocations: 50.65 MB / 0.9105 GB, free: 34.78 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.062e-05/0.8682, allocations: 20 kB / 0.9106 GB, free: 34.76 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01362/0.8818, allocations: 11.28 MB / 0.9216 GB, free: 23.44 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.8819, allocations: 33.41 kB / 0.9216 GB, free: 23.41 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009274/0.8911, allocations: 8.878 MB / 0.9303 GB, free: 14.47 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02085/0.912, allocations: 3.938 MB / 0.9341 GB, free: 10.55 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004202/0.9162, allocations: 2.18 MB / 0.9362 GB, free: 8.363 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005391/0.9216, allocations: 12.07 MB / 0.948 GB, free: 11.61 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/0.9252, allocations: 407.9 kB / 0.9484 GB, free: 11.23 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005744/0.9258, allocations: 0.5043 MB / 0.9489 GB, free: 10.73 MB / 0.6668 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.006667/0.9325, allocations: 5.225 MB / 0.954 GB, free: 5.492 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005526/0.938, allocations: 6.782 MB / 0.9606 GB, free: 13.52 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1539/1.092, allocations: 48.4 MB / 1.008 GB, free: 12.27 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.806e-05/1.092, allocations: 23.94 kB / 1.008 GB, free: 12.25 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01608/1.108, allocations: 10.95 MB / 1.019 GB, free: 1.223 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/1.108, allocations: 36.91 kB / 1.019 GB, free: 1.188 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01016/1.118, allocations: 8.496 MB / 1.027 GB, free: 8.625 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/1.119, allocations: 0.7053 MB / 1.028 GB, free: 7.914 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004264/1.124, allocations: 2.172 MB / 1.03 GB, free: 5.738 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007427/1.131, allocations: 12.96 MB / 1.042 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/1.135, allocations: 413.1 kB / 1.043 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006292/1.136, allocations: 0.4957 MB / 1.043 GB, free: 7.141 MB / 0.7605 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.001806/1.138, allocations: 0.6754 MB / 1.044 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/1.139, allocations: 0.7083 MB / 1.045 GB, free: 5.793 MB / 0.7605 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.2724/1.411, allocations: 9.817 MB / 1.054 GB, free: 270.6 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.030818494036794] Failed to read output from testmodel.py, exit status != 0: 1.55448651406914 1.56332691 1.3191387639999999 Calling exit ...