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.01461/0.01461, allocations: 1.749 MB / 21.34 MB, free: 0.5898 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.001238/0.001238, allocations: 105.2 kB / 24.94 MB, free: 2.176 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.001546/0.001546, allocations: 208.5 kB / 28.67 MB, free: 3.461 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.499/1.499, allocations: 230.6 MB / 262.8 MB, free: 6.008 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.09/1.09, allocations: 130.7 MB / 450.4 MB, free: 6.562 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.04676/0.04676, allocations: 20.78 MB / 0.637 GB, free: 4.609 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2495, allocations: 81.91 MB / 0.717 GB, free: 2.598 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.5342/0.7836, allocations: 60.09 MB / 0.7757 GB, free: 9.98 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04892/0.8326, allocations: 27.01 MB / 0.802 GB, free: 6.523 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01027/0.8428, allocations: 147.4 kB / 0.8022 GB, free: 6.453 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.8531, allocations: 3.088 MB / 0.8052 GB, free: 4.273 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.019/0.8721, allocations: 4.829 MB / 0.8099 GB, free: 444 kB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01574/0.8878, allocations: 4.901 MB / 0.8147 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02512/0.913, allocations: 13.12 MB / 0.8275 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009429/0.9224, allocations: 3.841 MB / 0.8313 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01327/0.9357, allocations: 5.225 MB / 0.8364 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01211/0.9478, allocations: 5.493 MB / 0.8417 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004597/0.9524, allocations: 0.8867 MB / 0.8426 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01357/0.9659, allocations: 4.258 MB / 0.8467 GB, free: 13.79 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.006536/0.9725, allocations: 2.714 MB / 0.8494 GB, free: 11.07 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.0141/0.9866, allocations: 4.4 MB / 0.8537 GB, free: 6.648 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03332/1.02, allocations: 14.55 MB / 0.8679 GB, free: 8.043 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.02, allocations: 0 / 0.8679 GB, free: 8.043 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.004e-06/1.02, allocations: 0 / 0.8679 GB, free: 8.043 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005161/1.02, allocations: 0 / 0.8679 GB, free: 8.043 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.03381/1.054, allocations: 10.09 MB / 0.8778 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/1.054, allocations: 12.02 kB / 0.8778 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006585/1.061, allocations: 1.047 MB / 0.8788 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01823/1.079, allocations: 6.465 MB / 0.8851 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006855/1.08, allocations: 427.2 kB / 0.8855 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002092/1.082, allocations: 430.5 kB / 0.8859 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03163/1.113, allocations: 10.83 MB / 0.8965 GB, free: 9.594 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002363/1.114, allocations: 43.56 kB / 0.8965 GB, free: 9.551 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001752/1.115, allocations: 215.9 kB / 0.8968 GB, free: 9.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005753/1.116, allocations: 354.5 kB / 0.8971 GB, free: 8.992 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02725/1.143, allocations: 8.94 MB / 0.9058 GB, free: 56 kB / 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.06855/1.212, allocations: 42.95 MB / 0.9478 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02158/1.233, allocations: 7.387 MB / 0.955 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006724/1.24, allocations: 2.834 MB / 0.9577 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001891/1.242, allocations: 434.1 kB / 0.9582 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0182/1.26, allocations: 5.934 MB / 0.964 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 1.453e-05/1.26, allocations: 0 / 0.964 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1091/1.369, allocations: 48.32 MB / 1.011 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001081/1.37, allocations: 1.628 MB / 1.013 GB, free: 324 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.381, allocations: 5.65 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001768/1.383, allocations: 96.36 kB / 1.018 GB, free: 10.56 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002877/1.386, allocations: 2.854 MB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003825/1.39, allocations: 2.73 MB / 1.024 GB, free: 4.938 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003159/1.393, allocations: 1.68 MB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.393, allocations: 307.3 kB / 1.026 GB, free: 2.945 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007044/1.4, allocations: 3.735 MB / 1.029 GB, free: 15.2 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009847/1.41, allocations: 6.017 MB / 1.035 GB, free: 8.254 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6694/2.079, allocations: 50.63 MB / 1.085 GB, free: 341.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-05/2.079, allocations: 14.62 kB / 1.085 GB, free: 341.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02259/2.102, allocations: 11.29 MB / 1.096 GB, free: 335.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/2.102, allocations: 37.06 kB / 1.096 GB, free: 335.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01697/2.119, allocations: 8.869 MB / 1.104 GB, free: 327.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04408/2.163, allocations: 3.936 MB / 1.108 GB, free: 323.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008/2.171, allocations: 2.18 MB / 1.11 GB, free: 321.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008433/2.179, allocations: 12.26 MB / 1.122 GB, free: 308.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006549/2.186, allocations: 408.4 kB / 1.123 GB, free: 307.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001572/2.187, allocations: 0.5035 MB / 1.123 GB, free: 307.4 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.009316/2.197, allocations: 5.227 MB / 1.128 GB, free: 302.2 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006951/2.204, allocations: 5.962 MB / 1.134 GB, free: 295.3 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2986/2.502, allocations: 48.38 MB / 1.181 GB, free: 246 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.975e-05/2.502, allocations: 22.62 kB / 1.181 GB, free: 246 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02554/2.528, allocations: 10.97 MB / 1.192 GB, free: 235.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-05/2.528, allocations: 33.42 kB / 1.192 GB, free: 235.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01903/2.547, allocations: 8.503 MB / 1.201 GB, free: 226.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002186/2.549, allocations: 0.7059 MB / 1.201 GB, free: 226 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008582/2.558, allocations: 2.176 MB / 1.203 GB, free: 223.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009646/2.567, allocations: 13.17 MB / 1.216 GB, free: 209.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00773/2.575, allocations: 409.6 kB / 1.217 GB, free: 209.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/2.577, allocations: 0.507 MB / 1.217 GB, free: 209 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.003556/2.581, allocations: 0.6764 MB / 1.218 GB, free: 208.4 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00336/2.584, allocations: 0.7204 MB / 1.218 GB, free: 207.9 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.01946/2.603, allocations: 9.803 MB / 1.228 GB, free: 198.5 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.648333305027336] Failed to read output from testmodel.py, exit status != 0: 2.7830466048326343 2.793854463 1.771096564 Calling exit ...