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.01581/0.01581, 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.00134/0.00134, 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.001507/0.001507, allocations: 155.6 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.506/1.506, allocations: 177.1 MB / 208.4 MB, free: 7.672 MB / 190.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.081/1.081, allocations: 102.5 MB / 367.7 MB, free: 4.59 MB / 334.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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5365 GB, free: 7.094 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.24e-05, allocations: 2.281 kB / 0.5365 GB, free: 7.09 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.1967/0.1967, allocations: 71.12 MB / 0.6059 GB, free: 2.445 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.04993/0.2466, allocations: 26.09 MB / 0.6314 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008626/0.2552, allocations: 146.9 kB / 0.6315 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.2653, allocations: 2.98 MB / 0.6344 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01825/0.2835, allocations: 5.154 MB / 0.6395 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01471/0.2982, allocations: 5.139 MB / 0.6445 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02332/0.3215, allocations: 14.32 MB / 0.6585 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.3323, allocations: 4.411 MB / 0.6628 GB, free: 7.953 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02131/0.3536, allocations: 7.632 MB / 0.6702 GB, free: 312 kB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01187/0.3655, allocations: 5.06 MB / 0.6752 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.003884/0.3694, allocations: 0.9727 MB / 0.6761 GB, free: 10.26 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01083/0.3802, allocations: 3.216 MB / 0.6793 GB, free: 7.035 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.005919/0.3861, allocations: 3.162 MB / 0.6824 GB, free: 3.863 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.01039/0.3965, allocations: 3.168 MB / 0.6855 GB, free: 0.6875 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4395/0.836, allocations: 15.91 MB / 0.701 GB, free: 44.36 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.836, allocations: 0.875 kB / 0.701 GB, free: 44.36 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.553e-06/0.836, allocations: 3.562 kB / 0.701 GB, free: 44.36 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0007008/0.8367, allocations: 0 / 0.701 GB, free: 44.36 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.04658/0.8832, allocations: 11.16 MB / 0.7119 GB, free: 40.34 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.8833, allocations: 10.7 kB / 0.7119 GB, free: 40.34 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00864/0.8919, allocations: 1.122 MB / 0.713 GB, free: 39.8 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02324/0.9152, allocations: 7.642 MB / 0.7205 GB, free: 38.49 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006058/0.9158, allocations: 452.6 kB / 0.7209 GB, free: 38.35 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003061/0.9188, allocations: 441.9 kB / 0.7213 GB, free: 38.34 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03269/0.9515, allocations: 13.61 MB / 0.7346 GB, free: 30.97 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/0.9517, allocations: 44.28 kB / 0.7346 GB, free: 30.97 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.9528, allocations: 223.5 kB / 0.7349 GB, free: 30.97 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004876/0.9533, allocations: 421.6 kB / 0.7353 GB, free: 30.91 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02823/0.9815, allocations: 9.701 MB / 0.7447 GB, free: 26.47 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.07623/1.058, allocations: 42.47 MB / 0.7862 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02703/1.085, allocations: 7.976 MB / 0.794 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009524/1.094, allocations: 3.082 MB / 0.797 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002315/1.097, allocations: 403 kB / 0.7974 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02371/1.12, allocations: 6.325 MB / 0.8036 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006072/1.126, allocations: 0.5578 MB / 0.8041 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=833): time 3.632e-05/1.126, allocations: 0 / 0.8041 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=834): time 0.169/1.295, allocations: 52.77 MB / 0.8557 GB, free: 13.31 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001261/1.297, allocations: 1.761 MB / 0.8574 GB, free: 11.14 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01786/1.314, allocations: 6.804 MB / 0.864 GB, free: 4.367 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002608/1.317, allocations: 104.4 kB / 0.8641 GB, free: 4.262 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.004404/1.321, allocations: 3.2 MB / 0.8672 GB, free: 1.066 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.005452/1.327, allocations: 2.831 MB / 0.87 GB, free: 14.28 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005227/1.332, allocations: 1.791 MB / 0.8718 GB, free: 12.47 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.332, allocations: 301.1 kB / 0.872 GB, free: 12.18 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009236/1.342, allocations: 4.041 MB / 0.876 GB, free: 8.125 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01454/1.356, allocations: 7.602 MB / 0.8834 GB, free: 15.2 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3801/1.736, allocations: 52.04 MB / 0.9342 GB, free: 11.07 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/1.736, allocations: 20 kB / 0.9343 GB, free: 11.05 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.04142/1.778, allocations: 12.33 MB / 0.9463 GB, free: 15.13 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 7.383e-05/1.778, allocations: 37.56 kB / 0.9463 GB, free: 15.09 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02877/1.807, allocations: 9.476 MB / 0.9556 GB, free: 5.609 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04627/1.853, allocations: 3.9 MB / 0.9594 GB, free: 1.727 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/1.864, allocations: 2.398 MB / 0.9617 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01624/1.881, allocations: 13.18 MB / 0.9746 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/1.891, allocations: 0.4995 MB / 0.9751 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00312/1.894, allocations: 0.5504 MB / 0.9756 GB, free: 0.5938 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.4098/2.304, allocations: 5.705 MB / 0.9812 GB, free: 300.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01318/2.317, allocations: 7.536 MB / 0.9886 GB, free: 295.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3284/2.646, allocations: 49.78 MB / 1.037 GB, free: 260.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.097e-05/2.646, allocations: 20 kB / 1.037 GB, free: 260.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02786/2.674, allocations: 11.94 MB / 1.049 GB, free: 249 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/2.674, allocations: 41.59 kB / 1.049 GB, free: 248.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01911/2.693, allocations: 9.059 MB / 1.058 GB, free: 239.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/2.695, allocations: 0.6613 MB / 1.058 GB, free: 239.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009721/2.705, allocations: 2.391 MB / 1.061 GB, free: 236.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/2.716, allocations: 14.07 MB / 1.074 GB, free: 222 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01324/2.729, allocations: 0.5185 MB / 1.075 GB, free: 221.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004165/2.733, allocations: 0.5348 MB / 1.075 GB, free: 220.9 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.005609/2.739, allocations: 0.7235 MB / 1.076 GB, free: 220.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005074/2.744, allocations: 0.7761 MB / 1.077 GB, free: 219.9 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.03264/2.776, allocations: 10.67 MB / 1.087 GB, free: 209.8 MB / 0.7794 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.7874512784183025] Failed to read output from testmodel.py, exit status != 0: 2.9766953587532043 2.987392221 2.148671992 Calling exit ...