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.01587/0.01587, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001642/0.001642, allocations: 109.1 kB / 24.19 MB, free: 2.688 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.002454/0.002454, allocations: 209.9 kB / 27.92 MB, free: 4.027 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.539/1.539, allocations: 230.6 MB / 262.1 MB, free: 6 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.105/1.105, allocations: 130.7 MB / 449.7 MB, free: 6.578 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.03447/0.03447, allocations: 20.79 MB / 0.6358 GB, free: 5.141 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.222, allocations: 81.91 MB / 0.7157 GB, free: 3.129 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.5562/0.7782, allocations: 60.09 MB / 0.7744 GB, free: 10.12 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04924/0.8275, allocations: 27.02 MB / 0.8008 GB, free: 6.727 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01123/0.8387, allocations: 147.1 kB / 0.801 GB, free: 6.66 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.8492, allocations: 3.087 MB / 0.804 GB, free: 4.484 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01768/0.8668, allocations: 4.821 MB / 0.8087 GB, free: 0.6484 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01535/0.8822, allocations: 4.908 MB / 0.8135 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02546/0.9076, allocations: 13.11 MB / 0.8263 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/0.9193, allocations: 3.841 MB / 0.83 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01603/0.9354, allocations: 5.233 MB / 0.8351 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01353/0.9489, allocations: 5.488 MB / 0.8405 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.005002/0.9539, allocations: 0.8867 MB / 0.8414 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01457/0.9685, allocations: 4.265 MB / 0.8455 GB, free: 14.22 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005898/0.9744, allocations: 2.706 MB / 0.8482 GB, free: 11.51 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01156/0.9859, allocations: 4.399 MB / 0.8525 GB, free: 7.09 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02991/1.016, allocations: 14.56 MB / 0.8667 GB, free: 8.48 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.016, allocations: 0 / 0.8667 GB, free: 8.48 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.703e-06/1.016, allocations: 5.938 kB / 0.8667 GB, free: 8.48 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004882/1.016, allocations: 4 kB / 0.8667 GB, free: 8.477 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.03677/1.053, allocations: 10.08 MB / 0.8765 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/1.053, allocations: 11.97 kB / 0.8766 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003254/1.056, allocations: 0.7407 MB / 0.8773 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005841/1.062, allocations: 1.052 MB / 0.8783 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01861/1.081, allocations: 6.467 MB / 0.8846 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007001/1.082, allocations: 431.2 kB / 0.885 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00219/1.084, allocations: 419.9 kB / 0.8854 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03301/1.117, allocations: 10.83 MB / 0.896 GB, free: 9.273 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002519/1.117, allocations: 39.62 kB / 0.896 GB, free: 9.234 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001978/1.119, allocations: 214.6 kB / 0.8963 GB, free: 9.027 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006009/1.12, allocations: 357.2 kB / 0.8966 GB, free: 8.68 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02816/1.148, allocations: 8.936 MB / 0.9053 GB, free: 15.74 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.07773/1.225, allocations: 42.95 MB / 0.9473 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02238/1.248, allocations: 7.39 MB / 0.9545 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007137/1.255, allocations: 2.83 MB / 0.9572 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002097/1.257, allocations: 426.2 kB / 0.9577 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01916/1.276, allocations: 5.948 MB / 0.9635 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 1.691e-05/1.276, allocations: 0 / 0.9635 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1132/1.389, allocations: 48.31 MB / 1.011 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008948/1.39, allocations: 1.632 MB / 1.012 GB, free: 0 / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.4, allocations: 5.648 MB / 1.018 GB, free: 10.35 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001466/1.402, allocations: 105.7 kB / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002934/1.405, allocations: 2.85 MB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003991/1.409, allocations: 2.73 MB / 1.023 GB, free: 4.617 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003441/1.412, allocations: 1.68 MB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.412, allocations: 301.1 kB / 1.025 GB, free: 2.629 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00715/1.42, allocations: 3.731 MB / 1.029 GB, free: 14.89 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/1.431, allocations: 6.013 MB / 1.035 GB, free: 7.945 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6625/2.094, allocations: 50.65 MB / 1.084 GB, free: 340.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.794e-05/2.094, allocations: 19.56 kB / 1.084 GB, free: 340.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02418/2.118, allocations: 11.28 MB / 1.095 GB, free: 335.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/2.118, allocations: 33.97 kB / 1.095 GB, free: 335.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01878/2.137, allocations: 8.879 MB / 1.104 GB, free: 327.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04568/2.182, allocations: 3.94 MB / 1.108 GB, free: 323.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008476/2.191, allocations: 2.18 MB / 1.11 GB, free: 321 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008989/2.2, allocations: 12.26 MB / 1.122 GB, free: 308 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007061/2.207, allocations: 407.1 kB / 1.122 GB, free: 307.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001939/2.209, allocations: 0.5035 MB / 1.123 GB, free: 307.2 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.01092/2.22, allocations: 5.234 MB / 1.128 GB, free: 301.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008153/2.228, allocations: 5.95 MB / 1.134 GB, free: 295 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3069/2.535, allocations: 48.38 MB / 1.181 GB, free: 245.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.479e-05/2.535, allocations: 16 kB / 1.181 GB, free: 245.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02524/2.56, allocations: 10.98 MB / 1.192 GB, free: 235.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/2.56, allocations: 32 kB / 1.192 GB, free: 235 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0169/2.577, allocations: 8.493 MB / 1.2 GB, free: 226.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/2.579, allocations: 0.7122 MB / 1.201 GB, free: 225.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008282/2.587, allocations: 2.172 MB / 1.203 GB, free: 223.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009056/2.596, allocations: 13.16 MB / 1.216 GB, free: 209.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006592/2.603, allocations: 421.4 kB / 1.216 GB, free: 209.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/2.605, allocations: 0.4919 MB / 1.217 GB, free: 208.8 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.002478/2.607, allocations: 0.6751 MB / 1.217 GB, free: 208.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002087/2.609, allocations: 0.7172 MB / 1.218 GB, free: 207.7 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.01746/2.627, allocations: 9.806 MB / 1.227 GB, free: 198.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.679401332978159] Failed to read output from testmodel.py, exit status != 0: 2.7828656709752977 2.793349245 1.774770225 Calling exit ...