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.01582/0.01582, allocations: 1.773 MB / 18.82 MB, free: 4.246 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.00184/0.00184, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.001686/0.001686, allocations: 207.2 kB / 25.44 MB, free: 3.254 MB / 14.72 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.487/1.487, allocations: 230.6 MB / 259.2 MB, free: 13.13 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.075/1.075, allocations: 130.6 MB / 446.3 MB, free: 14.62 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="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="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: 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4046/0.4046, allocations: 46.15 MB / 0.6552 GB, free: 30.41 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.5839, allocations: 89.05 MB / 0.7421 GB, free: 2.723 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff): time 0.03187/0.6158, allocations: 27.11 MB / 0.7686 GB, free: 7.508 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04532/0.6611, allocations: 26.69 MB / 0.7947 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007016/0.6681, allocations: 142.9 kB / 0.7948 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008497/0.6766, allocations: 3.029 MB / 0.7978 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.6906, allocations: 4.714 MB / 0.8024 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01206/0.7026, allocations: 4.789 MB / 0.8071 GB, free: 28 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02298/0.7256, allocations: 13.1 MB / 0.8198 GB, free: 2.895 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008791/0.7344, allocations: 3.989 MB / 0.8237 GB, free: 14.84 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.7454, allocations: 5.221 MB / 0.8288 GB, free: 9.602 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/0.7567, allocations: 5.469 MB / 0.8342 GB, free: 4.113 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.004225/0.7609, allocations: 0.8867 MB / 0.835 GB, free: 3.227 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/0.7718, allocations: 3.954 MB / 0.8389 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005027/0.7768, allocations: 2.706 MB / 0.8415 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009115/0.786, allocations: 4.396 MB / 0.8458 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02637/0.8123, allocations: 14.45 MB / 0.86 GB, free: 9.633 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.8123, allocations: 3.984 kB / 0.86 GB, free: 9.629 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8123, allocations: 4 kB / 0.86 GB, free: 9.625 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000451/0.8128, allocations: 4 kB / 0.86 GB, free: 9.621 MB / 0.67 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.03023/0.843, allocations: 9.004 MB / 0.8688 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.843, allocations: 12.03 kB / 0.8688 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002058/0.8433, allocations: 124.6 kB / 0.8689 GB, free: 380 kB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3486/1.192, allocations: 0.739 MB / 0.8696 GB, free: 110.9 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/1.196, allocations: 1.05 MB / 0.8706 GB, free: 110.8 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/1.208, allocations: 6.646 MB / 0.8771 GB, free: 109 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/1.208, allocations: 380.3 kB / 0.8775 GB, free: 108.8 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009444/1.209, allocations: 428.4 kB / 0.8779 GB, free: 108.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02414/1.233, allocations: 10.83 MB / 0.8885 GB, free: 103 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/1.233, allocations: 45.38 kB / 0.8885 GB, free: 103 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006535/1.234, allocations: 211.7 kB / 0.8887 GB, free: 102.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002982/1.234, allocations: 349.4 kB / 0.8891 GB, free: 102.8 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02268/1.257, allocations: 8.938 MB / 0.8978 GB, free: 99.25 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.05251/1.31, allocations: 43.37 MB / 0.9401 GB, free: 61.85 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/1.329, allocations: 7.772 MB / 0.9477 GB, free: 57.25 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00552/1.335, allocations: 2.834 MB / 0.9505 GB, free: 55.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/1.336, allocations: 0.8632 MB / 0.9513 GB, free: 54.88 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01499/1.351, allocations: 5.934 MB / 0.9571 GB, free: 51.41 MB / 0.67 GB Notification: Performance of pre-optimization done (n=794): time 1.27e-05/1.351, allocations: 0 / 0.9571 GB, free: 51.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=797): time 0.08784/1.439, allocations: 48.87 MB / 1.005 GB, free: 5.277 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002907/1.439, allocations: 1.633 MB / 1.006 GB, free: 3.273 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008908/1.448, allocations: 5.646 MB / 1.012 GB, free: 13.67 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001452/1.45, allocations: 97.7 kB / 1.012 GB, free: 13.57 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002853/1.453, allocations: 2.852 MB / 1.015 GB, free: 10.91 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.003868/1.457, allocations: 2.739 MB / 1.018 GB, free: 8.207 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003413/1.46, allocations: 1.668 MB / 1.019 GB, free: 6.527 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.46, allocations: 309.1 kB / 1.019 GB, free: 6.223 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007167/1.467, allocations: 3.733 MB / 1.023 GB, free: 2.48 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00986/1.477, allocations: 6.01 MB / 1.029 GB, free: 11.57 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3539/1.831, allocations: 50.63 MB / 1.078 GB, free: 8.836 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.879e-05/1.831, allocations: 20 kB / 1.078 GB, free: 8.816 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02786/1.859, allocations: 11.28 MB / 1.089 GB, free: 13.53 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/1.859, allocations: 35.94 kB / 1.089 GB, free: 13.5 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02235/1.881, allocations: 8.882 MB / 1.098 GB, free: 4.559 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04445/1.926, allocations: 3.937 MB / 1.102 GB, free: 0.6367 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009173/1.935, allocations: 2.184 MB / 1.104 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/1.948, allocations: 12.87 MB / 1.117 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006927/1.955, allocations: 412.2 kB / 1.117 GB, free: 268 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001876/1.957, allocations: 0.4996 MB / 1.118 GB, free: 15.76 MB / 0.795 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.01242/1.969, allocations: 5.234 MB / 1.123 GB, free: 10.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01041/1.98, allocations: 5.946 MB / 1.128 GB, free: 3.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.331/2.311, allocations: 48.39 MB / 1.176 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.581e-05/2.311, allocations: 17.56 kB / 1.176 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02915/2.34, allocations: 10.98 MB / 1.186 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/2.34, allocations: 32 kB / 1.187 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4051/2.745, allocations: 8.495 MB / 1.195 GB, free: 280.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/2.747, allocations: 0.702 MB / 1.195 GB, free: 280.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008132/2.756, allocations: 2.172 MB / 1.198 GB, free: 280.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009274/2.765, allocations: 13.89 MB / 1.211 GB, free: 269.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006514/2.771, allocations: 413.8 kB / 1.212 GB, free: 269.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/2.773, allocations: 0.4974 MB / 1.212 GB, free: 269.3 MB / 0.8575 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.002746/2.776, allocations: 0.6801 MB / 1.213 GB, free: 269.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003717/2.779, allocations: 0.7168 MB / 1.213 GB, free: 269.2 MB / 0.8575 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.02163/2.801, allocations: 9.801 MB / 1.223 GB, free: 267.3 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.393681342015043] Failed to read output from testmodel.py, exit status != 0: 2.80873165698722 2.820361142 2.005171201 Calling exit ...