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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.009128/0.009128, allocations: 1.772 MB / 20.62 MB, free: 4 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07582/0.07582, allocations: 25.61 MB / 49.71 MB, free: 0.6562 MB / 33.04 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.001152/0.001152, allocations: 113.5 kB / 60.65 MB, free: 6.305 MB / 44.05 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.001142/0.001142, allocations: 215.2 kB / 71.72 MB, free: 9.91 MB / 58.74 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 0.9704/0.9704, allocations: 230.6 MB / 313.3 MB, free: 5.168 MB / 218.7 MB " [Timeout remaining time 179] 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 0.6563/0.6563, allocations: 130.7 MB / 0.4963 GB, free: 2.523 MB / 378.7 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") 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_cs",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_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: 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: 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: Performance of FrontEnd - loaded program: time 0.004459/0.004459, allocations: 148.2 kB / 0.6901 GB, free: 1.465 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3769, allocations: 89.27 MB / 0.7772 GB, free: 7.641 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple): time 0.0202/0.3971, allocations: 24.45 MB / 0.8011 GB, free: 5.266 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.03479/0.4319, allocations: 26.37 MB / 0.8269 GB, free: 14.8 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005748/0.4376, allocations: 150.9 kB / 0.827 GB, free: 14.65 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.006623/0.4443, allocations: 2.94 MB / 0.8299 GB, free: 11.7 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.4553, allocations: 5.026 MB / 0.8348 GB, free: 6.645 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009416/0.4647, allocations: 5.072 MB / 0.8397 GB, free: 1.574 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.01619/0.4809, allocations: 13.98 MB / 0.8534 GB, free: 3.559 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006634/0.4875, allocations: 4.38 MB / 0.8577 GB, free: 15.11 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01001/0.4975, allocations: 5.611 MB / 0.8632 GB, free: 9.48 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009134/0.5067, allocations: 5.637 MB / 0.8687 GB, free: 3.82 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.003749/0.5104, allocations: 0.9727 MB / 0.8696 GB, free: 2.848 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.5214, allocations: 3.19 MB / 0.8727 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.006965/0.5284, allocations: 3.092 MB / 0.8757 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.01089/0.5392, allocations: 3.822 MB / 0.8795 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.03136/0.5706, allocations: 15.82 MB / 0.8949 GB, free: 8.84 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.5706, allocations: 0 / 0.8949 GB, free: 8.84 MB / 0.6512 GB Notification: Performance of FrontEnd: time 2.975e-06/0.5706, allocations: 0 / 0.8949 GB, free: 8.84 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0005441/0.5712, allocations: 0 / 0.8949 GB, free: 8.84 MB / 0.6512 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.02499/0.5962, allocations: 11.25 MB / 0.9059 GB, free: 13.48 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.5962, allocations: 12.03 kB / 0.9059 GB, free: 13.47 MB / 0.6668 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002148/0.5984, allocations: 0.7944 MB / 0.9067 GB, free: 12.67 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00395/0.6023, allocations: 1.115 MB / 0.9078 GB, free: 11.55 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01736/0.6197, allocations: 7.67 MB / 0.9153 GB, free: 3.797 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005295/0.6202, allocations: 455.6 kB / 0.9157 GB, free: 3.324 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.6219, allocations: 439.9 kB / 0.9161 GB, free: 2.895 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02495/0.6468, allocations: 13.59 MB / 0.9294 GB, free: 3.648 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001809/0.647, allocations: 47.56 kB / 0.9295 GB, free: 3.602 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001302/0.6483, allocations: 227.9 kB / 0.9297 GB, free: 3.379 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004499/0.6488, allocations: 427 kB / 0.9301 GB, free: 2.961 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02307/0.6718, allocations: 9.696 MB / 0.9395 GB, free: 9.25 MB / 0.698 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.05715/0.729, allocations: 43.31 MB / 0.9818 GB, free: 12.67 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/0.7449, allocations: 7.977 MB / 0.9896 GB, free: 4.488 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006049/0.751, allocations: 3.075 MB / 0.9926 GB, free: 1.336 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.7523, allocations: 398.4 kB / 0.993 GB, free: 0.9453 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01386/0.7662, allocations: 6.321 MB / 0.9992 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003448/0.7696, allocations: 0.5653 MB / 0.9997 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=833): time 2.058e-05/0.7697, allocations: 0 / 0.9997 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of matching and sorting (n=834): time 0.4516/1.221, allocations: 52.79 MB / 1.051 GB, free: 225.6 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003034/1.222, allocations: 1.762 MB / 1.053 GB, free: 223.5 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/1.235, allocations: 6.954 MB / 1.06 GB, free: 221 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 0.001515/1.236, allocations: 99.48 kB / 1.06 GB, free: 220.9 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.002464/1.239, allocations: 3.179 MB / 1.063 GB, free: 218.7 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.002963/1.241, allocations: 2.865 MB / 1.066 GB, free: 216.8 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005069/1.247, allocations: 1.81 MB / 1.068 GB, free: 216.1 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 5.163e-05/1.247, allocations: 303.7 kB / 1.068 GB, free: 215.9 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007352/1.254, allocations: 4.039 MB / 1.072 GB, free: 214.2 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008887/1.263, allocations: 7.597 MB / 1.079 GB, free: 207.7 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1716/1.434, allocations: 52.05 MB / 1.13 GB, free: 162.1 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.43e-05/1.434, allocations: 22.19 kB / 1.13 GB, free: 162.1 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02684/1.461, allocations: 12.34 MB / 1.142 GB, free: 149.7 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 7.306e-05/1.461, allocations: 36 kB / 1.142 GB, free: 149.7 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.017/1.478, allocations: 9.473 MB / 1.151 GB, free: 140.2 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02262/1.501, allocations: 3.895 MB / 1.155 GB, free: 136.3 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008283/1.509, allocations: 2.398 MB / 1.158 GB, free: 133.9 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008791/1.518, allocations: 13.34 MB / 1.171 GB, free: 119.7 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007872/1.526, allocations: 0.508 MB / 1.171 GB, free: 119.2 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002178/1.528, allocations: 0.5388 MB / 1.172 GB, free: 118.7 MB / 0.7918 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.01246/1.541, allocations: 5.705 MB / 1.177 GB, free: 112.9 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009603/1.55, allocations: 7.541 MB / 1.185 GB, free: 104 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2047/1.755, allocations: 49.78 MB / 1.233 GB, free: 53.21 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.53e-05/1.755, allocations: 20 kB / 1.233 GB, free: 53.19 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.01862/1.774, allocations: 11.96 MB / 1.245 GB, free: 41.17 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/1.774, allocations: 36 kB / 1.245 GB, free: 41.13 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01277/1.786, allocations: 9.049 MB / 1.254 GB, free: 32.02 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/1.788, allocations: 0.6756 MB / 1.254 GB, free: 31.33 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005755/1.793, allocations: 2.395 MB / 1.257 GB, free: 28.93 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006992/1.8, allocations: 14.25 MB / 1.271 GB, free: 13.75 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005796/1.806, allocations: 0.5082 MB / 1.271 GB, free: 13.25 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001649/1.808, allocations: 0.5387 MB / 1.272 GB, free: 12.71 MB / 0.7918 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.002418/1.81, allocations: 0.7323 MB / 1.272 GB, free: 12.02 MB / 0.7918 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002362/1.812, allocations: 0.7798 MB / 1.273 GB, free: 11.23 MB / 0.7918 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.01355/1.826, allocations: 10.7 MB / 1.284 GB, free: 0.6289 MB / 0.7918 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.7032522382214665]