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.006038/0.006038, allocations: 1.435 MB / 21.29 MB, free: 3.266 MB / 18.57 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.0006104/0.0006104, allocations: 92.64 kB / 24.9 MB, free: 7.262 MB / 18.57 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.0007579/0.0007579, allocations: 168.9 kB / 28.62 MB, free: 4.457 MB / 18.57 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 0.8952/0.8952, allocations: 177.1 MB / 209.4 MB, free: 2.996 MB / 186.7 MB " [Timeout remaining time 179] 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.74/0.74, allocations: 102.5 MB / 368.7 MB, free: 1.504 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.5374 GB, free: 39.73 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.927e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.73 MB / 490.8 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_CH_simple_shutoff): time 0.115/0.115, allocations: 70.22 MB / 0.606 GB, free: 5.625 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03209/0.1471, allocations: 25.53 MB / 0.6309 GB, free: 12.02 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005292/0.1524, allocations: 142.9 kB / 0.6311 GB, free: 11.88 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005525/0.1579, allocations: 2.954 MB / 0.6339 GB, free: 8.906 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009379/0.1673, allocations: 4.956 MB / 0.6388 GB, free: 3.922 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008419/0.1757, allocations: 4.965 MB / 0.6436 GB, free: 14.95 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01473/0.1905, allocations: 13.41 MB / 0.6567 GB, free: 1.492 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006266/0.1967, allocations: 4.066 MB / 0.6607 GB, free: 13.36 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01205/0.2088, allocations: 7.137 MB / 0.6677 GB, free: 6.203 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007322/0.2161, allocations: 4.665 MB / 0.6722 GB, free: 1.527 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.002287/0.2184, allocations: 0.8867 MB / 0.6731 GB, free: 0.6406 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006724/0.2251, allocations: 3.13 MB / 0.6761 GB, free: 13.5 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.002953/0.2281, allocations: 2.776 MB / 0.6789 GB, free: 10.72 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.005476/0.2335, allocations: 2.825 MB / 0.6816 GB, free: 7.887 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01871/0.2522, allocations: 14.43 MB / 0.6957 GB, free: 9.414 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2522, allocations: 0 / 0.6957 GB, free: 9.414 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2523, allocations: 4 kB / 0.6957 GB, free: 9.41 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.00039/0.2526, allocations: 0 / 0.6957 GB, free: 9.41 MB / 0.5887 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.01757/0.2702, allocations: 9.983 MB / 0.7055 GB, free: 15.32 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.2703, allocations: 12.03 kB / 0.7055 GB, free: 15.31 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/0.2728, allocations: 1.057 MB / 0.7065 GB, free: 14.25 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.2835, allocations: 6.46 MB / 0.7128 GB, free: 7.703 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.2839, allocations: 435.2 kB / 0.7132 GB, free: 7.25 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009673/0.2848, allocations: 423.9 kB / 0.7136 GB, free: 6.836 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.3023, allocations: 12.58 MB / 0.7259 GB, free: 8.723 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.3024, allocations: 47.56 kB / 0.726 GB, free: 8.676 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000794/0.3032, allocations: 208 kB / 0.7262 GB, free: 8.473 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002779/0.3035, allocations: 350.6 kB / 0.7265 GB, free: 8.129 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/0.3211, allocations: 8.914 MB / 0.7352 GB, free: 15.2 MB / 0.6355 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.3325/0.6536, allocations: 39.44 MB / 0.7737 GB, free: 149.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.6669, allocations: 7.352 MB / 0.7809 GB, free: 147.8 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00439/0.6713, allocations: 2.831 MB / 0.7837 GB, free: 146.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009952/0.6722, allocations: 398.7 kB / 0.784 GB, free: 146.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0106/0.6828, allocations: 5.933 MB / 0.7898 GB, free: 143.9 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=794): time 1.488e-05/0.6829, allocations: 0 / 0.7898 GB, free: 143.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=797): time 0.05971/0.7426, allocations: 48.31 MB / 0.837 GB, free: 111.5 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002145/0.7428, allocations: 1.636 MB / 0.8386 GB, free: 109.5 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007843/0.7506, allocations: 5.587 MB / 0.8441 GB, free: 104 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.002378/0.753, allocations: 101.7 kB / 0.8442 GB, free: 103.9 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001941/0.7549, allocations: 2.842 MB / 0.8469 GB, free: 101.3 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.004084/0.759, allocations: 2.705 MB / 0.8496 GB, free: 98.97 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/0.761, allocations: 1.663 MB / 0.8512 GB, free: 97.3 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.382e-05/0.7611, allocations: 305.1 kB / 0.8515 GB, free: 97 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004311/0.7654, allocations: 3.734 MB / 0.8551 GB, free: 93.25 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005395/0.7708, allocations: 6.847 MB / 0.8618 GB, free: 85.25 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1628/0.9336, allocations: 50.65 MB / 0.9113 GB, free: 34.82 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-05/0.9336, allocations: 16 kB / 0.9113 GB, free: 34.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01723/0.9508, allocations: 11.28 MB / 0.9223 GB, free: 23.47 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.9509, allocations: 28.22 kB / 0.9223 GB, free: 23.45 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01163/0.9625, allocations: 8.886 MB / 0.931 GB, free: 14.51 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02152/0.984, allocations: 3.935 MB / 0.9349 GB, free: 10.58 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005545/0.9896, allocations: 2.184 MB / 0.937 GB, free: 8.395 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008406/0.998, allocations: 12.06 MB / 0.9488 GB, free: 11.65 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007821/1.006, allocations: 409.5 kB / 0.9492 GB, free: 11.27 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002747/1.009, allocations: 0.5035 MB / 0.9497 GB, free: 10.76 MB / 0.6668 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.01501/1.024, allocations: 5.223 MB / 0.9548 GB, free: 5.527 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008605/1.032, allocations: 6.786 MB / 0.9614 GB, free: 13.55 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1597/1.192, allocations: 48.39 MB / 1.009 GB, free: 12.3 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.815e-05/1.192, allocations: 20 kB / 1.009 GB, free: 12.29 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01948/1.211, allocations: 10.97 MB / 1.019 GB, free: 1.254 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/1.211, allocations: 32 kB / 1.019 GB, free: 1.223 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01358/1.225, allocations: 8.5 MB / 1.028 GB, free: 8.656 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/1.226, allocations: 0.7057 MB / 1.028 GB, free: 7.941 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/1.232, allocations: 2.168 MB / 1.031 GB, free: 5.77 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/1.242, allocations: 12.95 MB / 1.043 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/1.248, allocations: 414.7 kB / 1.044 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.25, allocations: 0.4996 MB / 1.044 GB, free: 7.172 MB / 0.7605 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.002364/1.252, allocations: 0.6696 MB / 1.045 GB, free: 6.543 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/1.255, allocations: 0.7183 MB / 1.045 GB, free: 5.82 MB / 0.7605 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.3313/1.586, allocations: 9.808 MB / 1.055 GB, free: 270.6 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.480840176343918] Failed to read output from testmodel.py, exit status != 0: 1.7432022606953979 1.7504058439999999 1.4965914900000001 Calling exit ...