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.005793/0.005793, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.00067/0.00067, 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.0008123/0.0008123, allocations: 165.8 kB / 27.86 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.8555/0.8555, allocations: 177.2 MB / 208.6 MB, free: 2.996 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7196/0.7196, allocations: 102.5 MB / 367.9 MB, free: 1.48 MB / 330.8 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.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple_shutoff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple_shutoff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5362 GB, free: 39.95 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.525e-05, allocations: 2.281 kB / 0.5362 GB, free: 39.95 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.1204/0.1204, allocations: 70.22 MB / 0.6048 GB, free: 6.223 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03292/0.1533, allocations: 25.53 MB / 0.6297 GB, free: 12.61 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005049/0.1583, allocations: 142.9 kB / 0.6298 GB, free: 12.46 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004948/0.1633, allocations: 2.95 MB / 0.6327 GB, free: 9.5 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009226/0.1725, allocations: 4.964 MB / 0.6376 GB, free: 4.508 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008202/0.1807, allocations: 4.954 MB / 0.6424 GB, free: 15.54 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01404/0.1948, allocations: 13.42 MB / 0.6555 GB, free: 2.086 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005202/0.2, allocations: 4.058 MB / 0.6595 GB, free: 13.96 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008069/0.208, allocations: 7.137 MB / 0.6664 GB, free: 6.805 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005527/0.2136, allocations: 4.661 MB / 0.671 GB, free: 2.133 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.002213/0.2158, allocations: 0.8867 MB / 0.6719 GB, free: 1.246 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006351/0.2221, allocations: 3.142 MB / 0.6749 GB, free: 14.1 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.00203/0.2242, allocations: 2.768 MB / 0.6776 GB, free: 11.32 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003343/0.2275, allocations: 2.833 MB / 0.6804 GB, free: 8.48 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.2431, allocations: 14.43 MB / 0.6945 GB, free: 10 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2431, allocations: 0 / 0.6945 GB, free: 10 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2431, allocations: 0 / 0.6945 GB, free: 10 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0003329/0.2435, allocations: 0 / 0.6945 GB, free: 10 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.01464/0.2581, allocations: 9.978 MB / 0.7042 GB, free: 15.92 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.2582, allocations: 8.031 kB / 0.7042 GB, free: 15.91 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007215/0.2589, allocations: 0.7446 MB / 0.705 GB, free: 15.16 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.261, allocations: 1.056 MB / 0.706 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009152/0.2701, allocations: 6.464 MB / 0.7123 GB, free: 7.543 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.2704, allocations: 431.2 kB / 0.7127 GB, free: 7.094 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000502/0.2709, allocations: 423.9 kB / 0.7131 GB, free: 6.68 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.2863, allocations: 12.58 MB / 0.7254 GB, free: 8.562 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-05/0.2864, allocations: 39.62 kB / 0.7255 GB, free: 8.523 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003981/0.2868, allocations: 216 kB / 0.7257 GB, free: 8.312 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/0.287, allocations: 346.6 kB / 0.726 GB, free: 7.973 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.3008, allocations: 8.91 MB / 0.7347 GB, free: 15.04 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.3274/0.6282, allocations: 40.12 MB / 0.7739 GB, free: 149.7 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/0.6396, allocations: 7.353 MB / 0.7811 GB, free: 147.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003311/0.6429, allocations: 2.832 MB / 0.7838 GB, free: 146.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008383/0.6438, allocations: 390.3 kB / 0.7842 GB, free: 146.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008286/0.6521, allocations: 5.936 MB / 0.79 GB, free: 143.6 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=794): time 6.763e-06/0.6521, allocations: 2.031 kB / 0.79 GB, free: 143.6 MB / 0.6512 GB Notification: Performance of matching and sorting (n=797): time 0.04834/0.7004, allocations: 48.32 MB / 0.8372 GB, free: 110.7 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/0.7006, allocations: 1.632 MB / 0.8388 GB, free: 108.7 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004914/0.7055, allocations: 5.733 MB / 0.8444 GB, free: 103.1 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0007979/0.7063, allocations: 104.4 kB / 0.8445 GB, free: 103 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.7075, allocations: 2.83 MB / 0.8472 GB, free: 100.4 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/0.7089, allocations: 2.708 MB / 0.8499 GB, free: 98.06 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/0.7103, allocations: 1.653 MB / 0.8515 GB, free: 96.4 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.892e-05/0.7104, allocations: 301.1 kB / 0.8518 GB, free: 96.1 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/0.7139, allocations: 3.742 MB / 0.8554 GB, free: 92.35 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004209/0.7181, allocations: 6.849 MB / 0.8621 GB, free: 84.35 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1568/0.8749, allocations: 50.64 MB / 0.9116 GB, free: 33.91 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.924e-05/0.875, allocations: 16 kB / 0.9116 GB, free: 33.89 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01494/0.8899, allocations: 11.29 MB / 0.9226 GB, free: 22.55 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.8899, allocations: 33.56 kB / 0.9227 GB, free: 22.52 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009709/0.8996, allocations: 8.878 MB / 0.9313 GB, free: 13.59 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02061/0.9202, allocations: 3.944 MB / 0.9352 GB, free: 9.66 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005287/0.9255, allocations: 2.18 MB / 0.9373 GB, free: 7.477 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/0.9318, allocations: 12.19 MB / 0.9492 GB, free: 10.53 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005042/0.9368, allocations: 414.4 kB / 0.9496 GB, free: 10.14 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006685/0.9375, allocations: 0.4996 MB / 0.9501 GB, free: 9.641 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.007415/0.9449, allocations: 5.23 MB / 0.9552 GB, free: 4.406 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005845/0.9508, allocations: 6.782 MB / 0.9618 GB, free: 12.44 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1551/1.106, allocations: 48.39 MB / 1.009 GB, free: 11.19 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.534e-05/1.106, allocations: 20 kB / 1.009 GB, free: 11.17 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01625/1.122, allocations: 10.98 MB / 1.02 GB, free: 120 kB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/1.122, allocations: 33.75 kB / 1.02 GB, free: 88 kB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01038/1.133, allocations: 8.504 MB / 1.028 GB, free: 7.52 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/1.134, allocations: 0.7025 MB / 1.029 GB, free: 6.809 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004346/1.138, allocations: 2.172 MB / 1.031 GB, free: 4.633 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/1.147, allocations: 13.1 MB / 1.044 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004699/1.151, allocations: 416.2 kB / 1.044 GB, free: 6.301 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006353/1.152, allocations: 0.4957 MB / 1.045 GB, free: 5.805 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.002117/1.154, allocations: 0.6839 MB / 1.045 GB, free: 5.168 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.156, allocations: 0.7176 MB / 1.046 GB, free: 4.449 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.2849/1.441, allocations: 9.824 MB / 1.056 GB, free: 271.4 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.2195441061630845] Failed to read output from testmodel.py, exit status != 0: 1.6004579160362482 1.608028368 1.363473352 Calling exit ...