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.0085/0.0085, allocations: 1.795 MB / 21.89 MB, free: 2.641 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.0007733/0.0007733, allocations: 86.88 kB / 25.62 MB, free: 6.527 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.000877/0.000877, allocations: 163 kB / 29.46 MB, free: 3.039 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.8895/0.8895, allocations: 177.1 MB / 210.3 MB, free: 1.762 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.7196/0.7196, allocations: 102.5 MB / 369.8 MB, free: 0.9648 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.[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.212e-06/1.212e-06, allocations: 0 / 469.9 MB, free: 12.98 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.866e-05, allocations: 2.312 kB / 469.9 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.2913/0.2913, allocations: 75.89 MB / 0.533 GB, free: 68.77 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02884/0.3201, allocations: 26.57 MB / 0.5589 GB, free: 50.8 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004757/0.3249, allocations: 141.5 kB / 0.5591 GB, free: 50.73 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006278/0.3312, allocations: 2.962 MB / 0.562 GB, free: 49.35 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.3421, allocations: 4.968 MB / 0.5668 GB, free: 46.37 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00913/0.3512, allocations: 4.934 MB / 0.5716 GB, free: 43.54 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01433/0.3655, allocations: 13.41 MB / 0.5847 GB, free: 35.5 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005127/0.3706, allocations: 4.261 MB / 0.5889 GB, free: 32.27 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007811/0.3784, allocations: 7.141 MB / 0.5959 GB, free: 25.4 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004683/0.3831, allocations: 4.67 MB / 0.6004 GB, free: 20.73 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00161/0.3847, allocations: 0.8867 MB / 0.6013 GB, free: 19.84 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004786/0.3895, allocations: 3.142 MB / 0.6044 GB, free: 16.7 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.3909, allocations: 2.792 MB / 0.6071 GB, free: 13.9 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003141/0.3941, allocations: 2.825 MB / 0.6099 GB, free: 11.07 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009504/0.4036, allocations: 9.424 MB / 0.6191 GB, free: 1.613 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4036, allocations: 0 / 0.6191 GB, free: 1.613 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4036, allocations: 0 / 0.6191 GB, free: 1.613 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001035/0.4037, allocations: 0 / 0.6191 GB, free: 1.613 MB / 490.8 MB 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.01131/0.415, allocations: 10.66 MB / 0.6295 GB, free: 6.871 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.415, allocations: 8.031 kB / 0.6295 GB, free: 6.863 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.4171, allocations: 1.384 MB / 0.6308 GB, free: 5.477 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006503/0.4236, allocations: 5.961 MB / 0.6366 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.4239, allocations: 435.1 kB / 0.6371 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004734/0.4244, allocations: 455.9 kB / 0.6375 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.4363, allocations: 10.52 MB / 0.6478 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-05/0.4364, allocations: 39.62 kB / 0.6478 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003777/0.4367, allocations: 208 kB / 0.648 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/0.437, allocations: 346.6 kB / 0.6483 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009636/0.4466, allocations: 4.876 MB / 0.6531 GB, free: 12.66 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.02999/0.4766, allocations: 49.24 MB / 0.7012 GB, free: 9.988 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009569/0.4862, allocations: 5.268 MB / 0.7063 GB, free: 4.496 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.4883, allocations: 1.437 MB / 0.7077 GB, free: 2.961 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007824/0.489, allocations: 408.5 kB / 0.7081 GB, free: 2.566 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007672/0.4967, allocations: 4.23 MB / 0.7123 GB, free: 14.15 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=794): time 6.673e-06/0.4967, allocations: 0 / 0.7123 GB, free: 14.15 MB / 0.5887 GB Notification: Performance of matching and sorting (n=797): time 0.2199/0.7166, allocations: 40.28 MB / 0.7516 GB, free: 188.1 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/0.7168, allocations: 1.631 MB / 0.7532 GB, free: 186.2 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004758/0.7215, allocations: 4.98 MB / 0.758 GB, free: 185.5 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0006536/0.7222, allocations: 94.92 kB / 0.7581 GB, free: 185.5 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.7236, allocations: 3.045 MB / 0.7611 GB, free: 184.2 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001489/0.7251, allocations: 2.769 MB / 0.7638 GB, free: 182.3 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/0.7268, allocations: 1.752 MB / 0.7655 GB, free: 181.7 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 3.23e-05/0.7268, allocations: 482.1 kB / 0.766 GB, free: 181.2 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/0.7295, allocations: 1.586 MB / 0.7675 GB, free: 181 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/0.7334, allocations: 5.598 MB / 0.773 GB, free: 175.7 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/0.7462, allocations: 8.257 MB / 0.7811 GB, free: 170.6 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.704e-05/0.7463, allocations: 18.47 kB / 0.7811 GB, free: 170.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01466/0.7609, allocations: 7.232 MB / 0.7881 GB, free: 168.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.761, allocations: 31.66 kB / 0.7882 GB, free: 168.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01028/0.7712, allocations: 4.851 MB / 0.7929 GB, free: 167.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04881/0.82, allocations: 3.869 MB / 0.7967 GB, free: 167.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007203/0.8272, allocations: 2.138 MB / 0.7988 GB, free: 166.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00665/0.8339, allocations: 14.87 MB / 0.8133 GB, free: 150.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005738/0.8396, allocations: 371 kB / 0.8136 GB, free: 150.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008409/0.8405, allocations: 0.5023 MB / 0.8141 GB, free: 150 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.005792/0.8463, allocations: 1.785 MB / 0.8159 GB, free: 148.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003972/0.8502, allocations: 5.575 MB / 0.8213 GB, free: 141.7 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008081/0.8583, allocations: 8.151 MB / 0.8293 GB, free: 132.8 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-05/0.8583, allocations: 20 kB / 0.8293 GB, free: 132.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.009318/0.8677, allocations: 6.991 MB / 0.8361 GB, free: 126.4 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.8677, allocations: 40.44 kB / 0.8362 GB, free: 126.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006302/0.874, allocations: 4.537 MB / 0.8406 GB, free: 121.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.8753, allocations: 0.5585 MB / 0.8411 GB, free: 121.2 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/0.8793, allocations: 2.131 MB / 0.8432 GB, free: 119.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/0.8837, allocations: 16.01 MB / 0.8589 GB, free: 102.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.8868, allocations: 370.7 kB / 0.8592 GB, free: 101.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004733/0.8873, allocations: 0.4957 MB / 0.8597 GB, free: 101.4 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.00157/0.8888, allocations: 0.7653 MB / 0.8604 GB, free: 100.6 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/0.8901, allocations: 0.8309 MB / 0.8613 GB, free: 99.8 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.008561/0.8987, allocations: 8.252 MB / 0.8693 GB, free: 92.15 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5145614130888134]