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.01467/0.01467, 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.001237/0.001237, allocations: 111.5 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.001508/0.001508, allocations: 207.9 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.519/1.519, allocations: 230.6 MB / 262.1 MB, free: 5.996 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.073/1.073, allocations: 130.7 MB / 449.6 MB, free: 6.594 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.03338/0.03338, allocations: 20.78 MB / 0.6362 GB, free: 4.605 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.2081, allocations: 81.9 MB / 0.7162 GB, free: 2.613 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.5855/0.7935, allocations: 61.13 MB / 0.7759 GB, free: 9.258 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05439/0.8479, allocations: 27.6 MB / 0.8029 GB, free: 5.246 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0157/0.8636, allocations: 146.9 kB / 0.803 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01372/0.8773, allocations: 3.115 MB / 0.8061 GB, free: 2.953 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02117/0.8985, allocations: 5.011 MB / 0.8109 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0157/0.9142, allocations: 5.088 MB / 0.8159 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02805/0.9423, allocations: 13.99 MB / 0.8296 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009338/0.9516, allocations: 4.178 MB / 0.8337 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01391/0.9655, allocations: 5.598 MB / 0.8391 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.9771, allocations: 5.94 MB / 0.8449 GB, free: 14.93 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.004791/0.9819, allocations: 0.9766 MB / 0.8459 GB, free: 13.96 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01294/0.9948, allocations: 4.346 MB / 0.8501 GB, free: 9.613 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.006613/1.001, allocations: 3.109 MB / 0.8532 GB, free: 6.5 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01158/1.013, allocations: 4.863 MB / 0.8579 GB, free: 1.613 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03419/1.047, allocations: 16.02 MB / 0.8735 GB, free: 1.539 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/1.047, allocations: 4 kB / 0.8736 GB, free: 1.535 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.004e-06/1.047, allocations: 0 / 0.8736 GB, free: 1.535 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0006874/1.048, allocations: 0 / 0.8736 GB, free: 1.535 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.03893/1.087, allocations: 11.25 MB / 0.8845 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.087, allocations: 8.031 kB / 0.8846 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005747/1.093, allocations: 1.13 MB / 0.8857 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01896/1.112, allocations: 7.514 MB / 0.893 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006026/1.112, allocations: 454.3 kB / 0.8934 GB, free: 13.08 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00222/1.114, allocations: 439.9 kB / 0.8938 GB, free: 12.65 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03171/1.146, allocations: 11.68 MB / 0.9052 GB, free: 15.89 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/1.146, allocations: 47.56 kB / 0.9053 GB, free: 15.85 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001222/1.147, allocations: 216 kB / 0.9055 GB, free: 15.64 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005201/1.148, allocations: 423 kB / 0.9059 GB, free: 15.23 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02884/1.177, allocations: 9.738 MB / 0.9154 GB, free: 5.5 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.07497/1.252, allocations: 46.38 MB / 0.9607 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02278/1.275, allocations: 7.985 MB / 0.9685 GB, free: 13.69 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007628/1.282, allocations: 3.082 MB / 0.9715 GB, free: 10.55 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001805/1.284, allocations: 430.2 kB / 0.9719 GB, free: 10.13 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01892/1.303, allocations: 6.324 MB / 0.9781 GB, free: 3.676 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00479/1.308, allocations: 0.5641 MB / 0.9786 GB, free: 3.109 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 2.525e-05/1.308, allocations: 0 / 0.9786 GB, free: 3.109 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1079/1.416, allocations: 52.8 MB / 1.03 GB, free: 13.98 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00111/1.417, allocations: 1.761 MB / 1.032 GB, free: 11.81 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01556/1.432, allocations: 6.895 MB / 1.039 GB, free: 4.945 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.002106/1.434, allocations: 97.7 kB / 1.039 GB, free: 4.844 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003894/1.438, allocations: 3.186 MB / 1.042 GB, free: 1.637 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004494/1.443, allocations: 2.869 MB / 1.045 GB, free: 14.74 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003951/1.447, allocations: 1.818 MB / 1.046 GB, free: 12.91 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.447, allocations: 309.1 kB / 1.047 GB, free: 12.61 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008583/1.455, allocations: 4.034 MB / 1.051 GB, free: 8.562 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01324/1.469, allocations: 6.665 MB / 1.057 GB, free: 0.832 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7031/2.172, allocations: 52.02 MB / 1.108 GB, free: 320.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-05/2.172, allocations: 20 kB / 1.108 GB, free: 320.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02524/2.197, allocations: 12.34 MB / 1.12 GB, free: 308.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.529e-05/2.197, allocations: 36 kB / 1.12 GB, free: 308.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01879/2.216, allocations: 9.467 MB / 1.129 GB, free: 299 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04325/2.259, allocations: 3.896 MB / 1.133 GB, free: 295.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008866/2.268, allocations: 2.401 MB / 1.135 GB, free: 292.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/2.279, allocations: 13.43 MB / 1.149 GB, free: 278.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00877/2.287, allocations: 0.5073 MB / 1.149 GB, free: 278 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002362/2.29, allocations: 0.5426 MB / 1.15 GB, free: 277.5 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.01308/2.303, allocations: 5.705 MB / 1.155 GB, free: 271.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009044/2.312, allocations: 6.604 MB / 1.162 GB, free: 264 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2997/2.611, allocations: 49.78 MB / 1.21 GB, free: 213.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.667e-05/2.612, allocations: 20 kB / 1.21 GB, free: 213.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02837/2.64, allocations: 11.96 MB / 1.222 GB, free: 201.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 7.946e-05/2.64, allocations: 36 kB / 1.222 GB, free: 201.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02069/2.661, allocations: 9.055 MB / 1.231 GB, free: 192.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/2.663, allocations: 0.6668 MB / 1.231 GB, free: 191.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009332/2.672, allocations: 2.395 MB / 1.234 GB, free: 189.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/2.683, allocations: 14.33 MB / 1.248 GB, free: 174.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009256/2.693, allocations: 0.5119 MB / 1.248 GB, free: 173.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002334/2.695, allocations: 0.5426 MB / 1.249 GB, free: 173.2 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.004186/2.699, allocations: 0.7251 MB / 1.25 GB, free: 172.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003767/2.703, allocations: 0.7816 MB / 1.25 GB, free: 172 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.0225/2.726, allocations: 10.66 MB / 1.261 GB, free: 161.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.712059372999647] Failed to read output from testmodel.py, exit status != 0: 2.9012405020002916 2.910783576 1.860949896 Calling exit ...