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.01478/0.01478, allocations: 1.76 MB / 21.38 MB, free: 0.5703 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.001468/0.001468, allocations: 108.1 kB / 24.98 MB, free: 2.176 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.001797/0.001797, allocations: 207.2 kB / 28.71 MB, free: 3.453 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.413/1.413, allocations: 230.6 MB / 262.9 MB, free: 6.02 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.054/1.054, allocations: 130.7 MB / 450.4 MB, free: 6.586 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.03166/0.03166, allocations: 20.61 MB / 0.6368 GB, free: 4.816 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1977, allocations: 81.9 MB / 0.7168 GB, free: 2.82 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.4942/0.6919, allocations: 61.13 MB / 0.7765 GB, free: 9.391 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04723/0.7392, allocations: 27.6 MB / 0.8035 GB, free: 5.387 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01093/0.7501, allocations: 147.5 kB / 0.8036 GB, free: 5.32 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.7604, allocations: 3.114 MB / 0.8066 GB, free: 3.094 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01887/0.7793, allocations: 5.011 MB / 0.8115 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01518/0.7945, allocations: 5.081 MB / 0.8165 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02487/0.8193, allocations: 13.99 MB / 0.8302 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009563/0.8289, allocations: 4.174 MB / 0.8342 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.8421, allocations: 5.595 MB / 0.8397 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01262/0.8547, allocations: 5.939 MB / 0.8455 GB, free: 15.09 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.00445/0.8591, allocations: 0.9766 MB / 0.8465 GB, free: 14.11 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/0.8719, allocations: 4.349 MB / 0.8507 GB, free: 9.766 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.006555/0.8785, allocations: 3.106 MB / 0.8537 GB, free: 6.652 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01244/0.8909, allocations: 4.87 MB / 0.8585 GB, free: 1.762 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03361/0.9245, allocations: 16.01 MB / 0.8741 GB, free: 1.691 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9245, allocations: 0 / 0.8741 GB, free: 1.691 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9245, allocations: 2.656 kB / 0.8741 GB, free: 1.691 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005531/0.9251, allocations: 0 / 0.8741 GB, free: 1.691 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.03546/0.9605, allocations: 11.26 MB / 0.8851 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.9606, allocations: 8.031 kB / 0.8851 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005407/0.966, allocations: 1.126 MB / 0.8862 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02082/0.9868, allocations: 7.514 MB / 0.8936 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005726/0.9874, allocations: 455.5 kB / 0.894 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001937/0.9893, allocations: 442.6 kB / 0.8944 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03069/1.02, allocations: 11.68 MB / 0.9058 GB, free: 48 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/1.02, allocations: 46.28 kB / 0.9059 GB, free: 4 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000727/1.021, allocations: 220 kB / 0.9061 GB, free: 15.79 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004966/1.021, allocations: 424.5 kB / 0.9065 GB, free: 15.38 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0289/1.05, allocations: 9.732 MB / 0.916 GB, free: 5.652 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.0787/1.129, allocations: 46.37 MB / 0.9613 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02495/1.154, allocations: 7.993 MB / 0.9691 GB, free: 13.84 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008984/1.163, allocations: 3.079 MB / 0.9721 GB, free: 10.7 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002221/1.165, allocations: 426.2 kB / 0.9725 GB, free: 10.29 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02102/1.186, allocations: 6.328 MB / 0.9787 GB, free: 3.832 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003867/1.19, allocations: 0.5731 MB / 0.9792 GB, free: 3.254 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 2.146e-05/1.19, allocations: 2.656 kB / 0.9792 GB, free: 3.254 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1238/1.314, allocations: 52.78 MB / 1.031 GB, free: 14.14 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001609/1.315, allocations: 1.769 MB / 1.033 GB, free: 11.96 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01517/1.331, allocations: 6.887 MB / 1.039 GB, free: 5.105 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001876/1.333, allocations: 101.7 kB / 1.039 GB, free: 5 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003756/1.336, allocations: 3.197 MB / 1.042 GB, free: 1.781 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004643/1.341, allocations: 2.872 MB / 1.045 GB, free: 14.89 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00359/1.345, allocations: 1.811 MB / 1.047 GB, free: 13.06 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.345, allocations: 305.1 kB / 1.047 GB, free: 12.76 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008571/1.353, allocations: 4.041 MB / 1.051 GB, free: 8.711 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01163/1.365, allocations: 6.661 MB / 1.058 GB, free: 0.9805 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6652/2.03, allocations: 52.03 MB / 1.109 GB, free: 320.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.151e-05/2.03, allocations: 20 kB / 1.109 GB, free: 320.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02681/2.057, allocations: 12.33 MB / 1.121 GB, free: 308.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.474e-05/2.057, allocations: 36 kB / 1.121 GB, free: 308.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.021/2.078, allocations: 9.474 MB / 1.13 GB, free: 299.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04154/2.119, allocations: 3.887 MB / 1.134 GB, free: 295.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00926/2.129, allocations: 2.41 MB / 1.136 GB, free: 292.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/2.139, allocations: 13.42 MB / 1.149 GB, free: 278.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008384/2.147, allocations: 0.5162 MB / 1.15 GB, free: 278.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002125/2.149, allocations: 0.5465 MB / 1.15 GB, free: 277.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01173/2.161, allocations: 5.696 MB / 1.156 GB, free: 271.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008688/2.17, allocations: 6.6 MB / 1.162 GB, free: 264.2 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3011/2.471, allocations: 49.78 MB / 1.211 GB, free: 213.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.197e-05/2.471, allocations: 20 kB / 1.211 GB, free: 213.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02522/2.496, allocations: 11.95 MB / 1.223 GB, free: 201.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/2.496, allocations: 37.72 kB / 1.223 GB, free: 201.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01768/2.514, allocations: 9.066 MB / 1.231 GB, free: 192.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/2.516, allocations: 0.662 MB / 1.232 GB, free: 192 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008842/2.525, allocations: 2.398 MB / 1.234 GB, free: 189.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/2.535, allocations: 14.33 MB / 1.248 GB, free: 174.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008102/2.543, allocations: 0.5196 MB / 1.249 GB, free: 173.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002046/2.545, allocations: 0.5387 MB / 1.249 GB, free: 173.3 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.002829/2.548, allocations: 0.7232 MB / 1.25 GB, free: 172.7 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002459/2.551, allocations: 0.7856 MB / 1.251 GB, free: 172.2 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.02066/2.571, allocations: 10.65 MB / 1.261 GB, free: 161.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.456337750074454] Failed to read output from testmodel.py, exit status != 0: 2.736345813027583 2.745947714 1.818685743 Calling exit ...