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 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.008744/0.008744, allocations: 1.761 MB / 20.61 MB, free: 3.863 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.1079/0.1079, allocations: 25.61 MB / 49.71 MB, free: 2.922 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.001045/0.001045, allocations: 118.1 kB / 60.66 MB, free: 3.02 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.001276/0.001276, allocations: 216.9 kB / 71.72 MB, free: 6.473 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.033/1.033, allocations: 230.6 MB / 313.3 MB, free: 11.78 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.7581/0.7581, allocations: 130.8 MB / 0.4964 GB, free: 2.371 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-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 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_dev_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_dev_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.003934/0.003934, allocations: 151.1 kB / 0.6901 GB, free: 46.63 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1358, allocations: 89.27 MB / 0.7773 GB, free: 2.918 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff): time 0.01822/0.1541, allocations: 23.58 MB / 0.8004 GB, free: 11.23 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.029/0.183, allocations: 25.8 MB / 0.8256 GB, free: 1.359 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004162/0.1872, allocations: 146.9 kB / 0.8257 GB, free: 1.215 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.005312/0.1925, allocations: 2.943 MB / 0.8286 GB, free: 14.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.2036, allocations: 4.829 MB / 0.8333 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.009886/0.2135, allocations: 4.889 MB / 0.8381 GB, free: 4.531 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01268/0.2262, allocations: 13.09 MB / 0.8508 GB, free: 7.406 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004607/0.2308, allocations: 4.039 MB / 0.8548 GB, free: 3.301 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00604/0.2368, allocations: 5.24 MB / 0.8599 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005796/0.2426, allocations: 5.222 MB / 0.865 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001752/0.2444, allocations: 0.8867 MB / 0.8659 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004799/0.2492, allocations: 3.099 MB / 0.8689 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.251, allocations: 2.706 MB / 0.8715 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003248/0.2542, allocations: 3.429 MB / 0.8749 GB, free: 14.65 MB / 0.6512 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.2657, allocations: 14.35 MB / 0.8889 GB, free: 256 kB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2657, allocations: 0 / 0.8889 GB, free: 256 kB / 0.6512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2657, allocations: 3.938 kB / 0.8889 GB, free: 252 kB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0001498/0.2659, allocations: 0 / 0.8889 GB, free: 252 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.01184/0.2777, allocations: 10.08 MB / 0.8987 GB, free: 6.055 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2777, allocations: 12.03 kB / 0.8988 GB, free: 6.043 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000672/0.2784, allocations: 0.7368 MB / 0.8995 GB, free: 5.293 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.2802, allocations: 1.053 MB / 0.9005 GB, free: 4.234 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2933/0.5734, allocations: 6.465 MB / 0.9068 GB, free: 56.39 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003011/0.5737, allocations: 431.8 kB / 0.9072 GB, free: 56.25 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004701/0.5742, allocations: 425.2 kB / 0.9076 GB, free: 56.25 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.5894, allocations: 12.58 MB / 0.9199 GB, free: 51.18 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-05/0.5895, allocations: 44.69 kB / 0.92 GB, free: 51.18 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003662/0.5899, allocations: 212 kB / 0.9202 GB, free: 51.18 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002729/0.5901, allocations: 352.5 kB / 0.9205 GB, free: 51.17 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.6039, allocations: 8.902 MB / 0.9292 GB, free: 51.14 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.02361/0.6275, allocations: 40.23 MB / 0.9685 GB, free: 23.95 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009937/0.6374, allocations: 7.357 MB / 0.9757 GB, free: 20.99 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002855/0.6403, allocations: 2.838 MB / 0.9784 GB, free: 19.52 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000862/0.6412, allocations: 392.8 kB / 0.9788 GB, free: 19.38 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007655/0.6488, allocations: 5.93 MB / 0.9846 GB, free: 15.91 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=794): time 6.562e-06/0.6488, allocations: 0 / 0.9846 GB, free: 15.91 MB / 0.6668 GB Notification: Performance of matching and sorting (n=797): time 0.05078/0.6996, allocations: 48.32 MB / 1.032 GB, free: 80 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004442/0.7, allocations: 1.631 MB / 1.033 GB, free: 14.07 MB / 0.7137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006074/0.7061, allocations: 5.73 MB / 1.039 GB, free: 8.426 MB / 0.7137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008003/0.7069, allocations: 105.7 kB / 1.039 GB, free: 8.316 MB / 0.7137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.7085, allocations: 2.845 MB / 1.042 GB, free: 5.715 MB / 0.7137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001837/0.7103, allocations: 2.736 MB / 1.045 GB, free: 3.09 MB / 0.7137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001973/0.7123, allocations: 1.68 MB / 1.046 GB, free: 1.398 MB / 0.7137 GB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.7124, allocations: 301.1 kB / 1.046 GB, free: 1.102 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004279/0.7167, allocations: 3.731 MB / 1.05 GB, free: 13.36 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005797/0.7225, allocations: 6.848 MB / 1.057 GB, free: 5.355 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1677/0.8901, allocations: 50.63 MB / 1.106 GB, free: 2.086 MB / 0.7762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.566e-05/0.8902, allocations: 20 kB / 1.106 GB, free: 2.066 MB / 0.7762 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02008/0.9103, allocations: 11.29 MB / 1.117 GB, free: 7.086 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.9103, allocations: 33.31 kB / 1.117 GB, free: 7.055 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01169/0.922, allocations: 8.874 MB / 1.126 GB, free: 14.15 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02168/0.9437, allocations: 3.931 MB / 1.13 GB, free: 10.23 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005482/0.9491, allocations: 2.18 MB / 1.132 GB, free: 8.168 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007026/0.9562, allocations: 12.21 MB / 1.144 GB, free: 11.27 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/0.9601, allocations: 411.2 kB / 1.144 GB, free: 10.86 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006414/0.9608, allocations: 0.5035 MB / 1.145 GB, free: 10.36 MB / 0.823 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.007298/0.9681, allocations: 5.231 MB / 1.15 GB, free: 5.117 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005932/0.974, allocations: 6.785 MB / 1.156 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1519/1.126, allocations: 48.39 MB / 1.204 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.379e-05/1.126, allocations: 27.98 kB / 1.204 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01444/1.14, allocations: 10.98 MB / 1.214 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/1.14, allocations: 32 kB / 1.215 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01036/1.151, allocations: 8.495 MB / 1.223 GB, free: 8.891 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/1.152, allocations: 0.7001 MB / 1.224 GB, free: 8.18 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004202/1.156, allocations: 2.17 MB / 1.226 GB, free: 6.129 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007275/1.163, allocations: 13.12 MB / 1.238 GB, free: 8.23 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/1.167, allocations: 418.2 kB / 1.239 GB, free: 7.824 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005626/1.167, allocations: 0.4957 MB / 1.239 GB, free: 7.328 MB / 0.9168 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.001539/1.169, allocations: 0.6814 MB / 1.24 GB, free: 6.77 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/1.17, allocations: 0.7294 MB / 1.241 GB, free: 6.035 MB / 0.9168 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.2991/1.469, allocations: 9.827 MB / 1.25 GB, free: 343.8 MB / 0.9168 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.544831587001681]