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.01724/0.01724, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001976/0.001976, allocations: 77.7 kB / 24.88 MB, free: 6.301 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.002272/0.002272, allocations: 165.6 kB / 28.74 MB, free: 3.492 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.516/1.516, allocations: 177.2 MB / 209.6 MB, free: 2.387 MB / 186.7 MB " [Timeout remaining time 178] 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 1.135/1.135, allocations: 102.5 MB / 369.1 MB, free: 0.9102 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 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.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.623e-06/1.623e-06, allocations: 0 / 469.2 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.575e-05, allocations: 4.562 kB / 469.2 MB, free: 12.98 MB / 442.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.4924/0.4924, allocations: 73.59 MB / 0.53 GB, free: 69.3 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03942/0.5318, allocations: 26.47 MB / 0.5559 GB, free: 51.81 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006829/0.5387, allocations: 144.7 kB / 0.556 GB, free: 51.74 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0087/0.5474, allocations: 2.96 MB / 0.5589 GB, free: 50.36 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.5628, allocations: 4.965 MB / 0.5638 GB, free: 47.38 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0131/0.5759, allocations: 4.94 MB / 0.5686 GB, free: 44.72 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0192/0.5951, allocations: 13.41 MB / 0.5817 GB, free: 37.05 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008943/0.6041, allocations: 4.265 MB / 0.5858 GB, free: 33.82 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02308/0.6271, allocations: 7.132 MB / 0.5928 GB, free: 27.54 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009671/0.6368, allocations: 4.676 MB / 0.5974 GB, free: 22.85 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003452/0.6403, allocations: 0.8893 MB / 0.5982 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009758/0.65, allocations: 3.142 MB / 0.6013 GB, free: 18.82 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004215/0.6542, allocations: 2.788 MB / 0.604 GB, free: 16.02 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007205/0.6614, allocations: 2.833 MB / 0.6068 GB, free: 13.18 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.6817, allocations: 14.48 MB / 0.6209 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6817, allocations: 0 / 0.6209 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6817, allocations: 0 / 0.6209 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004067/0.6821, allocations: 0 / 0.6209 GB, free: 14.66 MB / 0.4949 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.03377/0.7159, allocations: 12.4 MB / 0.6331 GB, free: 2.18 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.7159, allocations: 8.031 kB / 0.6331 GB, free: 2.172 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007455/0.7234, allocations: 1.384 MB / 0.6344 GB, free: 0.7852 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01775/0.7411, allocations: 6.062 MB / 0.6403 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007023/0.7418, allocations: 442.6 kB / 0.6408 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002286/0.7441, allocations: 451.9 kB / 0.6412 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03404/0.7782, allocations: 13.06 MB / 0.6539 GB, free: 10.77 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002461/0.7784, allocations: 47.56 kB / 0.654 GB, free: 10.72 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001818/0.7802, allocations: 208 kB / 0.6542 GB, free: 10.52 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006304/0.7809, allocations: 349.3 kB / 0.6545 GB, free: 10.18 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02652/0.8074, allocations: 7.572 MB / 0.6619 GB, free: 2.609 MB / 0.5262 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.08689/0.8943, allocations: 60.39 MB / 0.7209 GB, free: 4.086 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/0.9161, allocations: 6.859 MB / 0.7276 GB, free: 12.99 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006807/0.9229, allocations: 2.315 MB / 0.7298 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002026/0.9249, allocations: 403.5 kB / 0.7302 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02011/0.945, allocations: 6.142 MB / 0.7362 GB, free: 3.867 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=794): time 1.894e-05/0.945, allocations: 0 / 0.7362 GB, free: 3.867 MB / 0.6043 GB Notification: Performance of matching and sorting (n=797): time 0.3743/1.319, allocations: 46.68 MB / 0.7818 GB, free: 168.1 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004414/1.32, allocations: 1.628 MB / 0.7834 GB, free: 166.2 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/1.331, allocations: 6.956 MB / 0.7902 GB, free: 163.3 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001625/1.332, allocations: 100.4 kB / 0.7903 GB, free: 163.3 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002615/1.335, allocations: 3.357 MB / 0.7936 GB, free: 161 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003747/1.339, allocations: 3.009 MB / 0.7965 GB, free: 158.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003969/1.343, allocations: 2.09 MB / 0.7986 GB, free: 158 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/1.343, allocations: 487.3 kB / 0.799 GB, free: 157.5 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006006/1.349, allocations: 3.206 MB / 0.8022 GB, free: 156.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009285/1.358, allocations: 7.585 MB / 0.8096 GB, free: 149.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02095/1.379, allocations: 13.51 MB / 0.8228 GB, free: 135.5 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.089e-05/1.379, allocations: 22.38 kB / 0.8228 GB, free: 135.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02735/1.406, allocations: 10.55 MB / 0.8331 GB, free: 126 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.591e-05/1.406, allocations: 32.98 kB / 0.8331 GB, free: 126 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0188/1.425, allocations: 7.708 MB / 0.8406 GB, free: 119.2 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04667/1.472, allocations: 3.986 MB / 0.8445 GB, free: 115.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008633/1.481, allocations: 2.144 MB / 0.8466 GB, free: 113.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009449/1.49, allocations: 15.6 MB / 0.8619 GB, free: 97.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007026/1.497, allocations: 366.7 kB / 0.8622 GB, free: 96.78 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/1.499, allocations: 0.5035 MB / 0.8627 GB, free: 96.28 MB / 0.6043 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.01196/1.511, allocations: 4.234 MB / 0.8668 GB, free: 92.04 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01036/1.521, allocations: 7.527 MB / 0.8742 GB, free: 82.97 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02202/1.543, allocations: 13.35 MB / 0.8872 GB, free: 68.47 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001/1.543, allocations: 20 kB / 0.8872 GB, free: 68.45 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02689/1.57, allocations: 10.25 MB / 0.8972 GB, free: 58.18 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 7.196e-05/1.57, allocations: 32 kB / 0.8973 GB, free: 58.15 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01955/1.59, allocations: 7.324 MB / 0.9044 GB, free: 50.76 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/1.593, allocations: 0.6581 MB / 0.9051 GB, free: 50.11 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008986/1.602, allocations: 2.135 MB / 0.9072 GB, free: 47.97 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00987/1.611, allocations: 16.75 MB / 0.9235 GB, free: 30.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008228/1.62, allocations: 372.8 kB / 0.9239 GB, free: 29.97 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002266/1.622, allocations: 0.4957 MB / 0.9243 GB, free: 29.48 MB / 0.6043 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.004193/1.626, allocations: 0.7634 MB / 0.9251 GB, free: 28.72 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005201/1.631, allocations: 0.8317 MB / 0.9259 GB, free: 27.89 MB / 0.6043 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.02152/1.653, allocations: 9.305 MB / 0.935 GB, free: 19.07 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.6785931589547545]