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.005823/0.005823, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0006774/0.0006774, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007938/0.0007938, allocations: 164.6 kB / 27.85 MB, free: 5.496 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.8406/0.8406, allocations: 177.2 MB / 208.6 MB, free: 2.945 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7416/0.7416, allocations: 102.5 MB / 367.9 MB, free: 1.449 MB / 330.8 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.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_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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.5367 GB, free: 39.69 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.83e-05, allocations: 2.281 kB / 0.5367 GB, free: 39.69 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.126/0.126, allocations: 70.21 MB / 0.6052 GB, free: 5.73 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0382/0.1642, allocations: 25.52 MB / 0.6302 GB, free: 12.12 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006206/0.1704, allocations: 146.9 kB / 0.6303 GB, free: 11.98 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.006889/0.1773, allocations: 2.946 MB / 0.6332 GB, free: 9.02 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.1891, allocations: 4.979 MB / 0.638 GB, free: 4.012 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009702/0.1988, allocations: 4.954 MB / 0.6429 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01501/0.2138, allocations: 13.41 MB / 0.656 GB, free: 1.59 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006584/0.2204, allocations: 4.062 MB / 0.66 GB, free: 13.46 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01541/0.2358, allocations: 7.133 MB / 0.6669 GB, free: 6.309 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008256/0.2441, allocations: 4.661 MB / 0.6715 GB, free: 1.637 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.002742/0.2468, allocations: 0.8867 MB / 0.6723 GB, free: 0.75 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007512/0.2543, allocations: 3.138 MB / 0.6754 GB, free: 13.61 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003966/0.2583, allocations: 2.78 MB / 0.6781 GB, free: 10.82 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.006197/0.2645, allocations: 2.821 MB / 0.6809 GB, free: 7.988 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02019/0.2847, allocations: 14.43 MB / 0.695 GB, free: 9.516 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2847, allocations: 0 / 0.695 GB, free: 9.516 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2847, allocations: 0 / 0.695 GB, free: 9.516 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0004204/0.2851, allocations: 4 kB / 0.695 GB, free: 9.512 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.01809/0.3032, allocations: 9.986 MB / 0.7047 GB, free: 15.42 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3032, allocations: 12.03 kB / 0.7047 GB, free: 15.41 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.3053, allocations: 1.044 MB / 0.7057 GB, free: 14.36 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00993/0.3152, allocations: 6.476 MB / 0.7121 GB, free: 7.797 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.3155, allocations: 439.2 kB / 0.7125 GB, free: 7.34 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008599/0.3164, allocations: 427.9 kB / 0.7129 GB, free: 6.922 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.3338, allocations: 12.57 MB / 0.7252 GB, free: 8.812 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.239e-05/0.3339, allocations: 47.56 kB / 0.7252 GB, free: 8.766 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005029/0.3344, allocations: 212 kB / 0.7254 GB, free: 8.559 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002591/0.3346, allocations: 350.5 kB / 0.7258 GB, free: 8.215 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.3512, allocations: 8.906 MB / 0.7345 GB, free: 15.29 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.3168/0.668, allocations: 39.44 MB / 0.773 GB, free: 149.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/0.681, allocations: 7.341 MB / 0.7801 GB, free: 147.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004714/0.6857, allocations: 2.835 MB / 0.7829 GB, free: 146.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.6868, allocations: 394.5 kB / 0.7833 GB, free: 146.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01118/0.698, allocations: 5.934 MB / 0.7891 GB, free: 143.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=794): time 2.043e-05/0.698, allocations: 0 / 0.7891 GB, free: 143.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=797): time 0.06096/0.759, allocations: 48.32 MB / 0.8363 GB, free: 111.4 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/0.7592, allocations: 1.624 MB / 0.8379 GB, free: 109.4 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005635/0.7648, allocations: 5.591 MB / 0.8433 GB, free: 103.9 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001521/0.7663, allocations: 97.7 kB / 0.8434 GB, free: 103.8 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.7677, allocations: 2.841 MB / 0.8462 GB, free: 101.2 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002765/0.7704, allocations: 2.705 MB / 0.8488 GB, free: 98.92 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001749/0.7722, allocations: 1.657 MB / 0.8504 GB, free: 97.25 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.777e-05/0.7722, allocations: 307.7 kB / 0.8507 GB, free: 96.95 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003788/0.776, allocations: 3.738 MB / 0.8544 GB, free: 93.2 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004803/0.7808, allocations: 6.85 MB / 0.8611 GB, free: 85.2 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1611/0.9419, allocations: 50.65 MB / 0.9105 GB, free: 34.78 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-05/0.9419, allocations: 16 kB / 0.9106 GB, free: 34.77 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01403/0.956, allocations: 11.28 MB / 0.9216 GB, free: 23.43 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.9561, allocations: 33.09 kB / 0.9216 GB, free: 23.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01319/0.9693, allocations: 8.88 MB / 0.9303 GB, free: 14.46 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02109/0.9904, allocations: 3.931 MB / 0.9341 GB, free: 10.54 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/0.9957, allocations: 2.176 MB / 0.9362 GB, free: 8.363 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/1.002, allocations: 12.07 MB / 0.948 GB, free: 11.6 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004735/1.007, allocations: 406.7 kB / 0.9484 GB, free: 11.22 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006495/1.007, allocations: 0.5035 MB / 0.9489 GB, free: 10.72 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.008464/1.016, allocations: 5.233 MB / 0.954 GB, free: 5.484 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006179/1.022, allocations: 6.782 MB / 0.9606 GB, free: 13.52 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1549/1.177, allocations: 48.39 MB / 1.008 GB, free: 12.27 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.409e-05/1.177, allocations: 23.94 kB / 1.008 GB, free: 12.25 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01631/1.193, allocations: 10.96 MB / 1.019 GB, free: 1.219 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/1.193, allocations: 36.14 kB / 1.019 GB, free: 1.184 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01033/1.203, allocations: 8.5 MB / 1.027 GB, free: 8.617 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/1.205, allocations: 0.7068 MB / 1.028 GB, free: 7.902 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004186/1.209, allocations: 2.175 MB / 1.03 GB, free: 5.727 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008492/1.217, allocations: 12.95 MB / 1.042 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004761/1.222, allocations: 416.3 kB / 1.043 GB, free: 7.629 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006043/1.223, allocations: 0.4971 MB / 1.043 GB, free: 7.137 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.001945/1.225, allocations: 0.6729 MB / 1.044 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.226, allocations: 0.7099 MB / 1.045 GB, free: 5.789 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.2931/1.519, allocations: 9.81 MB / 1.054 GB, free: 270.7 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.272506983019412] Failed to read output from testmodel.py, exit status != 0: 1.674081419594586 1.67962112 1.393469192 Calling exit ...