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.01059/0.01059, allocations: 1.757 MB / 20.59 MB, free: 1.277 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.001271/0.001271, allocations: 108.1 kB / 24.19 MB, free: 2.656 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.001587/0.001587, allocations: 209 kB / 27.92 MB, free: 4.004 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.485/1.485, 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.107/1.107, allocations: 130.7 MB / 449.7 MB, free: 6.559 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: 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_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_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.03358/0.03358, allocations: 20.79 MB / 0.6363 GB, free: 4.625 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2449, allocations: 81.89 MB / 0.7162 GB, free: 2.629 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.5402/0.7851, allocations: 61.13 MB / 0.7759 GB, free: 9.543 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05496/0.8401, allocations: 27.6 MB / 0.8029 GB, free: 5.473 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01172/0.8518, allocations: 148.2 kB / 0.803 GB, free: 5.406 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01212/0.8639, allocations: 3.121 MB / 0.8061 GB, free: 3.176 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02347/0.8874, allocations: 4.998 MB / 0.811 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01693/0.9043, allocations: 5.094 MB / 0.8159 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02632/0.9306, allocations: 13.99 MB / 0.8296 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.9408, allocations: 4.17 MB / 0.8337 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01397/0.9547, allocations: 5.598 MB / 0.8391 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01344/0.9682, allocations: 5.952 MB / 0.8449 GB, free: 15.09 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.005431/0.9736, allocations: 0.9766 MB / 0.8459 GB, free: 14.11 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01506/0.9887, allocations: 4.34 MB / 0.8501 GB, free: 9.773 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.007237/0.9959, allocations: 3.102 MB / 0.8532 GB, free: 6.664 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01246/1.008, allocations: 4.871 MB / 0.8579 GB, free: 1.77 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03527/1.044, allocations: 16.03 MB / 0.8736 GB, free: 1.691 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/1.044, allocations: 0 / 0.8736 GB, free: 1.691 MB / 0.6388 GB Notification: Performance of FrontEnd: time 3.096e-06/1.044, allocations: 0 / 0.8736 GB, free: 1.691 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0006601/1.044, allocations: 0 / 0.8736 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.03487/1.079, allocations: 11.25 MB / 0.8846 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/1.079, allocations: 12.03 kB / 0.8846 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005759/1.085, allocations: 1.127 MB / 0.8857 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02061/1.106, allocations: 7.511 MB / 0.893 GB, free: 13.71 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005674/1.106, allocations: 459.6 kB / 0.8934 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001766/1.108, allocations: 435.9 kB / 0.8939 GB, free: 12.81 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03001/1.138, allocations: 11.68 MB / 0.9053 GB, free: 56 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001267/1.138, allocations: 43.56 kB / 0.9053 GB, free: 12 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008456/1.139, allocations: 220 kB / 0.9055 GB, free: 15.8 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000509/1.139, allocations: 419.1 kB / 0.9059 GB, free: 15.39 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02882/1.168, allocations: 9.746 MB / 0.9154 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.07949/1.248, allocations: 46.37 MB / 0.9607 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02391/1.272, allocations: 7.982 MB / 0.9685 GB, free: 13.86 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007877/1.28, allocations: 3.08 MB / 0.9715 GB, free: 10.71 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002101/1.282, allocations: 436.7 kB / 0.9719 GB, free: 10.29 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02175/1.303, allocations: 6.323 MB / 0.9781 GB, free: 3.836 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005745/1.309, allocations: 0.5717 MB / 0.9787 GB, free: 3.262 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 3.249e-05/1.309, allocations: 0 / 0.9787 GB, free: 3.262 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1307/1.44, allocations: 52.79 MB / 1.03 GB, free: 14.15 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009968/1.441, allocations: 1.765 MB / 1.032 GB, free: 11.97 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01373/1.455, allocations: 6.887 MB / 1.039 GB, free: 5.113 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001768/1.456, allocations: 108.3 kB / 1.039 GB, free: 5.004 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003417/1.46, allocations: 3.191 MB / 1.042 GB, free: 1.789 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004201/1.464, allocations: 2.869 MB / 1.045 GB, free: 14.89 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003831/1.468, allocations: 1.811 MB / 1.046 GB, free: 13.07 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.468, allocations: 310.3 kB / 1.047 GB, free: 12.77 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008223/1.476, allocations: 4.041 MB / 1.051 GB, free: 8.715 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/1.488, allocations: 6.659 MB / 1.057 GB, free: 0.9883 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7502/2.239, allocations: 52.02 MB / 1.108 GB, free: 320.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-05/2.239, allocations: 20 kB / 1.108 GB, free: 320.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.03174/2.27, allocations: 12.34 MB / 1.12 GB, free: 308.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/2.27, allocations: 36 kB / 1.12 GB, free: 308.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02299/2.293, allocations: 9.476 MB / 1.129 GB, free: 299.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04738/2.341, allocations: 3.894 MB / 1.133 GB, free: 295.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009447/2.35, allocations: 2.402 MB / 1.136 GB, free: 293.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/2.362, allocations: 13.42 MB / 1.149 GB, free: 278.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008553/2.37, allocations: 0.5092 MB / 1.149 GB, free: 278.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001956/2.372, allocations: 0.5465 MB / 1.15 GB, free: 277.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01181/2.384, allocations: 5.707 MB / 1.155 GB, free: 272.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008717/2.393, allocations: 6.6 MB / 1.162 GB, free: 264.4 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3196/2.712, allocations: 49.77 MB / 1.21 GB, free: 213.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.85e-05/2.712, allocations: 20 kB / 1.21 GB, free: 213.6 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02843/2.741, allocations: 11.96 MB / 1.222 GB, free: 202 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.755e-05/2.741, allocations: 36 kB / 1.222 GB, free: 202 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02004/2.761, allocations: 9.051 MB / 1.231 GB, free: 192.9 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/2.763, allocations: 0.6788 MB / 1.232 GB, free: 192.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009843/2.773, allocations: 2.391 MB / 1.234 GB, free: 189.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/2.785, allocations: 14.33 MB / 1.248 GB, free: 174.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008806/2.793, allocations: 0.5215 MB / 1.248 GB, free: 174.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002339/2.796, allocations: 0.5387 MB / 1.249 GB, free: 173.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.004776/2.8, allocations: 0.7229 MB / 1.25 GB, free: 172.9 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004015/2.805, allocations: 0.7816 MB / 1.25 GB, free: 172.4 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.02273/2.827, allocations: 10.65 MB / 1.261 GB, free: 162.1 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.784100305056199] Failed to read output from testmodel.py, exit status != 0: 2.985873717116192 2.997218502 1.950630697 Calling exit ...