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.01529/0.01529, allocations: 1.761 MB / 20.61 MB, free: 1.02 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.001553/0.001553, allocations: 105.8 kB / 24.18 MB, free: 2.465 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.001916/0.001916, allocations: 209.3 kB / 27.9 MB, free: 3.77 MB / 19.63 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.475/1.475, allocations: 230.6 MB / 262.1 MB, free: 5.855 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.088/1.088, allocations: 130.7 MB / 449.6 MB, free: 6.355 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.06483/0.06483, allocations: 20.98 MB / 0.6363 GB, free: 4.176 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.2393, allocations: 81.9 MB / 0.7163 GB, free: 2.188 MB / 0.5294 GB 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.5433/0.7826, allocations: 56.58 MB / 0.7716 GB, free: 13.39 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04408/0.8266, allocations: 25.79 MB / 0.7968 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009609/0.8362, allocations: 143.3 kB / 0.7969 GB, free: 11.13 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009931/0.8462, allocations: 2.941 MB / 0.7998 GB, free: 9.086 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01722/0.8634, allocations: 4.834 MB / 0.8045 GB, free: 5.262 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0146/0.878, allocations: 4.893 MB / 0.8093 GB, free: 1.551 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02269/0.9007, allocations: 13.1 MB / 0.8221 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009392/0.9101, allocations: 4.035 MB / 0.826 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01239/0.9225, allocations: 5.255 MB / 0.8311 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.9334, allocations: 5.217 MB / 0.8362 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004097/0.9375, allocations: 0.8828 MB / 0.8371 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.9481, allocations: 3.107 MB / 0.8401 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005375/0.9535, allocations: 2.702 MB / 0.8428 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009445/0.9629, allocations: 3.432 MB / 0.8461 GB, free: 13.2 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02818/0.9911, allocations: 14.34 MB / 0.8601 GB, free: 14.8 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.9911, allocations: 2.656 kB / 0.8601 GB, free: 14.8 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9911, allocations: 0 / 0.8601 GB, free: 14.8 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005038/0.9916, allocations: 0 / 0.8601 GB, free: 14.8 MB / 0.6388 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.03104/1.023, allocations: 10.08 MB / 0.87 GB, free: 4.652 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.023, allocations: 8.031 kB / 0.87 GB, free: 4.645 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005039/1.028, allocations: 1.052 MB / 0.871 GB, free: 3.59 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01836/1.046, allocations: 6.482 MB / 0.8773 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006432/1.047, allocations: 431.2 kB / 0.8777 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002085/1.049, allocations: 423.9 kB / 0.8781 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03088/1.08, allocations: 12.57 MB / 0.8904 GB, free: 14.09 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002407/1.08, allocations: 43.56 kB / 0.8905 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001804/1.082, allocations: 210.7 kB / 0.8907 GB, free: 13.84 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005466/1.082, allocations: 354.6 kB / 0.891 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02529/1.108, allocations: 8.905 MB / 0.8997 GB, free: 4.59 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.06327/1.171, allocations: 39.55 MB / 0.9383 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02208/1.193, allocations: 7.352 MB / 0.9455 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007144/1.2, allocations: 2.835 MB / 0.9483 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001953/1.202, allocations: 390.3 kB / 0.9486 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01911/1.221, allocations: 5.935 MB / 0.9544 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 2.022e-05/1.221, allocations: 0 / 0.9544 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1094/1.331, allocations: 48.32 MB / 1.002 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009123/1.332, allocations: 1.633 MB / 1.003 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.342, allocations: 5.591 MB / 1.009 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001768/1.344, allocations: 97.7 kB / 1.009 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003065/1.347, allocations: 2.853 MB / 1.012 GB, free: 15.84 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004504/1.351, allocations: 2.734 MB / 1.014 GB, free: 13.08 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00328/1.354, allocations: 1.676 MB / 1.016 GB, free: 11.39 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.355, allocations: 307.8 kB / 1.016 GB, free: 11.09 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007149/1.362, allocations: 3.728 MB / 1.02 GB, free: 7.352 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009573/1.371, allocations: 6.847 MB / 1.026 GB, free: 15.32 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6742/2.045, allocations: 50.63 MB / 1.076 GB, free: 344 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.293e-05/2.045, allocations: 18.69 kB / 1.076 GB, free: 344 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02271/2.068, allocations: 11.28 MB / 1.087 GB, free: 339.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/2.068, allocations: 33.88 kB / 1.087 GB, free: 339.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01566/2.084, allocations: 8.878 MB / 1.096 GB, free: 334.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03924/2.123, allocations: 3.933 MB / 1.1 GB, free: 330.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008282/2.131, allocations: 2.176 MB / 1.102 GB, free: 328.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00829/2.14, allocations: 12.09 MB / 1.113 GB, free: 315.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00661/2.146, allocations: 405.8 kB / 1.114 GB, free: 315.3 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/2.148, allocations: 0.5056 MB / 1.114 GB, free: 314.8 MB / 0.8263 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.008641/2.156, allocations: 5.236 MB / 1.119 GB, free: 309.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006359/2.163, allocations: 6.787 MB / 1.126 GB, free: 301.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2888/2.452, allocations: 48.39 MB / 1.173 GB, free: 252.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.471e-05/2.452, allocations: 16 kB / 1.173 GB, free: 252.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02344/2.475, allocations: 10.97 MB / 1.184 GB, free: 241.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/2.475, allocations: 34.34 kB / 1.184 GB, free: 241.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01416/2.489, allocations: 8.501 MB / 1.192 GB, free: 233 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/2.491, allocations: 0.7022 MB / 1.193 GB, free: 232.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007672/2.499, allocations: 2.172 MB / 1.195 GB, free: 230.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008608/2.507, allocations: 12.97 MB / 1.208 GB, free: 216.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007253/2.515, allocations: 417.6 kB / 1.208 GB, free: 216.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002081/2.517, allocations: 0.4958 MB / 1.209 GB, free: 215.6 MB / 0.8263 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.003836/2.521, allocations: 0.6728 MB / 1.209 GB, free: 215 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003555/2.524, allocations: 0.7098 MB / 1.21 GB, free: 214.6 MB / 0.8263 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.01911/2.543, allocations: 9.829 MB / 1.22 GB, free: 205.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.519897665828466] Failed to read output from testmodel.py, exit status != 0: 2.7238710448145866 2.734660707 1.740878927 Calling exit ...