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.01674/0.01674, allocations: 1.34 MB / 21.02 MB, free: 0.6094 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.001505/0.001505, allocations: 91.67 kB / 24.58 MB, free: 1.879 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.001626/0.001626, allocations: 160.4 kB / 28.25 MB, free: 3.148 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.425/1.425, allocations: 177.2 MB / 209 MB, free: 7.629 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 0.9944/0.9944, allocations: 102.5 MB / 368.4 MB, free: 4.129 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: 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.06778/0.06778, allocations: 20.95 MB / 0.5569 GB, free: 4.891 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.2271, allocations: 81.87 MB / 0.6369 GB, free: 2.867 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.1565/0.3836, allocations: 50.04 MB / 0.6858 GB, free: 0.8281 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3645/0.7481, allocations: 26.36 MB / 0.7115 GB, free: 9.707 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006405/0.7545, allocations: 148.1 kB / 0.7116 GB, free: 9.641 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008181/0.7627, allocations: 2.951 MB / 0.7145 GB, free: 8.258 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.7764, allocations: 5.015 MB / 0.7194 GB, free: 5.262 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01198/0.7884, allocations: 5.078 MB / 0.7244 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02083/0.8092, allocations: 13.97 MB / 0.738 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008574/0.8178, allocations: 4.388 MB / 0.7423 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/0.8312, allocations: 5.605 MB / 0.7478 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01278/0.8439, allocations: 5.642 MB / 0.7533 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003259/0.8472, allocations: 0.9775 MB / 0.7542 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01025/0.8575, allocations: 3.187 MB / 0.7574 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00571/0.8632, allocations: 3.083 MB / 0.7604 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008827/0.872, allocations: 3.826 MB / 0.7641 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02657/0.8986, allocations: 15.81 MB / 0.7795 GB, free: 7.559 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.8986, allocations: 3.562 kB / 0.7795 GB, free: 7.559 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8986, allocations: 0 / 0.7795 GB, free: 7.559 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003829/0.899, allocations: 0 / 0.7795 GB, free: 7.559 MB / 0.6232 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.03188/0.9308, allocations: 11.26 MB / 0.7905 GB, free: 12.27 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.9309, allocations: 15.97 kB / 0.7906 GB, free: 12.25 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004847/0.9357, allocations: 1.122 MB / 0.7916 GB, free: 11.13 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02038/0.9561, allocations: 7.662 MB / 0.7991 GB, free: 3.434 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000587/0.9567, allocations: 451.6 kB / 0.7996 GB, free: 2.965 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001639/0.9583, allocations: 435.9 kB / 0.8 GB, free: 2.539 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03246/0.9908, allocations: 13.6 MB / 0.8133 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.9909, allocations: 46.22 kB / 0.8133 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007667/0.9917, allocations: 227.9 kB / 0.8135 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004999/0.9922, allocations: 419.1 kB / 0.8139 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02862/1.021, allocations: 9.693 MB / 0.8234 GB, free: 8.93 MB / 0.67 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.07185/1.093, allocations: 42.61 MB / 0.865 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02404/1.117, allocations: 7.973 MB / 0.8728 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007644/1.124, allocations: 3.081 MB / 0.8758 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001935/1.126, allocations: 399.7 kB / 0.8762 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01983/1.146, allocations: 6.328 MB / 0.8824 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003821/1.15, allocations: 0.5486 MB / 0.8829 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=833): time 1.954e-05/1.15, allocations: 0 / 0.8829 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=834): time 0.1106/1.261, allocations: 52.78 MB / 0.9344 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000999/1.262, allocations: 1.759 MB / 0.9361 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01231/1.274, allocations: 6.808 MB / 0.9428 GB, free: 12.41 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001473/1.275, allocations: 101.7 kB / 0.9429 GB, free: 12.3 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003202/1.278, allocations: 3.214 MB / 0.946 GB, free: 9.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003833/1.282, allocations: 2.865 MB / 0.9488 GB, free: 6.18 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003316/1.286, allocations: 1.809 MB / 0.9506 GB, free: 4.359 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.286, allocations: 301.1 kB / 0.9509 GB, free: 4.062 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007999/1.294, allocations: 4.039 MB / 0.9548 GB, free: 12 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01174/1.306, allocations: 7.597 MB / 0.9622 GB, free: 7.051 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6292/1.935, allocations: 52.03 MB / 1.013 GB, free: 355.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.803e-05/1.935, allocations: 20.12 kB / 1.013 GB, free: 355.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02494/1.96, allocations: 12.33 MB / 1.025 GB, free: 351.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/1.96, allocations: 47.23 kB / 1.025 GB, free: 351.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01787/1.978, allocations: 9.461 MB / 1.034 GB, free: 347.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04513/2.023, allocations: 3.901 MB / 1.038 GB, free: 347.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009155/2.032, allocations: 2.397 MB / 1.041 GB, free: 346.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/2.043, allocations: 13.2 MB / 1.053 GB, free: 332.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007997/2.051, allocations: 0.5061 MB / 1.054 GB, free: 331.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002176/2.053, allocations: 0.5426 MB / 1.054 GB, free: 331.3 MB / 0.8419 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.011/2.064, allocations: 5.709 MB / 1.06 GB, free: 325.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008811/2.073, allocations: 7.533 MB / 1.067 GB, free: 316.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3251/2.398, allocations: 49.78 MB / 1.116 GB, free: 266.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001047/2.398, allocations: 20 kB / 1.116 GB, free: 266 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.03001/2.428, allocations: 11.95 MB / 1.128 GB, free: 254.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/2.428, allocations: 36 kB / 1.128 GB, free: 254.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0197/2.448, allocations: 9.057 MB / 1.137 GB, free: 245.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/2.45, allocations: 0.6686 MB / 1.137 GB, free: 244.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008917/2.459, allocations: 2.397 MB / 1.14 GB, free: 242.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/2.47, allocations: 14.08 MB / 1.153 GB, free: 227.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007763/2.478, allocations: 0.5081 MB / 1.154 GB, free: 226.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001824/2.479, allocations: 0.5426 MB / 1.154 GB, free: 226.4 MB / 0.8419 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.003209/2.483, allocations: 0.7304 MB / 1.155 GB, free: 225.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003044/2.486, allocations: 0.7688 MB / 1.156 GB, free: 225.3 MB / 0.8419 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.02003/2.506, allocations: 10.68 MB / 1.166 GB, free: 214.9 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.111279287026264] Failed to read output from testmodel.py, exit status != 0: 2.6410020479233935 2.651164969 1.749971976 Calling exit ...