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.01616/0.01616, 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.001337/0.001337, allocations: 109.9 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.001616/0.001616, allocations: 206.6 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.479/1.479, allocations: 230.6 MB / 262.1 MB, free: 6.004 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.074/1.074, allocations: 130.7 MB / 449.7 MB, free: 6.605 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: 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.03513/0.03513, allocations: 20.78 MB / 0.6358 GB, free: 5.145 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.2002, allocations: 81.9 MB / 0.7157 GB, free: 3.141 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_BU_simple): time 0.5429/0.7431, allocations: 61.14 MB / 0.7754 GB, free: 9.387 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04836/0.7915, allocations: 27.6 MB / 0.8024 GB, free: 5.43 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008893/0.8004, allocations: 151.2 kB / 0.8025 GB, free: 5.359 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009828/0.8102, allocations: 3.106 MB / 0.8056 GB, free: 3.145 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01654/0.8267, allocations: 5.013 MB / 0.8105 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01447/0.8412, allocations: 5.086 MB / 0.8154 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02527/0.8665, allocations: 13.99 MB / 0.8291 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0097/0.8762, allocations: 4.17 MB / 0.8332 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01299/0.8892, allocations: 5.599 MB / 0.8386 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01234/0.9015, allocations: 5.943 MB / 0.8444 GB, free: 15.32 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.005102/0.9066, allocations: 0.9766 MB / 0.8454 GB, free: 14.34 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/0.9191, allocations: 4.351 MB / 0.8496 GB, free: 10 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.006396/0.9255, allocations: 3.106 MB / 0.8527 GB, free: 6.887 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01301/0.9385, allocations: 4.871 MB / 0.8574 GB, free: 1.992 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03887/0.9774, allocations: 16.01 MB / 0.8731 GB, free: 1.922 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/0.9774, allocations: 2.656 kB / 0.8731 GB, free: 1.922 MB / 0.6388 GB Notification: Performance of FrontEnd: time 3.075e-06/0.9774, allocations: 0 / 0.8731 GB, free: 1.922 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0006527/0.9781, allocations: 0 / 0.8731 GB, free: 1.922 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: 1685 * Number of variables: 1685 Notification: Performance of Generate backend data structure: time 0.03506/1.013, allocations: 11.26 MB / 0.8841 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/1.013, allocations: 8.031 kB / 0.8841 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002597/1.016, allocations: 0.7944 MB / 0.8849 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004893/1.021, allocations: 1.126 MB / 0.886 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01975/1.04, allocations: 7.504 MB / 0.8933 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006149/1.041, allocations: 464.9 kB / 0.8937 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/1.043, allocations: 435.9 kB / 0.8941 GB, free: 12.23 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03051/1.073, allocations: 11.68 MB / 0.9055 GB, free: 15.47 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/1.073, allocations: 43.56 kB / 0.9056 GB, free: 15.43 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008943/1.074, allocations: 226.6 kB / 0.9058 GB, free: 15.21 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005215/1.075, allocations: 419 kB / 0.9062 GB, free: 14.8 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03075/1.106, allocations: 9.742 MB / 0.9157 GB, free: 5.074 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.08016/1.186, allocations: 46.36 MB / 0.961 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02471/1.211, allocations: 7.99 MB / 0.9688 GB, free: 13.27 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007947/1.218, allocations: 3.084 MB / 0.9718 GB, free: 10.12 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002088/1.221, allocations: 428.9 kB / 0.9722 GB, free: 9.715 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02037/1.241, allocations: 6.331 MB / 0.9784 GB, free: 3.25 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004022/1.245, allocations: 0.5721 MB / 0.979 GB, free: 2.676 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 1.948e-05/1.245, allocations: 0 / 0.979 GB, free: 2.676 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1106/1.356, allocations: 52.78 MB / 1.031 GB, free: 13.57 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001211/1.357, allocations: 1.765 MB / 1.032 GB, free: 11.39 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01431/1.371, allocations: 6.891 MB / 1.039 GB, free: 4.531 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001788/1.373, allocations: 101.7 kB / 1.039 GB, free: 4.426 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003502/1.376, allocations: 3.195 MB / 1.042 GB, free: 1.207 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004629/1.381, allocations: 2.869 MB / 1.045 GB, free: 14.31 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003788/1.385, allocations: 1.813 MB / 1.047 GB, free: 12.48 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.385, allocations: 304.9 kB / 1.047 GB, free: 12.19 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008379/1.393, allocations: 4.041 MB / 1.051 GB, free: 8.137 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/1.405, allocations: 6.664 MB / 1.057 GB, free: 412 kB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6474/2.053, allocations: 52.02 MB / 1.108 GB, free: 320.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.815e-05/2.053, allocations: 24 kB / 1.108 GB, free: 320 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02674/2.079, allocations: 12.32 MB / 1.12 GB, free: 308.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/2.079, allocations: 43.97 kB / 1.12 GB, free: 308.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02/2.099, allocations: 9.473 MB / 1.13 GB, free: 298.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04324/2.143, allocations: 3.892 MB / 1.133 GB, free: 294.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009015/2.152, allocations: 2.406 MB / 1.136 GB, free: 292.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/2.162, allocations: 13.42 MB / 1.149 GB, free: 278.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008438/2.171, allocations: 0.5052 MB / 1.149 GB, free: 277.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001892/2.173, allocations: 0.5464 MB / 1.15 GB, free: 277.1 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.01067/2.183, allocations: 5.702 MB / 1.155 GB, free: 271.4 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008063/2.191, allocations: 6.608 MB / 1.162 GB, free: 263.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3011/2.493, allocations: 49.78 MB / 1.211 GB, free: 212.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.337e-05/2.493, allocations: 20 kB / 1.211 GB, free: 212.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.03039/2.523, allocations: 11.96 MB / 1.222 GB, free: 201.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/2.523, allocations: 37.28 kB / 1.222 GB, free: 201.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01776/2.541, allocations: 9.054 MB / 1.231 GB, free: 192.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/2.543, allocations: 0.6694 MB / 1.232 GB, free: 191.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008669/2.551, allocations: 2.398 MB / 1.234 GB, free: 189 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/2.562, allocations: 14.33 MB / 1.248 GB, free: 173.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007931/2.57, allocations: 0.5195 MB / 1.249 GB, free: 173.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001905/2.572, allocations: 0.5424 MB / 1.249 GB, free: 172.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: 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.002862/2.575, allocations: 0.7253 MB / 1.25 GB, free: 172.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002933/2.577, allocations: 0.7815 MB / 1.251 GB, free: 171.6 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 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.01799/2.595, allocations: 10.65 MB / 1.261 GB, free: 161.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.513262948952615] Failed to read output from testmodel.py, exit status != 0: 2.767493313876912 2.777839615 1.797685446 Calling exit ...