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.01045/0.01045, allocations: 1.348 MB / 20.45 MB, free: 1.25 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.001604/0.001604, allocations: 82.61 kB / 24.02 MB, free: 2.59 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.001705/0.001705, allocations: 154.5 kB / 27.71 MB, free: 3.844 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.477/1.477, allocations: 177.1 MB / 208.4 MB, free: 7.668 MB / 190.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.045/1.045, allocations: 102.5 MB / 367.8 MB, free: 4.602 MB / 334.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: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.5365 GB, free: 7.102 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.281e-05, allocations: 2.281 kB / 0.5365 GB, free: 7.098 MB / 446.1 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.1909/0.191, allocations: 71.11 MB / 0.6059 GB, free: 2.457 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.05116/0.2421, allocations: 26.1 MB / 0.6314 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008319/0.2504, allocations: 150.9 kB / 0.6316 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01104/0.2615, allocations: 2.976 MB / 0.6345 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01775/0.2792, allocations: 5.15 MB / 0.6395 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0154/0.2946, allocations: 5.135 MB / 0.6445 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02539/0.32, allocations: 14.32 MB / 0.6585 GB, free: 12.45 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009749/0.3298, allocations: 4.411 MB / 0.6628 GB, free: 7.973 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02125/0.351, allocations: 7.636 MB / 0.6702 GB, free: 328 kB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0131/0.3641, allocations: 5.049 MB / 0.6752 GB, free: 11.26 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.004112/0.3682, allocations: 0.9805 MB / 0.6761 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/0.3796, allocations: 3.224 MB / 0.6793 GB, free: 7.047 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.005569/0.3851, allocations: 3.162 MB / 0.6824 GB, free: 3.875 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.007948/0.3931, allocations: 3.172 MB / 0.6855 GB, free: 0.6953 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4153/0.8084, allocations: 15.91 MB / 0.701 GB, free: 44.38 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.8084, allocations: 0 / 0.701 GB, free: 44.38 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8084, allocations: 1.625 kB / 0.701 GB, free: 44.38 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.000622/0.809, allocations: 0 / 0.701 GB, free: 44.38 MB / 0.5763 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.0436/0.8526, allocations: 11.16 MB / 0.7119 GB, free: 40.36 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.8526, allocations: 12.53 kB / 0.7119 GB, free: 40.36 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00738/0.86, allocations: 1.125 MB / 0.713 GB, free: 39.83 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02112/0.8811, allocations: 7.644 MB / 0.7205 GB, free: 38.52 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006545/0.8818, allocations: 453.2 kB / 0.7209 GB, free: 38.38 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003206/0.885, allocations: 447.6 kB / 0.7213 GB, free: 38.37 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0331/0.9181, allocations: 13.6 MB / 0.7346 GB, free: 30.99 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002764/0.9184, allocations: 49.41 kB / 0.7347 GB, free: 30.99 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00246/0.9208, allocations: 222.7 kB / 0.7349 GB, free: 30.99 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006299/0.9215, allocations: 419.1 kB / 0.7353 GB, free: 30.93 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02818/0.9497, allocations: 9.703 MB / 0.7448 GB, free: 26.46 MB / 0.5763 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.06708/1.017, allocations: 42.47 MB / 0.7862 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02586/1.043, allocations: 7.982 MB / 0.794 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008327/1.051, allocations: 3.072 MB / 0.797 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002087/1.053, allocations: 406.6 kB / 0.7974 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02136/1.074, allocations: 6.326 MB / 0.8036 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00532/1.08, allocations: 0.5528 MB / 0.8041 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=833): time 2.346e-05/1.08, allocations: 0 / 0.8041 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=834): time 0.1417/1.221, allocations: 52.77 MB / 0.8557 GB, free: 13.41 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001113/1.223, allocations: 1.77 MB / 0.8574 GB, free: 11.24 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01899/1.242, allocations: 6.804 MB / 0.864 GB, free: 4.461 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.003341/1.245, allocations: 101.7 kB / 0.8641 GB, free: 4.355 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.005711/1.251, allocations: 3.195 MB / 0.8673 GB, free: 1.164 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.007834/1.258, allocations: 2.826 MB / 0.87 GB, free: 14.38 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01622/1.275, allocations: 1.794 MB / 0.8718 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.275, allocations: 301.1 kB / 0.8721 GB, free: 12.27 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01447/1.289, allocations: 4.043 MB / 0.876 GB, free: 8.219 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01633/1.306, allocations: 7.599 MB / 0.8834 GB, free: 15.3 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3822/1.688, allocations: 52.05 MB / 0.9343 GB, free: 11.16 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.904e-05/1.688, allocations: 20 kB / 0.9343 GB, free: 11.14 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.03747/1.725, allocations: 12.32 MB / 0.9463 GB, free: 15.22 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 7.316e-05/1.725, allocations: 36 kB / 0.9463 GB, free: 15.19 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02627/1.752, allocations: 9.479 MB / 0.9556 GB, free: 5.699 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04626/1.798, allocations: 3.897 MB / 0.9594 GB, free: 1.82 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01182/1.81, allocations: 2.398 MB / 0.9617 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/1.827, allocations: 13.19 MB / 0.9746 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/1.838, allocations: 0.506 MB / 0.9751 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003298/1.841, allocations: 0.5426 MB / 0.9757 GB, free: 0.6914 MB / 0.7794 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.3806/2.222, allocations: 5.701 MB / 0.9812 GB, free: 300 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01176/2.234, allocations: 7.536 MB / 0.9886 GB, free: 295.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3314/2.565, allocations: 49.78 MB / 1.037 GB, free: 260.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.984e-05/2.565, allocations: 24 kB / 1.037 GB, free: 260.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.0319/2.597, allocations: 11.95 MB / 1.049 GB, free: 248.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/2.597, allocations: 39.38 kB / 1.049 GB, free: 248.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02377/2.621, allocations: 9.047 MB / 1.058 GB, free: 239.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/2.623, allocations: 0.6666 MB / 1.058 GB, free: 239 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/2.633, allocations: 2.395 MB / 1.061 GB, free: 236.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/2.645, allocations: 14.07 MB / 1.074 GB, free: 221.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/2.655, allocations: 0.512 MB / 1.075 GB, free: 221.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00279/2.658, allocations: 0.5348 MB / 1.076 GB, free: 220.8 MB / 0.7794 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.004946/2.663, allocations: 0.7396 MB / 1.076 GB, free: 220.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004347/2.667, allocations: 0.7722 MB / 1.077 GB, free: 219.8 MB / 0.7794 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.02374/2.691, allocations: 10.67 MB / 1.087 GB, free: 209.7 MB / 0.7794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.609593141824007] Failed to read output from testmodel.py, exit status != 0: 2.884211730211973 2.895859068 2.084478407 Calling exit ...