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.01006/0.01006, allocations: 1.773 MB / 18.82 MB, free: 4.246 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.001142/0.001142, allocations: 111.6 kB / 22.07 MB, free: 0.9922 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.00161/0.00161, allocations: 211.2 kB / 25.45 MB, free: 3.254 MB / 14.72 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.522/1.522, allocations: 230.6 MB / 259.2 MB, free: 13.14 MB / 206.1 MB " [Timeout remaining time 178] 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 1.111/1.111, allocations: 130.6 MB / 446.3 MB, free: 14.66 MB / 350.1 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.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_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: 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4286/0.4286, allocations: 46.14 MB / 0.6557 GB, free: 31.17 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.6338, allocations: 89.05 MB / 0.7426 GB, free: 2.516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff): time 0.03492/0.6687, allocations: 27.11 MB / 0.7691 GB, free: 7.301 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.05512/0.7239, allocations: 26.7 MB / 0.7952 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009271/0.7331, allocations: 142.9 kB / 0.7953 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01021/0.7433, allocations: 3.029 MB / 0.7983 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02069/0.764, allocations: 4.711 MB / 0.8029 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01833/0.7824, allocations: 4.78 MB / 0.8075 GB, free: 15.83 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02454/0.8069, allocations: 13.09 MB / 0.8203 GB, free: 2.699 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01054/0.8175, allocations: 4.001 MB / 0.8242 GB, free: 14.63 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01277/0.8302, allocations: 5.225 MB / 0.8293 GB, free: 9.391 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01151/0.8417, allocations: 5.458 MB / 0.8347 GB, free: 3.91 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.004597/0.8463, allocations: 0.8906 MB / 0.8355 GB, free: 3.02 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.8585, allocations: 3.95 MB / 0.8394 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006047/0.8645, allocations: 2.706 MB / 0.842 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01119/0.8757, allocations: 4.392 MB / 0.8463 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02954/0.9052, allocations: 14.46 MB / 0.8604 GB, free: 9.422 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9052, allocations: 0 / 0.8604 GB, free: 9.422 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9052, allocations: 0 / 0.8604 GB, free: 9.422 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.00051/0.9058, allocations: 0 / 0.8604 GB, free: 9.422 MB / 0.67 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.02942/0.9352, allocations: 9.016 MB / 0.8692 GB, free: 304 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.9352, allocations: 16.02 kB / 0.8693 GB, free: 288 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4078/1.343, allocations: 1.04 MB / 0.8703 GB, free: 112.6 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/1.357, allocations: 6.648 MB / 0.8768 GB, free: 111.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/1.358, allocations: 379.3 kB / 0.8771 GB, free: 110.9 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001664/1.359, allocations: 427.1 kB / 0.8775 GB, free: 110.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0263/1.386, allocations: 10.83 MB / 0.8881 GB, free: 105 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/1.386, allocations: 43.94 kB / 0.8882 GB, free: 105 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006331/1.386, allocations: 209.2 kB / 0.8884 GB, free: 104.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003542/1.387, allocations: 352.9 kB / 0.8887 GB, free: 104.8 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02399/1.411, allocations: 8.939 MB / 0.8974 GB, free: 101.4 MB / 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.06263/1.473, allocations: 43.38 MB / 0.9398 GB, free: 63.69 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02208/1.495, allocations: 7.76 MB / 0.9474 GB, free: 59.09 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006395/1.502, allocations: 2.833 MB / 0.9501 GB, free: 57.41 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001953/1.504, allocations: 0.8634 MB / 0.951 GB, free: 56.72 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0165/1.52, allocations: 5.932 MB / 0.9568 GB, free: 53.25 MB / 0.67 GB Notification: Performance of pre-optimization done (n=794): time 1.656e-05/1.52, allocations: 6.156 kB / 0.9568 GB, free: 53.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=797): time 0.08837/1.609, allocations: 48.88 MB / 1.004 GB, free: 7.742 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003186/1.609, allocations: 1.629 MB / 1.006 GB, free: 5.742 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007516/1.617, allocations: 5.649 MB / 1.012 GB, free: 92 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001713/1.618, allocations: 100.8 kB / 1.012 GB, free: 15.99 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002708/1.621, allocations: 2.845 MB / 1.014 GB, free: 13.14 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.004113/1.625, allocations: 2.739 MB / 1.017 GB, free: 10.45 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003112/1.628, allocations: 1.672 MB / 1.019 GB, free: 8.762 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.628, allocations: 305.1 kB / 1.019 GB, free: 8.461 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006844/1.635, allocations: 3.733 MB / 1.023 GB, free: 4.719 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009507/1.645, allocations: 6.011 MB / 1.029 GB, free: 13.81 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3438/1.988, allocations: 50.63 MB / 1.078 GB, free: 11.06 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.522e-05/1.988, allocations: 21.88 kB / 1.078 GB, free: 11.04 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02982/2.018, allocations: 11.27 MB / 1.089 GB, free: 15.76 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-05/2.018, allocations: 32 kB / 1.089 GB, free: 15.73 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02205/2.04, allocations: 8.879 MB / 1.098 GB, free: 6.797 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04352/2.084, allocations: 3.942 MB / 1.102 GB, free: 2.867 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009445/2.093, allocations: 2.176 MB / 1.104 GB, free: 0.6875 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/2.107, allocations: 12.88 MB / 1.116 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007084/2.114, allocations: 415.2 kB / 1.117 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001919/2.116, allocations: 0.5047 MB / 1.117 GB, free: 1.984 MB / 0.7794 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.01191/2.128, allocations: 5.227 MB / 1.122 GB, free: 12.75 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01034/2.139, allocations: 5.951 MB / 1.128 GB, free: 5.82 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.317/2.456, allocations: 48.39 MB / 1.175 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.155e-05/2.456, allocations: 16 kB / 1.175 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02518/2.481, allocations: 10.98 MB / 1.186 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/2.481, allocations: 35.94 kB / 1.186 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01738/2.498, allocations: 8.5 MB / 1.194 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/2.5, allocations: 0.7072 MB / 1.195 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4633/2.964, allocations: 2.168 MB / 1.197 GB, free: 284.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/2.974, allocations: 13.88 MB / 1.211 GB, free: 273.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008204/2.983, allocations: 419.6 kB / 1.211 GB, free: 273.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002355/2.985, allocations: 0.496 MB / 1.212 GB, free: 273.3 MB / 0.8575 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.003236/2.988, allocations: 0.6727 MB / 1.212 GB, free: 273.1 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002659/2.991, allocations: 0.7235 MB / 1.213 GB, free: 273.1 MB / 0.8575 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.02223/3.013, allocations: 9.798 MB / 1.223 GB, free: 271.7 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.715891182015184] Failed to read output from testmodel.py, exit status != 0: 3.022512548021041 3.033830555 2.125070837 Calling exit ...