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.01348/0.01348, allocations: 1.757 MB / 20.6 MB, free: 1.023 MB / 14.72 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.001668/0.001668, allocations: 100.8 kB / 24.18 MB, free: 2.445 MB / 14.72 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.001672/0.001672, allocations: 218.9 kB / 27.9 MB, free: 3.758 MB / 19.63 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.492/1.492, allocations: 230.6 MB / 262.1 MB, free: 5.848 MB / 206.1 MB " [Timeout remaining time 178] 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 1.046/1.046, allocations: 130.7 MB / 449.6 MB, free: 6.418 MB / 350.1 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.3.1 (/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: 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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06675/0.06675, allocations: 20.99 MB / 0.6359 GB, free: 4.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.2403, allocations: 81.91 MB / 0.7158 GB, free: 2.715 MB / 0.5294 GB 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.4766/0.7168, allocations: 56.57 MB / 0.7711 GB, free: 13.41 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0434/0.7602, allocations: 25.8 MB / 0.7963 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008259/0.7685, allocations: 144 kB / 0.7964 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009033/0.7775, allocations: 2.935 MB / 0.7993 GB, free: 9.176 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01605/0.7936, allocations: 4.832 MB / 0.804 GB, free: 5.348 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01331/0.8069, allocations: 4.894 MB / 0.8088 GB, free: 1.637 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01983/0.8267, allocations: 13.1 MB / 0.8216 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007973/0.8347, allocations: 4.039 MB / 0.8255 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01231/0.847, allocations: 5.244 MB / 0.8306 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0124/0.8594, allocations: 5.228 MB / 0.8357 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003723/0.8631, allocations: 0.8867 MB / 0.8366 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009989/0.8731, allocations: 3.103 MB / 0.8396 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004866/0.878, allocations: 2.702 MB / 0.8423 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01033/0.8883, allocations: 3.425 MB / 0.8456 GB, free: 13.55 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0317/0.92, allocations: 14.35 MB / 0.8596 GB, free: 15.15 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.92, allocations: 4 kB / 0.8596 GB, free: 15.15 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.984e-06/0.92, allocations: 0 / 0.8596 GB, free: 15.15 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004856/0.9205, allocations: 0 / 0.8596 GB, free: 15.15 MB / 0.6388 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.02944/0.9499, allocations: 10.07 MB / 0.8695 GB, free: 5.016 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.95, allocations: 12.03 kB / 0.8695 GB, free: 5.004 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002536/0.9525, allocations: 0.7407 MB / 0.8702 GB, free: 4.25 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004767/0.9573, allocations: 1.048 MB / 0.8712 GB, free: 3.199 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/0.9736, allocations: 6.486 MB / 0.8776 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005725/0.9742, allocations: 435.2 kB / 0.878 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/0.9759, allocations: 419.9 kB / 0.8784 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02958/1.005, allocations: 12.58 MB / 0.8907 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001978/1.006, allocations: 42.91 kB / 0.8907 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001579/1.007, allocations: 212 kB / 0.8909 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005447/1.008, allocations: 353.2 kB / 0.8912 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/1.035, allocations: 8.905 MB / 0.8999 GB, free: 4.184 MB / 0.67 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.06527/1.101, allocations: 40.21 MB / 0.9392 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02133/1.122, allocations: 7.365 MB / 0.9464 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007147/1.129, allocations: 2.835 MB / 0.9492 GB, free: 428 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001981/1.131, allocations: 386.2 kB / 0.9495 GB, free: 48 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01843/1.15, allocations: 5.947 MB / 0.9553 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 2.346e-05/1.15, allocations: 0 / 0.9553 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1123/1.262, allocations: 48.31 MB / 1.003 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008572/1.263, allocations: 1.636 MB / 1.004 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009903/1.273, allocations: 5.727 MB / 1.01 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001335/1.274, allocations: 97.7 kB / 1.01 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002934/1.277, allocations: 2.854 MB / 1.013 GB, free: 14.6 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00382/1.281, allocations: 2.734 MB / 1.015 GB, free: 11.84 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003798/1.284, allocations: 1.672 MB / 1.017 GB, free: 10.16 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.285, allocations: 304.9 kB / 1.017 GB, free: 9.863 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007837/1.292, allocations: 3.742 MB / 1.021 GB, free: 6.109 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/1.303, allocations: 6.843 MB / 1.028 GB, free: 14.08 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6403/1.944, allocations: 50.64 MB / 1.077 GB, free: 343.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.736e-05/1.944, allocations: 17.81 kB / 1.077 GB, free: 343.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02649/1.97, allocations: 11.28 MB / 1.088 GB, free: 339.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.854e-05/1.97, allocations: 28.97 kB / 1.088 GB, free: 339.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01978/1.99, allocations: 8.888 MB / 1.097 GB, free: 333 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04106/2.031, allocations: 3.928 MB / 1.101 GB, free: 329.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008026/2.039, allocations: 2.18 MB / 1.103 GB, free: 327.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008617/2.048, allocations: 12.22 MB / 1.115 GB, free: 314.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006064/2.054, allocations: 404.9 kB / 1.115 GB, free: 313.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/2.055, allocations: 0.5035 MB / 1.115 GB, free: 313.3 MB / 0.8263 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.01001/2.066, allocations: 5.233 MB / 1.121 GB, free: 308.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007693/2.073, allocations: 6.786 MB / 1.127 GB, free: 300.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3009/2.374, allocations: 48.39 MB / 1.174 GB, free: 250.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.278e-05/2.374, allocations: 20 kB / 1.175 GB, free: 250.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.03441/2.409, allocations: 10.98 MB / 1.185 GB, free: 240.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/2.409, allocations: 35.98 kB / 1.185 GB, free: 240.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02362/2.432, allocations: 8.497 MB / 1.194 GB, free: 231.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/2.434, allocations: 0.6942 MB / 1.194 GB, free: 230.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01239/2.447, allocations: 2.184 MB / 1.196 GB, free: 228.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/2.459, allocations: 13.11 MB / 1.209 GB, free: 214.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009745/2.469, allocations: 414.4 kB / 1.21 GB, free: 214.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002558/2.472, allocations: 0.4919 MB / 1.21 GB, free: 213.9 MB / 0.8263 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.004434/2.476, allocations: 0.6859 MB / 1.211 GB, free: 213.3 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003361/2.479, allocations: 0.7228 MB / 1.211 GB, free: 212.9 MB / 0.8263 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.01874/2.498, allocations: 9.829 MB / 1.221 GB, free: 203.4 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.307555027771741] Failed to read output from testmodel.py, exit status != 0: 2.6492915428243577 2.660766994 1.737940874 Calling exit ...