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.00618/0.00618, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0008344/0.0008344, allocations: 92.11 kB / 24.9 MB, free: 7.27 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.001046/0.001046, allocations: 168.9 kB / 28.62 MB, free: 4.449 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.8829/0.8829, allocations: 177.2 MB / 209.4 MB, free: 2.98 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.7363/0.7363, allocations: 102.4 MB / 368.7 MB, free: 1.441 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 1.573e-06/1.573e-06, allocations: 0 / 0.5374 GB, free: 39.73 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.383e-05, allocations: 3.062 kB / 0.5374 GB, free: 39.72 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.119/0.1191, allocations: 70.22 MB / 0.606 GB, free: 5.742 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03262/0.1517, allocations: 25.52 MB / 0.6309 GB, free: 12.14 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005842/0.1575, allocations: 142.9 kB / 0.631 GB, free: 12 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.006514/0.164, allocations: 2.958 MB / 0.6339 GB, free: 9.023 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.1752, allocations: 4.964 MB / 0.6388 GB, free: 4.031 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009208/0.1845, allocations: 4.957 MB / 0.6436 GB, free: 15.06 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.0153/0.1998, allocations: 13.42 MB / 0.6567 GB, free: 1.605 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006488/0.2062, allocations: 4.07 MB / 0.6607 GB, free: 13.46 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01339/0.2196, allocations: 7.129 MB / 0.6677 GB, free: 6.32 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007629/0.2273, allocations: 4.667 MB / 0.6722 GB, free: 1.641 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.00264/0.2299, allocations: 0.8867 MB / 0.6731 GB, free: 0.7539 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007155/0.2371, allocations: 3.138 MB / 0.6761 GB, free: 13.61 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003887/0.2409, allocations: 2.772 MB / 0.6788 GB, free: 10.83 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.005298/0.2462, allocations: 2.825 MB / 0.6816 GB, free: 7.996 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0186/0.2648, allocations: 14.43 MB / 0.6957 GB, free: 9.527 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2649, allocations: 4 kB / 0.6957 GB, free: 9.523 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2649, allocations: 0 / 0.6957 GB, free: 9.523 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0004109/0.2653, allocations: 0 / 0.6957 GB, free: 9.523 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.01633/0.2816, allocations: 9.988 MB / 0.7055 GB, free: 15.43 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2816, allocations: 16.02 kB / 0.7055 GB, free: 15.41 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.2838, allocations: 1.044 MB / 0.7065 GB, free: 14.37 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009552/0.2933, allocations: 6.469 MB / 0.7128 GB, free: 7.809 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/0.2937, allocations: 435.2 kB / 0.7132 GB, free: 7.355 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007488/0.2945, allocations: 419.9 kB / 0.7136 GB, free: 6.945 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/0.3103, allocations: 12.58 MB / 0.7259 GB, free: 8.832 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.839e-05/0.3104, allocations: 43.62 kB / 0.7259 GB, free: 8.789 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004525/0.3108, allocations: 212 kB / 0.7261 GB, free: 8.582 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002466/0.3111, allocations: 354.5 kB / 0.7265 GB, free: 8.234 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/0.3253, allocations: 8.906 MB / 0.7352 GB, free: 15.31 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.3097/0.635, allocations: 39.43 MB / 0.7737 GB, free: 149.6 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/0.6484, allocations: 7.354 MB / 0.7809 GB, free: 147.8 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004535/0.653, allocations: 2.831 MB / 0.7836 GB, free: 146.4 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.6541, allocations: 396 kB / 0.784 GB, free: 146.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01061/0.6647, allocations: 5.934 MB / 0.7898 GB, free: 143.9 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=794): time 1.411e-05/0.6647, allocations: 0.875 kB / 0.7898 GB, free: 143.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=797): time 0.06277/0.7274, allocations: 48.31 MB / 0.837 GB, free: 111.5 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002102/0.7277, allocations: 1.628 MB / 0.8386 GB, free: 109.5 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006167/0.7338, allocations: 5.591 MB / 0.844 GB, free: 103.9 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001544/0.7354, allocations: 97.7 kB / 0.8441 GB, free: 103.8 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.7367, allocations: 2.843 MB / 0.8469 GB, free: 101.3 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002683/0.7394, allocations: 2.708 MB / 0.8496 GB, free: 98.94 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001841/0.7412, allocations: 1.659 MB / 0.8512 GB, free: 97.27 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.184e-05/0.7413, allocations: 305.1 kB / 0.8515 GB, free: 96.97 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003987/0.7453, allocations: 3.734 MB / 0.8551 GB, free: 93.23 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004818/0.7501, allocations: 6.849 MB / 0.8618 GB, free: 85.23 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.163/0.9131, allocations: 50.65 MB / 0.9113 GB, free: 34.8 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.9131, allocations: 16 kB / 0.9113 GB, free: 34.79 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01645/0.9296, allocations: 11.28 MB / 0.9223 GB, free: 23.45 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.9296, allocations: 28 kB / 0.9223 GB, free: 23.42 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01131/0.9409, allocations: 8.877 MB / 0.931 GB, free: 14.49 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02116/0.9621, allocations: 3.946 MB / 0.9348 GB, free: 10.56 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006259/0.9683, allocations: 2.176 MB / 0.937 GB, free: 8.379 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006937/0.9753, allocations: 12.06 MB / 0.9488 GB, free: 11.62 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005186/0.9805, allocations: 411.2 kB / 0.9491 GB, free: 11.24 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/0.9818, allocations: 0.5035 MB / 0.9496 GB, free: 10.74 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.008997/0.9908, allocations: 5.229 MB / 0.9547 GB, free: 5.508 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006944/0.9978, allocations: 6.782 MB / 0.9614 GB, free: 13.54 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1637/1.161, allocations: 48.39 MB / 1.009 GB, free: 12.29 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.923e-05/1.162, allocations: 23.94 kB / 1.009 GB, free: 12.26 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01988/1.181, allocations: 10.97 MB / 1.019 GB, free: 1.234 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/1.181, allocations: 41.38 kB / 1.019 GB, free: 1.195 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01322/1.195, allocations: 8.497 MB / 1.028 GB, free: 8.633 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/1.196, allocations: 0.7132 MB / 1.028 GB, free: 7.914 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005128/1.201, allocations: 2.172 MB / 1.031 GB, free: 5.738 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008575/1.21, allocations: 12.95 MB / 1.043 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005868/1.216, allocations: 415.9 kB / 1.044 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001683/1.217, allocations: 0.4919 MB / 1.044 GB, free: 7.152 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.002853/1.22, allocations: 0.6782 MB / 1.045 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002851/1.223, allocations: 0.7061 MB / 1.045 GB, free: 5.805 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.31/1.533, allocations: 9.813 MB / 1.055 GB, free: 270.9 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.421074484474957] Failed to read output from testmodel.py, exit status != 0: 1.6909492751583457 1.697678668 1.4311865 Calling exit ...