Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple.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.0132/0.0132, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.001473/0.001473, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001941/0.001941, allocations: 214.9 kB / 24.75 MB, free: 3.691 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.534/1.534, allocations: 230.6 MB / 258.5 MB, free: 13.12 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.112/1.112, allocations: 130.6 MB / 445.6 MB, free: 14.64 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_BU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_BU_simple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_BU_simple",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: 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.418/0.418, allocations: 46.16 MB / 0.6545 GB, free: 30.55 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.6111, allocations: 89.06 MB / 0.7415 GB, free: 2.703 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple): time 0.03397/0.6451, allocations: 28.12 MB / 0.7689 GB, free: 6.469 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.05146/0.6965, allocations: 27.29 MB / 0.7956 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006595/0.7031, allocations: 150.9 kB / 0.7957 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009113/0.7122, allocations: 3.035 MB / 0.7987 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01525/0.7275, allocations: 4.904 MB / 0.8035 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01372/0.7412, allocations: 4.954 MB / 0.8083 GB, free: 14.02 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02356/0.7647, allocations: 13.98 MB / 0.822 GB, free: 12 kB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009462/0.7742, allocations: 4.326 MB / 0.8262 GB, free: 11.62 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01233/0.7865, allocations: 5.591 MB / 0.8316 GB, free: 6.012 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01131/0.7978, allocations: 5.917 MB / 0.8374 GB, free: 76 kB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.004053/0.8019, allocations: 0.9805 MB / 0.8384 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.8136, allocations: 4.032 MB / 0.8423 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006587/0.8202, allocations: 3.107 MB / 0.8454 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01061/0.8308, allocations: 4.867 MB / 0.8501 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03068/0.8615, allocations: 15.91 MB / 0.8656 GB, free: 3.086 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.8615, allocations: 0 / 0.8656 GB, free: 3.086 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8615, allocations: 0 / 0.8656 GB, free: 3.086 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.00062/0.8621, allocations: 0 / 0.8656 GB, free: 3.086 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: 1685 * Number of variables: 1685 Notification: Performance of Generate backend data structure: time 0.4187/1.281, allocations: 10.12 MB / 0.8755 GB, free: 110.6 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.281, allocations: 9.594 kB / 0.8755 GB, free: 110.6 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00241/1.283, allocations: 0.7858 MB / 0.8763 GB, free: 110.2 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005416/1.289, allocations: 1.124 MB / 0.8774 GB, free: 109.6 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02025/1.309, allocations: 7.689 MB / 0.8849 GB, free: 106.4 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006118/1.309, allocations: 405.5 kB / 0.8853 GB, free: 106.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002254/1.312, allocations: 438.7 kB / 0.8857 GB, free: 106.1 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0328/1.345, allocations: 11.69 MB / 0.8971 GB, free: 98.82 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003354/1.345, allocations: 45.25 kB / 0.8972 GB, free: 98.82 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002342/1.347, allocations: 227.2 kB / 0.8974 GB, free: 98.68 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000827/1.348, allocations: 421.3 kB / 0.8978 GB, free: 98.58 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03138/1.379, allocations: 9.736 MB / 0.9073 GB, free: 93.94 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.07463/1.454, allocations: 46.78 MB / 0.953 GB, free: 53.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02181/1.476, allocations: 8.13 MB / 0.9609 GB, free: 49.08 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007515/1.483, allocations: 3.077 MB / 0.9639 GB, free: 47.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002059/1.485, allocations: 0.8817 MB / 0.9648 GB, free: 46.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01818/1.504, allocations: 6.318 MB / 0.971 GB, free: 39.72 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004848/1.508, allocations: 0.5719 MB / 0.9715 GB, free: 39.15 MB / 0.67 GB Notification: Performance of pre-optimization done (n=833): time 2.737e-05/1.509, allocations: 0.7031 kB / 0.9715 GB, free: 39.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=834): time 0.1139/1.622, allocations: 53.33 MB / 1.024 GB, free: 1.434 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001158/1.624, allocations: 1.757 MB / 1.025 GB, free: 15.27 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01594/1.64, allocations: 6.89 MB / 1.032 GB, free: 8.418 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001887/1.641, allocations: 97.7 kB / 1.032 GB, free: 8.316 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.004265/1.646, allocations: 3.198 MB / 1.035 GB, free: 5.121 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.005085/1.651, allocations: 2.872 MB / 1.038 GB, free: 2.297 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00726/1.658, allocations: 1.811 MB / 1.04 GB, free: 484 kB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.658, allocations: 301.1 kB / 1.04 GB, free: 180 kB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009802/1.668, allocations: 4.04 MB / 1.044 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0135/1.681, allocations: 6.667 MB / 1.051 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3678/2.049, allocations: 52.03 MB / 1.101 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/2.049, allocations: 21.12 kB / 1.101 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.03863/2.088, allocations: 12.34 MB / 1.113 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/2.088, allocations: 37.56 kB / 1.113 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02854/2.117, allocations: 9.473 MB / 1.123 GB, free: 9.988 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04511/2.162, allocations: 3.901 MB / 1.127 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/2.173, allocations: 2.398 MB / 1.129 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/2.19, allocations: 14.14 MB / 1.143 GB, free: 4.57 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009621/2.199, allocations: 0.5034 MB / 1.143 GB, free: 4.066 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002691/2.202, allocations: 0.5426 MB / 1.144 GB, free: 3.523 MB / 0.8107 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.01656/2.219, allocations: 5.699 MB / 1.149 GB, free: 13.82 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01394/2.232, allocations: 6.604 MB / 1.156 GB, free: 6.074 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.8438/3.076, allocations: 49.77 MB / 1.204 GB, free: 275.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.661e-05/3.076, allocations: 22.41 kB / 1.204 GB, free: 275.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02782/3.104, allocations: 11.96 MB / 1.216 GB, free: 272 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.101e-05/3.104, allocations: 40.31 kB / 1.216 GB, free: 272 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02026/3.125, allocations: 9.048 MB / 1.225 GB, free: 268.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/3.127, allocations: 0.6719 MB / 1.226 GB, free: 268.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009814/3.137, allocations: 2.395 MB / 1.228 GB, free: 268.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/3.149, allocations: 15.16 MB / 1.243 GB, free: 254.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008593/3.157, allocations: 0.5089 MB / 1.243 GB, free: 254.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001974/3.159, allocations: 0.5436 MB / 1.244 GB, free: 254.7 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: 330 * 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 (1154): * Single equations (assignments): 1145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * 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): 3 systems {(4,3,87.5%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.003621/3.163, allocations: 0.729 MB / 1.244 GB, free: 254.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002684/3.165, allocations: 0.786 MB / 1.245 GB, free: 254.3 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 1268 equation(s) and 1214 variable(s). Error: ($cse509, $cse510, $cse511, $cse512, $cse513, $cse514, $cse515, $cse516, $cse517, $cse518, $cse519, $cse520) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(massFlowSource_h1.steam_a.p, -1.0, {}, massFlowSource_h1.fluidOut.vleFluidPointer) has size 12 but 3 variables (hex.shell.Q_flow[2], hex.shell.heattransfer.Q_flow_tot, hex.shell.summary.outline.Q_flow[2]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01697/3.182, allocations: 10.65 MB / 1.256 GB, free: 250.1 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.881832034996478] Failed to read output from testmodel.py, exit status != 0: 3.1925221720011905 3.199915881 2.335892285 Calling exit ...