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.01343/0.01343, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001634/0.001634, allocations: 106.8 kB / 24.19 MB, free: 2.652 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.001499/0.001499, allocations: 207.5 kB / 27.92 MB, free: 4 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.441/1.441, allocations: 230.6 MB / 262.1 MB, free: 6.211 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.089/1.089, allocations: 130.7 MB / 449.7 MB, free: 6.617 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.0318/0.0318, allocations: 20.78 MB / 0.6358 GB, free: 5.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.2062, allocations: 81.91 MB / 0.7157 GB, free: 3.297 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.606/0.8122, allocations: 60.1 MB / 0.7744 GB, free: 10.22 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04986/0.8621, allocations: 27.02 MB / 0.8008 GB, free: 6.816 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01146/0.8736, allocations: 143.9 kB / 0.801 GB, free: 6.75 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0126/0.8862, allocations: 3.091 MB / 0.804 GB, free: 4.57 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02146/0.9076, allocations: 4.823 MB / 0.8087 GB, free: 0.7344 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01526/0.9229, allocations: 4.91 MB / 0.8135 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02862/0.9515, allocations: 13.11 MB / 0.8263 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008546/0.96, allocations: 3.833 MB / 0.83 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/0.9731, allocations: 5.239 MB / 0.8351 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01229/0.9854, allocations: 5.486 MB / 0.8405 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004433/0.9898, allocations: 0.89 MB / 0.8414 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01375/1.004, allocations: 4.264 MB / 0.8455 GB, free: 14.31 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005921/1.009, allocations: 2.706 MB / 0.8482 GB, free: 11.6 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01113/1.021, allocations: 4.396 MB / 0.8525 GB, free: 7.18 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0323/1.053, allocations: 14.55 MB / 0.8667 GB, free: 8.578 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.053, allocations: 2.688 kB / 0.8667 GB, free: 8.578 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.515e-06/1.053, allocations: 0 / 0.8667 GB, free: 8.578 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004922/1.053, allocations: 0 / 0.8667 GB, free: 8.578 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.03348/1.087, allocations: 10.09 MB / 0.8765 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/1.087, allocations: 12.03 kB / 0.8765 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002885/1.09, allocations: 0.7446 MB / 0.8773 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005514/1.095, allocations: 1.048 MB / 0.8783 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01796/1.113, allocations: 6.471 MB / 0.8846 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005882/1.114, allocations: 431.2 kB / 0.885 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/1.116, allocations: 423.9 kB / 0.8854 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02998/1.146, allocations: 10.83 MB / 0.896 GB, free: 9.355 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/1.146, allocations: 39.62 kB / 0.896 GB, free: 9.316 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007249/1.147, allocations: 210.5 kB / 0.8962 GB, free: 9.113 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004377/1.147, allocations: 357.2 kB / 0.8966 GB, free: 8.766 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/1.174, allocations: 8.941 MB / 0.9053 GB, free: 15.82 MB / 0.6857 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.07651/1.25, allocations: 42.95 MB / 0.9473 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02234/1.272, allocations: 7.387 MB / 0.9545 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007356/1.28, allocations: 2.83 MB / 0.9572 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002051/1.282, allocations: 438 kB / 0.9577 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01928/1.301, allocations: 5.945 MB / 0.9635 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 1.751e-05/1.301, allocations: 0 / 0.9635 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1093/1.41, allocations: 48.32 MB / 1.011 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008929/1.411, allocations: 1.628 MB / 1.012 GB, free: 80 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/1.422, allocations: 5.646 MB / 1.018 GB, free: 10.43 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001749/1.423, allocations: 97.7 kB / 1.018 GB, free: 10.33 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00306/1.427, allocations: 2.846 MB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004331/1.431, allocations: 2.73 MB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00347/1.434, allocations: 1.679 MB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.434, allocations: 309.1 kB / 1.025 GB, free: 2.715 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007365/1.442, allocations: 3.728 MB / 1.029 GB, free: 14.97 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.452, allocations: 6.014 MB / 1.035 GB, free: 8.031 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6443/2.097, allocations: 50.65 MB / 1.084 GB, free: 341 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-05/2.097, allocations: 15.69 kB / 1.084 GB, free: 341 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02081/2.118, allocations: 11.29 MB / 1.095 GB, free: 335.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/2.118, allocations: 32.84 kB / 1.095 GB, free: 335.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01591/2.133, allocations: 8.87 MB / 1.104 GB, free: 327.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04433/2.178, allocations: 3.948 MB / 1.108 GB, free: 323.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008163/2.186, allocations: 2.172 MB / 1.11 GB, free: 321.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008428/2.194, allocations: 12.26 MB / 1.122 GB, free: 308.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006807/2.201, allocations: 405.4 kB / 1.122 GB, free: 307.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/2.203, allocations: 0.5074 MB / 1.123 GB, free: 307.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.0091/2.212, allocations: 5.231 MB / 1.128 GB, free: 302 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006509/2.218, allocations: 5.962 MB / 1.134 GB, free: 295.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2879/2.506, allocations: 48.37 MB / 1.181 GB, free: 245.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.136e-05/2.506, allocations: 20 kB / 1.181 GB, free: 245.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02041/2.527, allocations: 10.97 MB / 1.192 GB, free: 235.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/2.527, allocations: 32 kB / 1.192 GB, free: 235.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01313/2.54, allocations: 8.502 MB / 1.2 GB, free: 226.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/2.542, allocations: 0.702 MB / 1.201 GB, free: 225.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00753/2.549, allocations: 2.172 MB / 1.203 GB, free: 223.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008709/2.558, allocations: 13.16 MB / 1.216 GB, free: 209.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006953/2.565, allocations: 426.9 kB / 1.216 GB, free: 209.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001739/2.567, allocations: 0.4957 MB / 1.217 GB, free: 208.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.003464/2.57, allocations: 0.6787 MB / 1.217 GB, free: 208.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003187/2.573, allocations: 0.7202 MB / 1.218 GB, free: 207.8 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.01914/2.593, allocations: 9.804 MB / 1.227 GB, free: 198.4 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.5107871489999525] Failed to read output from testmodel.py, exit status != 0: 2.777627953000774 2.7891977629999998 1.733355566 Calling exit ...