Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.009966/0.009966, allocations: 1.773 MB / 18.82 MB, free: 4.246 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.001119/0.001119, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.001564/0.001564, allocations: 211.2 kB / 25.45 MB, free: 3.254 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.462/1.462, allocations: 230.6 MB / 259.2 MB, free: 13.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.098/1.098, allocations: 130.6 MB / 446.3 MB, free: 14.58 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,variableFilter="PI.I.y|PI.resetValueI|PI.resetValueID|PI.resetValueP|PI.smoothPIDInput.y_aux|PI.smoothPIDOutput.y_aux|PI.smoothPIDOutput1.y_aux|Time|hex.shell.h_liq|hex.shell.h_vap|hex.shell.p_vap|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") [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.4169/0.4169, allocations: 46.14 MB / 0.6557 GB, free: 30.71 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.6144, allocations: 89.05 MB / 0.7426 GB, free: 2.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple): time 0.03254/0.647, allocations: 28.14 MB / 0.7701 GB, free: 6.086 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04963/0.6966, allocations: 27.28 MB / 0.7967 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008656/0.7052, allocations: 150.9 kB / 0.7969 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009271/0.7145, allocations: 3.039 MB / 0.7998 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01548/0.73, allocations: 4.908 MB / 0.8046 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01394/0.7439, allocations: 4.958 MB / 0.8095 GB, free: 13.64 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02385/0.7678, allocations: 13.97 MB / 0.8231 GB, free: 15.63 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.7787, allocations: 4.33 MB / 0.8273 GB, free: 11.24 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01333/0.7921, allocations: 5.591 MB / 0.8328 GB, free: 5.629 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01217/0.8042, allocations: 5.903 MB / 0.8386 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00413/0.8084, allocations: 0.9766 MB / 0.8395 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0112/0.8196, allocations: 4.051 MB / 0.8435 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005906/0.8255, allocations: 3.107 MB / 0.8465 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01137/0.8368, allocations: 4.863 MB / 0.8513 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02989/0.8667, allocations: 15.91 MB / 0.8668 GB, free: 2.699 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.8667, allocations: 3.984 kB / 0.8668 GB, free: 2.695 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8667, allocations: 4 kB / 0.8668 GB, free: 2.691 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005393/0.8673, allocations: 0 / 0.8668 GB, free: 2.691 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.4654/1.333, allocations: 10.1 MB / 0.8767 GB, free: 110.3 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.333, allocations: 11.25 kB / 0.8767 GB, free: 110.3 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005381/1.338, allocations: 1.126 MB / 0.8778 GB, free: 109.8 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/1.356, allocations: 7.696 MB / 0.8853 GB, free: 106.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/1.356, allocations: 401.9 kB / 0.8857 GB, free: 106.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/1.357, allocations: 442.1 kB / 0.8861 GB, free: 106.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02541/1.383, allocations: 11.69 MB / 0.8975 GB, free: 99.11 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/1.383, allocations: 45.22 kB / 0.8976 GB, free: 99.11 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006789/1.383, allocations: 220 kB / 0.8978 GB, free: 98.97 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004672/1.384, allocations: 424.9 kB / 0.8982 GB, free: 98.86 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/1.413, allocations: 9.739 MB / 0.9077 GB, free: 94.22 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.06734/1.48, allocations: 46.76 MB / 0.9534 GB, free: 53.87 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02167/1.502, allocations: 8.135 MB / 0.9613 GB, free: 49.28 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007047/1.509, allocations: 3.086 MB / 0.9643 GB, free: 47.48 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002052/1.511, allocations: 0.8688 MB / 0.9652 GB, free: 46.79 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.018/1.529, allocations: 6.328 MB / 0.9713 GB, free: 40.38 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004874/1.534, allocations: 0.5679 MB / 0.9719 GB, free: 39.81 MB / 0.67 GB Notification: Performance of pre-optimization done (n=833): time 3.2e-05/1.534, allocations: 0 / 0.9719 GB, free: 39.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=834): time 0.1087/1.642, allocations: 53.33 MB / 1.024 GB, free: 2.094 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001044/1.643, allocations: 1.754 MB / 1.026 GB, free: 15.94 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01418/1.658, allocations: 6.895 MB / 1.032 GB, free: 9.074 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001992/1.66, allocations: 103.6 kB / 1.033 GB, free: 8.969 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.003301/1.663, allocations: 3.187 MB / 1.036 GB, free: 5.785 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.004729/1.668, allocations: 2.862 MB / 1.038 GB, free: 2.965 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003631/1.671, allocations: 1.822 MB / 1.04 GB, free: 1.129 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.671, allocations: 301.1 kB / 1.041 GB, free: 0.832 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007917/1.679, allocations: 4.034 MB / 1.044 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01069/1.69, allocations: 6.672 MB / 1.051 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3503/2.04, allocations: 52.02 MB / 1.102 GB, free: 0.6289 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.672e-05/2.04, allocations: 20 kB / 1.102 GB, free: 0.6094 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.03116/2.071, allocations: 12.34 MB / 1.114 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/2.072, allocations: 37 kB / 1.114 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02213/2.094, allocations: 9.471 MB / 1.123 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04357/2.137, allocations: 3.904 MB / 1.127 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/2.148, allocations: 2.398 MB / 1.129 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/2.163, allocations: 14.14 MB / 1.143 GB, free: 5.254 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008945/2.172, allocations: 0.5034 MB / 1.144 GB, free: 4.75 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002032/2.174, allocations: 0.5426 MB / 1.144 GB, free: 4.207 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.01233/2.186, allocations: 5.709 MB / 1.15 GB, free: 14.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01045/2.197, allocations: 6.604 MB / 1.156 GB, free: 6.75 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7191/2.916, allocations: 49.76 MB / 1.205 GB, free: 275.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.866e-05/2.916, allocations: 22.34 kB / 1.205 GB, free: 275.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02538/2.941, allocations: 11.96 MB / 1.216 GB, free: 271.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-05/2.941, allocations: 36.44 kB / 1.216 GB, free: 271.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01929/2.961, allocations: 9.054 MB / 1.225 GB, free: 268.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/2.963, allocations: 0.6695 MB / 1.226 GB, free: 268.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009876/2.973, allocations: 2.394 MB / 1.228 GB, free: 268.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/2.985, allocations: 15.16 MB / 1.243 GB, free: 254.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008579/2.993, allocations: 0.511 MB / 1.244 GB, free: 254.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001991/2.995, allocations: 0.5404 MB / 1.244 GB, free: 254.6 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.002451/2.998, allocations: 0.7218 MB / 1.245 GB, free: 254.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002693/3, allocations: 0.7854 MB / 1.246 GB, free: 254.2 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.01664/3.017, allocations: 10.65 MB / 1.256 GB, free: 250.2 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.620636345993262] Failed to read output from testmodel.py, exit status != 0: 3.0255488399998285 3.033458418 2.164279014 Calling exit ...