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.01255/0.01255, allocations: 1.75 MB / 20.6 MB, free: 1.027 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.001589/0.001589, allocations: 96.27 kB / 24.18 MB, free: 2.465 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.002048/0.002048, allocations: 214.9 kB / 27.9 MB, free: 3.77 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.431/1.431, allocations: 230.6 MB / 262.1 MB, free: 5.836 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.075/1.075, allocations: 130.7 MB / 449.6 MB, free: 6.41 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: 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.06467/0.06467, allocations: 20.99 MB / 0.6363 GB, free: 4.191 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.2328, allocations: 81.89 MB / 0.7163 GB, free: 2.207 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.5497/0.7826, allocations: 57.44 MB / 0.7724 GB, free: 12.57 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04622/0.8288, allocations: 26.38 MB / 0.7982 GB, free: 9.82 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00909/0.8379, allocations: 151.4 kB / 0.7983 GB, free: 9.75 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008985/0.8469, allocations: 2.957 MB / 0.8012 GB, free: 7.66 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01663/0.8635, allocations: 5.017 MB / 0.8061 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01474/0.8782, allocations: 5.077 MB / 0.8111 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02225/0.9005, allocations: 13.98 MB / 0.8247 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009192/0.9097, allocations: 4.384 MB / 0.829 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01184/0.9215, allocations: 5.611 MB / 0.8345 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0115/0.933, allocations: 5.635 MB / 0.84 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004151/0.9372, allocations: 0.9766 MB / 0.8409 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.9482, allocations: 3.196 MB / 0.844 GB, free: 15.08 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005803/0.954, allocations: 3.086 MB / 0.8471 GB, free: 11.99 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01046/0.9645, allocations: 3.822 MB / 0.8508 GB, free: 8.148 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03088/0.9953, allocations: 15.81 MB / 0.8662 GB, free: 8.289 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.9954, allocations: 4 kB / 0.8662 GB, free: 8.285 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9954, allocations: 3.938 kB / 0.8662 GB, free: 8.281 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005175/0.9959, allocations: 0 / 0.8662 GB, free: 8.281 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.03497/1.031, allocations: 11.25 MB / 0.8772 GB, free: 13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.031, allocations: 14.69 kB / 0.8772 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/1.036, allocations: 1.126 MB / 0.8783 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02098/1.057, allocations: 7.67 MB / 0.8858 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000682/1.058, allocations: 451.6 kB / 0.8863 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002044/1.06, allocations: 439.9 kB / 0.8867 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03551/1.095, allocations: 13.6 MB / 0.9 GB, free: 4.016 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002783/1.096, allocations: 50.19 kB / 0.9 GB, free: 3.969 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00202/1.098, allocations: 216 kB / 0.9002 GB, free: 3.758 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007043/1.098, allocations: 423.1 kB / 0.9006 GB, free: 3.344 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02902/1.127, allocations: 9.693 MB / 0.9101 GB, free: 9.656 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.07242/1.2, allocations: 42.6 MB / 0.9517 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02401/1.224, allocations: 7.967 MB / 0.9595 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007579/1.231, allocations: 3.08 MB / 0.9625 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001921/1.233, allocations: 391.6 kB / 0.9628 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01878/1.252, allocations: 6.325 MB / 0.969 GB, free: 11.76 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003715/1.256, allocations: 0.5524 MB / 0.9696 GB, free: 11.21 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 2.693e-05/1.256, allocations: 1.531 kB / 0.9696 GB, free: 11.21 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1222/1.378, allocations: 52.78 MB / 1.021 GB, free: 6.098 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001165/1.379, allocations: 1.762 MB / 1.023 GB, free: 3.922 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/1.394, allocations: 6.807 MB / 1.029 GB, free: 13.14 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001721/1.395, allocations: 101.7 kB / 1.03 GB, free: 13.03 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003822/1.399, allocations: 3.21 MB / 1.033 GB, free: 9.797 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004754/1.404, allocations: 2.862 MB / 1.035 GB, free: 6.91 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00413/1.408, allocations: 1.811 MB / 1.037 GB, free: 5.086 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.408, allocations: 301.1 kB / 1.038 GB, free: 4.789 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00912/1.417, allocations: 4.045 MB / 1.042 GB, free: 0.7305 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01426/1.432, allocations: 7.597 MB / 1.049 GB, free: 7.77 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.672/2.104, allocations: 52.04 MB / 1.1 GB, free: 326.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.705e-05/2.104, allocations: 20 kB / 1.1 GB, free: 326.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02925/2.133, allocations: 12.32 MB / 1.112 GB, free: 314.4 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/2.133, allocations: 41.41 kB / 1.112 GB, free: 314.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01972/2.153, allocations: 9.47 MB / 1.121 GB, free: 304.8 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04049/2.193, allocations: 3.887 MB / 1.125 GB, free: 301 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009622/2.203, allocations: 2.404 MB / 1.127 GB, free: 298.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/2.214, allocations: 13.2 MB / 1.14 GB, free: 284.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007969/2.222, allocations: 0.503 MB / 1.141 GB, free: 284.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00198/2.224, allocations: 0.5486 MB / 1.141 GB, free: 283.7 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.0122/2.236, allocations: 5.71 MB / 1.147 GB, free: 277.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009319/2.245, allocations: 7.533 MB / 1.154 GB, free: 269 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3017/2.547, allocations: 49.79 MB / 1.203 GB, free: 218.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001169/2.547, allocations: 20 kB / 1.203 GB, free: 218.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02825/2.575, allocations: 11.95 MB / 1.214 GB, free: 206.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 9.647e-05/2.575, allocations: 37 kB / 1.214 GB, free: 206.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01961/2.595, allocations: 9.052 MB / 1.223 GB, free: 197.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/2.597, allocations: 0.6632 MB / 1.224 GB, free: 196.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008856/2.606, allocations: 2.395 MB / 1.226 GB, free: 194.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/2.617, allocations: 14.08 MB / 1.24 GB, free: 179.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008217/2.625, allocations: 0.5159 MB / 1.24 GB, free: 179.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/2.627, allocations: 0.5348 MB / 1.241 GB, free: 178.6 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.003793/2.631, allocations: 0.7264 MB / 1.242 GB, free: 177.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003491/2.635, allocations: 0.7766 MB / 1.242 GB, free: 177.5 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.02145/2.656, allocations: 10.67 MB / 1.253 GB, free: 167.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.517917613964528] Failed to read output from testmodel.py, exit status != 0: 2.814300974365324 2.825584958 1.827548621 Calling exit ...