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.008184/0.008184, allocations: 1.798 MB / 21.35 MB, free: 3.191 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.0007566/0.0007566, allocations: 80.95 kB / 25.15 MB, free: 6.379 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.000851/0.000851, allocations: 165.3 kB / 29.06 MB, free: 3.371 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 1.01/1.01, allocations: 177.1 MB / 210 MB, free: 3.594 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.6914/0.6914, allocations: 102.5 MB / 369.5 MB, free: 376 kB / 330.7 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 1.0.0 (/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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 470 MB, free: 18.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.718e-05, allocations: 2.312 kB / 470 MB, free: 18.96 MB / 410.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.1563/0.1563, allocations: 76.06 MB / 0.5332 GB, free: 11.81 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.04171/0.198, allocations: 26.61 MB / 0.5592 GB, free: 1.125 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005919/0.2039, allocations: 147 kB / 0.5594 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00844/0.2124, allocations: 2.966 MB / 0.5623 GB, free: 14 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.013/0.2254, allocations: 4.964 MB / 0.5671 GB, free: 9.008 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.2364, allocations: 4.942 MB / 0.5719 GB, free: 4.055 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01748/0.2538, allocations: 13.42 MB / 0.585 GB, free: 6.594 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006739/0.2606, allocations: 4.26 MB / 0.5892 GB, free: 2.27 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01389/0.2745, allocations: 7.137 MB / 0.5962 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008774/0.2832, allocations: 4.673 MB / 0.6007 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003156/0.2864, allocations: 0.8867 MB / 0.6016 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0084/0.2948, allocations: 3.138 MB / 0.6047 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.00386/0.2987, allocations: 2.788 MB / 0.6074 GB, free: 15.6 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.006036/0.3047, allocations: 2.833 MB / 0.6102 GB, free: 12.76 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.01827/0.323, allocations: 9.421 MB / 0.6194 GB, free: 3.305 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.323, allocations: 0 / 0.6194 GB, free: 3.305 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.983e-06/0.323, allocations: 4 kB / 0.6194 GB, free: 3.301 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0003953/0.3234, allocations: 0 / 0.6194 GB, free: 3.301 MB / 0.5262 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.01868/0.3421, allocations: 10.66 MB / 0.6298 GB, free: 8.523 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.3421, allocations: 12.03 kB / 0.6298 GB, free: 8.512 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.3449, allocations: 1.388 MB / 0.6311 GB, free: 7.121 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009671/0.3546, allocations: 5.967 MB / 0.637 GB, free: 1.059 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.355, allocations: 431.2 kB / 0.6374 GB, free: 0.6094 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007233/0.3557, allocations: 455.9 kB / 0.6378 GB, free: 168 kB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01599/0.3717, allocations: 10.52 MB / 0.6481 GB, free: 3.719 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.3718, allocations: 39.62 kB / 0.6481 GB, free: 3.68 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005296/0.3723, allocations: 212 kB / 0.6483 GB, free: 3.473 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002877/0.3726, allocations: 350.5 kB / 0.6487 GB, free: 3.129 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2761/0.6487, allocations: 4.877 MB / 0.6534 GB, free: 83.83 MB / 0.5574 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.03671/0.6855, allocations: 49.22 MB / 0.7015 GB, free: 47.71 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/0.696, allocations: 5.271 MB / 0.7066 GB, free: 46.86 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002902/0.6989, allocations: 1.433 MB / 0.708 GB, free: 46.57 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008892/0.6998, allocations: 409.5 kB / 0.7084 GB, free: 46.55 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007758/0.7076, allocations: 4.225 MB / 0.7125 GB, free: 45.95 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=794): time 1.545e-05/0.7076, allocations: 2.688 kB / 0.7126 GB, free: 45.95 MB / 0.5574 GB Notification: Performance of matching and sorting (n=797): time 0.05143/0.759, allocations: 40.29 MB / 0.7519 GB, free: 24.57 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002722/0.7593, allocations: 1.634 MB / 0.7535 GB, free: 22.62 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005347/0.7646, allocations: 4.968 MB / 0.7583 GB, free: 21.16 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001274/0.7659, allocations: 98.33 kB / 0.7584 GB, free: 21.07 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001818/0.7677, allocations: 3.037 MB / 0.7614 GB, free: 18.7 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002955/0.7707, allocations: 2.765 MB / 0.7641 GB, free: 16.41 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001902/0.7726, allocations: 1.755 MB / 0.7658 GB, free: 15.4 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.917e-05/0.7726, allocations: 483.4 kB / 0.7663 GB, free: 14.93 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/0.7753, allocations: 1.59 MB / 0.7678 GB, free: 14.41 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003999/0.7793, allocations: 5.611 MB / 0.7733 GB, free: 8.77 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008805/0.7881, allocations: 8.236 MB / 0.7814 GB, free: 3.457 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.921e-05/0.7881, allocations: 17.03 kB / 0.7814 GB, free: 3.457 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01189/0.8, allocations: 7.253 MB / 0.7885 GB, free: 12.95 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.8, allocations: 32 kB / 0.7885 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00858/0.8086, allocations: 4.844 MB / 0.7932 GB, free: 8.062 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02168/0.8303, allocations: 3.862 MB / 0.797 GB, free: 4.383 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005974/0.8363, allocations: 2.137 MB / 0.7991 GB, free: 2.371 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008735/0.845, allocations: 14.87 MB / 0.8136 GB, free: 2.773 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005061/0.8501, allocations: 372.7 kB / 0.814 GB, free: 2.414 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/0.8515, allocations: 0.5035 MB / 0.8144 GB, free: 1.91 MB / 0.5887 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.00502/0.8565, allocations: 1.77 MB / 0.8162 GB, free: 140 kB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004877/0.8614, allocations: 5.577 MB / 0.8216 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01124/0.8726, allocations: 8.169 MB / 0.8296 GB, free: 15.98 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.544e-05/0.8727, allocations: 20 kB / 0.8296 GB, free: 15.96 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01248/0.8852, allocations: 6.993 MB / 0.8364 GB, free: 9.34 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.8852, allocations: 32 kB / 0.8365 GB, free: 9.309 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007675/0.8929, allocations: 4.544 MB / 0.8409 GB, free: 4.734 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.8943, allocations: 0.5525 MB / 0.8415 GB, free: 4.188 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004636/0.899, allocations: 2.133 MB / 0.8435 GB, free: 2.18 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007912/0.9069, allocations: 16.01 MB / 0.8592 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004493/0.9114, allocations: 375.9 kB / 0.8595 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009707/0.9123, allocations: 0.4945 MB / 0.86 GB, free: 0.5078 MB / 0.6355 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.002085/0.9144, allocations: 0.7666 MB / 0.8608 GB, free: 15.87 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002086/0.9165, allocations: 0.8265 MB / 0.8616 GB, free: 15.04 MB / 0.6512 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.0104/0.9269, allocations: 8.25 MB / 0.8696 GB, free: 7.508 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.133223711047322]