Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff.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.01333/0.01333, allocations: 1.747 MB / 21.35 MB, free: 480 kB / 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.001713/0.001713, allocations: 103 kB / 24.94 MB, free: 2.051 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.001798/0.001798, allocations: 209.9 kB / 28.65 MB, free: 3.34 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.569/1.569, allocations: 230.6 MB / 262.8 MB, free: 5.863 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.126/1.126, allocations: 130.8 MB / 450.4 MB, free: 6.426 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_CH_simple_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,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.level_abs_|hex.shell.p_liq|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_CH_simple_shutoff") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,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.level_abs_|hex.shell.p_liq|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_CH_simple_shutoff") [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.07025/0.07025, allocations: 20.98 MB / 0.6371 GB, free: 4.215 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2741, allocations: 81.92 MB / 0.7171 GB, free: 2.199 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_CH_simple_shutoff): time 0.5227/0.7968, allocations: 56.56 MB / 0.7723 GB, free: 13.44 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04286/0.8397, allocations: 25.8 MB / 0.7975 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00821/0.8479, allocations: 146.6 kB / 0.7976 GB, free: 11.14 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009492/0.8574, allocations: 2.943 MB / 0.8005 GB, free: 9.094 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01747/0.8749, allocations: 4.824 MB / 0.8052 GB, free: 5.273 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01498/0.8898, allocations: 4.893 MB / 0.81 GB, free: 1.566 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02289/0.9127, allocations: 13.11 MB / 0.8228 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007963/0.9207, allocations: 4.035 MB / 0.8267 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01171/0.9324, allocations: 5.248 MB / 0.8319 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01055/0.943, allocations: 5.221 MB / 0.837 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003436/0.9464, allocations: 0.8867 MB / 0.8378 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009638/0.956, allocations: 3.108 MB / 0.8409 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004993/0.961, allocations: 2.698 MB / 0.8435 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008273/0.9693, allocations: 3.435 MB / 0.8469 GB, free: 13.22 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02582/0.9951, allocations: 14.34 MB / 0.8609 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9951, allocations: 0 / 0.8609 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.335e-06/0.9951, allocations: 0 / 0.8609 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004472/0.9956, allocations: 7.938 kB / 0.8609 GB, free: 14.82 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: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.029/1.025, allocations: 10.07 MB / 0.8707 GB, free: 4.676 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.025, allocations: 12.03 kB / 0.8707 GB, free: 4.664 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004562/1.029, allocations: 1.048 MB / 0.8717 GB, free: 3.613 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0158/1.045, allocations: 6.47 MB / 0.8781 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006229/1.046, allocations: 434.8 kB / 0.8785 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/1.047, allocations: 431.5 kB / 0.8789 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03224/1.08, allocations: 12.57 MB / 0.8912 GB, free: 14.11 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/1.08, allocations: 46.25 kB / 0.8912 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001618/1.081, allocations: 212 kB / 0.8914 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005275/1.082, allocations: 350.5 kB / 0.8917 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02638/1.108, allocations: 8.912 MB / 0.9005 GB, free: 4.605 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.06545/1.174, allocations: 39.54 MB / 0.9391 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/1.196, allocations: 7.354 MB / 0.9462 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006866/1.203, allocations: 2.824 MB / 0.949 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001905/1.205, allocations: 395.5 kB / 0.9494 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01872/1.224, allocations: 5.932 MB / 0.9552 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 1.648e-05/1.224, allocations: 4 kB / 0.9552 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1163/1.34, allocations: 48.31 MB / 1.002 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009676/1.341, allocations: 1.629 MB / 1.004 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.351, allocations: 5.595 MB / 1.009 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001586/1.353, allocations: 97.7 kB / 1.01 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003074/1.356, allocations: 2.86 MB / 1.012 GB, free: 15.86 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004456/1.361, allocations: 2.734 MB / 1.015 GB, free: 13.11 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003927/1.364, allocations: 1.68 MB / 1.017 GB, free: 11.41 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.365, allocations: 301.1 kB / 1.017 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007242/1.372, allocations: 3.732 MB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/1.383, allocations: 6.848 MB / 1.027 GB, free: 15.34 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6776/2.06, allocations: 50.63 MB / 1.077 GB, free: 345.4 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-05/2.06, allocations: 19.28 kB / 1.077 GB, free: 345.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02348/2.084, allocations: 11.28 MB / 1.088 GB, free: 341.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/2.084, allocations: 29.81 kB / 1.088 GB, free: 341.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01768/2.101, allocations: 8.879 MB / 1.096 GB, free: 334.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04173/2.143, allocations: 3.938 MB / 1.1 GB, free: 330.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008549/2.152, allocations: 2.18 MB / 1.102 GB, free: 328.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009457/2.161, allocations: 12.08 MB / 1.114 GB, free: 315.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007787/2.169, allocations: 407.6 kB / 1.115 GB, free: 315.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002069/2.171, allocations: 0.5035 MB / 1.115 GB, free: 314.9 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.01238/2.183, allocations: 5.238 MB / 1.12 GB, free: 309.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009051/2.192, allocations: 6.797 MB / 1.127 GB, free: 301.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3255/2.518, allocations: 48.39 MB / 1.174 GB, free: 252.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.204e-05/2.518, allocations: 16 kB / 1.174 GB, free: 252.4 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02422/2.542, allocations: 10.97 MB / 1.185 GB, free: 241.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/2.542, allocations: 32 kB / 1.185 GB, free: 241.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01839/2.561, allocations: 8.496 MB / 1.193 GB, free: 233.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002248/2.563, allocations: 0.6986 MB / 1.194 GB, free: 232.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008536/2.571, allocations: 2.176 MB / 1.196 GB, free: 230.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009389/2.581, allocations: 12.96 MB / 1.209 GB, free: 216.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0069/2.588, allocations: 417.9 kB / 1.209 GB, free: 216.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001764/2.59, allocations: 0.4957 MB / 1.209 GB, free: 215.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: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 280 * 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 (1063): * Single equations (assignments): 1053 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 6 * 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): 2 systems {(1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,5), (1,1), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.003299/2.593, allocations: 0.6776 MB / 1.21 GB, free: 215.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003049/2.596, allocations: 0.7116 MB / 1.211 GB, free: 214.8 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 1214 equation(s) and 1163 variable(s). Error: ($cse465, $cse466, $cse467, $cse468, $cse469, $cse470, $cse471, $cse472, $cse473, $cse474, $cse475, $cse476) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.shell.fluidIn[1].p, -1.0, {}, massFlowSource_h.fluidOut.vleFluidPointer) has size 12 but 5 variables (hex.shell.h_vap, hex.shell.drho_vapdt, hex.shell.p_vap, hex.shell.vap.drhodh_pxi, hex.shell.vap.drhodp_hxi) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01997/2.616, allocations: 9.83 MB / 1.22 GB, free: 205.3 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.7793935518711805] Failed to read output from testmodel.py, exit status != 0: 2.8058448839001358 2.819963716 1.822062312 Calling exit ...