Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01015/0.01015, allocations: 1.748 MB / 21.38 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.001201/0.001201, allocations: 102.4 kB / 24.96 MB, free: 2.059 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.00149/0.00149, allocations: 209.7 kB / 28.68 MB, free: 3.348 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.442/1.442, allocations: 230.6 MB / 262.9 MB, free: 5.824 MB / 206.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.103/1.103, allocations: 130.7 MB / 450.4 MB, free: 6.402 MB / 350.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_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_dev_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_dev_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.06507/0.06507, allocations: 20.6 MB / 0.6367 GB, free: 4.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.2442, allocations: 81.91 MB / 0.7167 GB, free: 2.578 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.5528/0.797, allocations: 56.54 MB / 0.7719 GB, free: 13.54 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04475/0.8417, allocations: 25.77 MB / 0.7971 GB, free: 11.41 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009965/0.8517, allocations: 143.9 kB / 0.7972 GB, free: 11.35 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.8618, allocations: 2.964 MB / 0.8001 GB, free: 9.273 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01826/0.8801, allocations: 4.841 MB / 0.8048 GB, free: 5.438 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01681/0.8969, allocations: 4.91 MB / 0.8096 GB, free: 1.711 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02393/0.9208, allocations: 13.1 MB / 0.8224 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007986/0.9288, allocations: 3.837 MB / 0.8262 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.9415, allocations: 5.251 MB / 0.8313 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01172/0.9532, allocations: 5.493 MB / 0.8367 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004656/0.9579, allocations: 0.8867 MB / 0.8375 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.9696, allocations: 3.174 MB / 0.8406 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005977/0.9756, allocations: 2.705 MB / 0.8433 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.9858, allocations: 3.433 MB / 0.8466 GB, free: 13.4 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02986/1.016, allocations: 14.38 MB / 0.8607 GB, free: 14.98 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.016, allocations: 0 / 0.8607 GB, free: 14.98 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.544e-06/1.016, allocations: 6.625 kB / 0.8607 GB, free: 14.97 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005416/1.016, allocations: 0 / 0.8607 GB, free: 14.97 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.03211/1.048, allocations: 10.07 MB / 0.8705 GB, free: 4.828 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.048, allocations: 8.031 kB / 0.8705 GB, free: 4.82 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006157/1.055, allocations: 1.048 MB / 0.8715 GB, free: 3.77 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/1.072, allocations: 6.48 MB / 0.8779 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007011/1.073, allocations: 427.2 kB / 0.8783 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/1.075, allocations: 427.9 kB / 0.8787 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03337/1.109, allocations: 12.58 MB / 0.891 GB, free: 14.25 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002844/1.109, allocations: 39.62 kB / 0.891 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00204/1.111, allocations: 208 kB / 0.8912 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006105/1.112, allocations: 357.3 kB / 0.8915 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02791/1.139, allocations: 8.94 MB / 0.9003 GB, free: 4.73 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.06983/1.209, allocations: 39.55 MB / 0.9389 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02256/1.232, allocations: 7.357 MB / 0.9461 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007247/1.239, allocations: 2.835 MB / 0.9489 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/1.241, allocations: 390.2 kB / 0.9492 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0196/1.261, allocations: 5.94 MB / 0.955 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 1.913e-05/1.261, allocations: 0 / 0.955 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1125/1.373, allocations: 48.31 MB / 1.002 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009289/1.374, allocations: 1.632 MB / 1.004 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/1.384, allocations: 5.495 MB / 1.009 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001709/1.386, allocations: 101.7 kB / 1.009 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002981/1.389, allocations: 2.861 MB / 1.012 GB, free: 56 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.004228/1.393, allocations: 2.734 MB / 1.015 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003503/1.397, allocations: 1.676 MB / 1.016 GB, free: 11.61 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.397, allocations: 305.1 kB / 1.017 GB, free: 11.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007573/1.404, allocations: 3.735 MB / 1.02 GB, free: 7.559 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01158/1.416, allocations: 6.843 MB / 1.027 GB, free: 15.53 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7427/2.159, allocations: 50.65 MB / 1.076 GB, free: 344.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-05/2.159, allocations: 22.09 kB / 1.076 GB, free: 344.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02236/2.181, allocations: 11.27 MB / 1.087 GB, free: 340 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/2.181, allocations: 29.56 kB / 1.088 GB, free: 340 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01737/2.199, allocations: 8.881 MB / 1.096 GB, free: 334.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04636/2.245, allocations: 3.941 MB / 1.1 GB, free: 330.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008407/2.253, allocations: 2.176 MB / 1.102 GB, free: 328.6 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008381/2.262, allocations: 12.08 MB / 1.114 GB, free: 315.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006851/2.269, allocations: 409.7 kB / 1.114 GB, free: 315.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/2.27, allocations: 0.507 MB / 1.115 GB, free: 315 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.00941/2.279, allocations: 5.231 MB / 1.12 GB, free: 309.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007132/2.287, allocations: 6.794 MB / 1.127 GB, free: 301.8 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2874/2.574, allocations: 48.4 MB / 1.174 GB, free: 252.6 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.243e-05/2.574, allocations: 20 kB / 1.174 GB, free: 252.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02157/2.596, allocations: 10.96 MB / 1.185 GB, free: 241.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/2.596, allocations: 32 kB / 1.185 GB, free: 241.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0141/2.61, allocations: 8.499 MB / 1.193 GB, free: 233.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00193/2.612, allocations: 0.7093 MB / 1.194 GB, free: 232.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007954/2.62, allocations: 2.175 MB / 1.196 GB, free: 230.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008815/2.628, allocations: 12.97 MB / 1.208 GB, free: 216.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007415/2.636, allocations: 410.1 kB / 1.209 GB, free: 216.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/2.638, allocations: 0.4958 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.002609/2.64, allocations: 0.6752 MB / 1.21 GB, free: 215.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002207/2.643, allocations: 0.7172 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.01623/2.659, allocations: 9.792 MB / 1.22 GB, free: 205.4 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.567361133988015] Failed to read output from testmodel.py, exit status != 0: 2.821715362952091 2.831151845 1.812769911 Calling exit ...