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.006086/0.006086, allocations: 1.439 MB / 21.29 MB, free: 3.258 MB / 18.57 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.0007103/0.0007103, allocations: 90.14 kB / 24.91 MB, free: 7.27 MB / 18.57 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.001219/0.001219, allocations: 165.3 kB / 28.62 MB, free: 4.457 MB / 18.57 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 0.8698/0.8698, allocations: 177.2 MB / 209.4 MB, free: 2.977 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7267/0.7267, allocations: 102.4 MB / 368.7 MB, free: 1.453 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5374 GB, free: 39.75 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.493e-05, allocations: 5.234 kB / 0.5374 GB, free: 39.74 MB / 490.8 MB 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.1217/0.1217, allocations: 71.09 MB / 0.6068 GB, free: 4.863 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03236/0.1541, allocations: 26.09 MB / 0.6323 GB, free: 10.68 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004872/0.159, allocations: 150.9 kB / 0.6325 GB, free: 10.54 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004696/0.1637, allocations: 2.972 MB / 0.6354 GB, free: 7.547 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009476/0.1731, allocations: 5.162 MB / 0.6404 GB, free: 2.355 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008173/0.1813, allocations: 5.129 MB / 0.6454 GB, free: 13.21 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01496/0.1963, allocations: 14.32 MB / 0.6594 GB, free: 14.85 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006475/0.2027, allocations: 4.411 MB / 0.6637 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01116/0.2139, allocations: 7.636 MB / 0.6712 GB, free: 2.723 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006106/0.22, allocations: 5.055 MB / 0.6761 GB, free: 13.66 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001482/0.2215, allocations: 0.9805 MB / 0.6771 GB, free: 12.68 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006146/0.2276, allocations: 3.236 MB / 0.6802 GB, free: 9.434 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002168/0.2298, allocations: 3.15 MB / 0.6833 GB, free: 6.273 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.003075/0.2329, allocations: 3.176 MB / 0.6864 GB, free: 3.09 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.2486, allocations: 15.9 MB / 0.7019 GB, free: 3.141 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2486, allocations: 0 / 0.7019 GB, free: 3.141 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2486, allocations: 4 kB / 0.7019 GB, free: 3.137 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0002532/0.2488, allocations: 0 / 0.7019 GB, free: 3.137 MB / 0.5887 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.01771/0.2665, allocations: 11.16 MB / 0.7128 GB, free: 7.879 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2666, allocations: 8.031 kB / 0.7128 GB, free: 7.871 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.2687, allocations: 1.127 MB / 0.7139 GB, free: 6.738 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/0.2795, allocations: 7.652 MB / 0.7214 GB, free: 15 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.2798, allocations: 463.6 kB / 0.7218 GB, free: 14.52 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000794/0.2806, allocations: 431.9 kB / 0.7223 GB, free: 14.1 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.2973, allocations: 13.6 MB / 0.7355 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.957e-05/0.2974, allocations: 47.56 kB / 0.7356 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000415/0.2978, allocations: 224 kB / 0.7358 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003022/0.2981, allocations: 423 kB / 0.7362 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.3129, allocations: 9.693 MB / 0.7457 GB, free: 4.465 MB / 0.6355 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.3237/0.6366, allocations: 42.48 MB / 0.7872 GB, free: 144.4 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/0.65, allocations: 7.97 MB / 0.7949 GB, free: 142 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005243/0.6553, allocations: 3.08 MB / 0.7979 GB, free: 140.6 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.6563, allocations: 400.3 kB / 0.7983 GB, free: 140.5 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01104/0.6674, allocations: 6.321 MB / 0.8045 GB, free: 137.7 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003353/0.6707, allocations: 0.5493 MB / 0.805 GB, free: 137.6 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=833): time 1.91e-05/0.6707, allocations: 0 / 0.805 GB, free: 137.6 MB / 0.6512 GB Notification: Performance of matching and sorting (n=834): time 0.0629/0.7336, allocations: 52.78 MB / 0.8566 GB, free: 99.66 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002806/0.7339, allocations: 1.755 MB / 0.8583 GB, free: 97.5 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007196/0.7411, allocations: 6.813 MB / 0.8649 GB, free: 90.82 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001341/0.7425, allocations: 101.7 kB / 0.865 GB, free: 90.71 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.744, allocations: 3.192 MB / 0.8682 GB, free: 87.81 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001775/0.7458, allocations: 2.827 MB / 0.8709 GB, free: 85.39 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001818/0.7476, allocations: 1.799 MB / 0.8727 GB, free: 83.57 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.027e-05/0.7476, allocations: 301.1 kB / 0.873 GB, free: 83.28 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00405/0.7517, allocations: 4.04 MB / 0.8769 GB, free: 79.23 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00495/0.7566, allocations: 7.602 MB / 0.8843 GB, free: 70.29 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1663/0.9229, allocations: 52.05 MB / 0.9352 GB, free: 18.23 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-05/0.9229, allocations: 20 kB / 0.9352 GB, free: 18.21 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01876/0.9417, allocations: 12.33 MB / 0.9472 GB, free: 5.84 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.505e-05/0.9417, allocations: 36 kB / 0.9473 GB, free: 5.805 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01277/0.9545, allocations: 9.484 MB / 0.9565 GB, free: 12.28 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02216/0.9766, allocations: 3.892 MB / 0.9603 GB, free: 8.395 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007419/0.9841, allocations: 2.398 MB / 0.9627 GB, free: 5.992 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009997/0.9941, allocations: 13.18 MB / 0.9755 GB, free: 8.09 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007487/1.002, allocations: 0.5145 MB / 0.976 GB, free: 7.582 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002317/1.004, allocations: 0.5426 MB / 0.9766 GB, free: 7.039 MB / 0.6824 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.01111/1.015, allocations: 5.698 MB / 0.9821 GB, free: 1.332 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007208/1.022, allocations: 7.541 MB / 0.9895 GB, free: 8.426 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1601/1.182, allocations: 49.77 MB / 1.038 GB, free: 5.645 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.852e-05/1.182, allocations: 20 kB / 1.038 GB, free: 5.625 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.2871/1.469, allocations: 11.94 MB / 1.05 GB, free: 251.6 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/1.469, allocations: 40.56 kB / 1.05 GB, free: 251.6 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01218/1.482, allocations: 9.057 MB / 1.059 GB, free: 248.9 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/1.483, allocations: 0.661 MB / 1.059 GB, free: 248.7 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004929/1.488, allocations: 2.392 MB / 1.062 GB, free: 248.6 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007007/1.495, allocations: 14.08 MB / 1.075 GB, free: 236.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005174/1.5, allocations: 0.5103 MB / 1.076 GB, free: 236.1 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007268/1.501, allocations: 0.5371 MB / 1.076 GB, free: 236.1 MB / 0.7449 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.002091/1.503, allocations: 0.7338 MB / 1.077 GB, free: 235.5 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/1.504, allocations: 0.7735 MB / 1.078 GB, free: 235.5 MB / 0.7449 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.01265/1.517, allocations: 10.67 MB / 1.088 GB, free: 231.9 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.312556427903473] Failed to read output from testmodel.py, exit status != 0: 1.6561624119058251 1.662483583 1.412515549 Calling exit ...