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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01016/0.01016, allocations: 1.77 MB / 20.62 MB, free: 3.867 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.09097/0.09097, allocations: 25.61 MB / 49.72 MB, free: 2.969 MB / 33.03 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.0009379/0.0009379, allocations: 114.1 kB / 60.65 MB, free: 3.027 MB / 44.04 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.001174/0.001174, allocations: 218.6 kB / 71.73 MB, free: 6.469 MB / 44.04 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.007/1.007, allocations: 230.7 MB / 313.3 MB, free: 11.75 MB / 234.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.7315/0.7315, allocations: 130.7 MB / 0.4963 GB, free: 2.203 MB / 362.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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") 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_cs",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_cs",version="2.0",platforms={"static"}) [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: 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: 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: Performance of FrontEnd - loaded program: time 0.004701/0.004701, allocations: 157.2 kB / 0.6901 GB, free: 46.96 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1374, allocations: 89.26 MB / 0.7772 GB, free: 2.996 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff): time 0.01717/0.1546, allocations: 23.59 MB / 0.8003 GB, free: 11.3 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03081/0.1854, allocations: 25.79 MB / 0.8255 GB, free: 1.438 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005324/0.1907, allocations: 142.9 kB / 0.8256 GB, free: 1.297 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.005688/0.1964, allocations: 2.946 MB / 0.8285 GB, free: 14.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.009103/0.2055, allocations: 4.831 MB / 0.8332 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.007929/0.2134, allocations: 4.891 MB / 0.838 GB, free: 4.605 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01166/0.2251, allocations: 13.09 MB / 0.8507 GB, free: 7.484 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004728/0.2298, allocations: 4.039 MB / 0.8547 GB, free: 3.379 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006588/0.2364, allocations: 5.248 MB / 0.8598 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006013/0.2424, allocations: 5.22 MB / 0.8649 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002174/0.2446, allocations: 0.8906 MB / 0.8658 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005897/0.2505, allocations: 3.091 MB / 0.8688 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002126/0.2526, allocations: 2.706 MB / 0.8714 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004024/0.2567, allocations: 3.433 MB / 0.8748 GB, free: 14.72 MB / 0.6512 GB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.2709, allocations: 14.34 MB / 0.8888 GB, free: 336 kB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2709, allocations: 0 / 0.8888 GB, free: 336 kB / 0.6512 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2709, allocations: 8 kB / 0.8888 GB, free: 328 kB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0003979/0.2713, allocations: 0 / 0.8888 GB, free: 328 kB / 0.6512 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.01863/0.2899, allocations: 10.07 MB / 0.8986 GB, free: 6.141 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.29, allocations: 12.03 kB / 0.8987 GB, free: 6.129 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007656/0.2908, allocations: 0.7407 MB / 0.8994 GB, free: 5.375 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.2928, allocations: 1.049 MB / 0.9004 GB, free: 4.32 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3704/0.6632, allocations: 6.474 MB / 0.9067 GB, free: 110.7 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003964/0.6636, allocations: 436.2 kB / 0.9071 GB, free: 110.5 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006166/0.6642, allocations: 423.3 kB / 0.9075 GB, free: 110.4 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01747/0.6817, allocations: 12.57 MB / 0.9198 GB, free: 102.4 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-05/0.6818, allocations: 46.06 kB / 0.9199 GB, free: 102.4 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004214/0.6822, allocations: 209.9 kB / 0.9201 GB, free: 102.3 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003693/0.6826, allocations: 350.6 kB / 0.9204 GB, free: 102.2 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/0.6997, allocations: 8.909 MB / 0.9291 GB, free: 99.3 MB / 0.6668 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.03196/0.7317, allocations: 40.23 MB / 0.9684 GB, free: 64.73 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01334/0.745, allocations: 7.353 MB / 0.9756 GB, free: 57.2 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003706/0.7487, allocations: 2.837 MB / 0.9783 GB, free: 54.3 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009672/0.7497, allocations: 390.4 kB / 0.9787 GB, free: 53.92 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01113/0.7608, allocations: 5.936 MB / 0.9845 GB, free: 47.84 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=794): time 9.949e-06/0.7608, allocations: 3.938 kB / 0.9845 GB, free: 47.84 MB / 0.6668 GB Notification: Performance of matching and sorting (n=797): time 0.06559/0.8264, allocations: 48.32 MB / 1.032 GB, free: 15.39 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007384/0.8272, allocations: 1.629 MB / 1.033 GB, free: 13.38 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006738/0.8339, allocations: 5.733 MB / 1.039 GB, free: 7.727 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/0.835, allocations: 98.45 kB / 1.039 GB, free: 7.625 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/0.8371, allocations: 2.852 MB / 1.042 GB, free: 5.016 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.002384/0.8395, allocations: 2.733 MB / 1.044 GB, free: 2.391 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002193/0.8417, allocations: 1.676 MB / 1.046 GB, free: 0.7031 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.8418, allocations: 309.1 kB / 1.046 GB, free: 408 kB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00494/0.8467, allocations: 3.728 MB / 1.05 GB, free: 12.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006215/0.8529, allocations: 6.848 MB / 1.057 GB, free: 4.621 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1725/1.025, allocations: 50.64 MB / 1.106 GB, free: 1.086 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.429e-05/1.025, allocations: 20 kB / 1.106 GB, free: 1.066 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01589/1.041, allocations: 11.28 MB / 1.117 GB, free: 5.719 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/1.041, allocations: 32.62 kB / 1.117 GB, free: 5.688 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01135/1.053, allocations: 8.877 MB / 1.126 GB, free: 12.75 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02146/1.074, allocations: 3.935 MB / 1.13 GB, free: 8.809 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005113/1.079, allocations: 2.176 MB / 1.132 GB, free: 6.629 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007471/1.087, allocations: 12.22 MB / 1.144 GB, free: 9.637 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/1.091, allocations: 411.2 kB / 1.144 GB, free: 9.234 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007272/1.092, allocations: 0.4996 MB / 1.145 GB, free: 8.734 MB / 0.7918 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.007702/1.1, allocations: 5.219 MB / 1.15 GB, free: 3.504 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00607/1.106, allocations: 6.793 MB / 1.156 GB, free: 11.52 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.183/1.289, allocations: 48.4 MB / 1.204 GB, free: 10.22 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.149e-05/1.289, allocations: 16 kB / 1.204 GB, free: 10.2 MB / 0.8543 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02047/1.309, allocations: 10.98 MB / 1.214 GB, free: 15.15 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.309, allocations: 34.19 kB / 1.214 GB, free: 15.12 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01101/1.32, allocations: 8.498 MB / 1.223 GB, free: 6.551 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/1.322, allocations: 0.7019 MB / 1.223 GB, free: 5.832 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004277/1.326, allocations: 2.172 MB / 1.226 GB, free: 3.656 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3171/1.643, allocations: 13.11 MB / 1.238 GB, free: 291 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004565/1.647, allocations: 415.2 kB / 1.239 GB, free: 291 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/1.649, allocations: 0.4976 MB / 1.239 GB, free: 291 MB / 0.8699 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.001984/1.651, allocations: 0.6735 MB / 1.24 GB, free: 290.9 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/1.653, allocations: 0.7234 MB / 1.241 GB, free: 290.9 MB / 0.8699 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.01477/1.667, allocations: 9.847 MB / 1.25 GB, free: 288.4 MB / 0.8699 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.675281662493944]