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.01343/0.01343, allocations: 1.753 MB / 21.38 MB, free: 0.582 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.001517/0.001517, allocations: 103.8 kB / 24.98 MB, free: 2.184 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.001965/0.001965, allocations: 206 kB / 28.71 MB, free: 3.461 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.499/1.499, allocations: 230.6 MB / 262.9 MB, free: 6.23 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.096/1.096, allocations: 130.7 MB / 450.4 MB, free: 6.578 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.03115/0.03115, allocations: 20.61 MB / 0.6368 GB, free: 4.809 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.2234, allocations: 81.9 MB / 0.7168 GB, free: 2.82 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.5275/0.7509, allocations: 60.1 MB / 0.7755 GB, free: 10.11 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04741/0.7983, allocations: 27.01 MB / 0.8019 GB, free: 6.668 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0105/0.8088, allocations: 144.2 kB / 0.802 GB, free: 6.602 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.8189, allocations: 3.087 MB / 0.805 GB, free: 4.426 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01805/0.837, allocations: 4.831 MB / 0.8097 GB, free: 0.5898 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01454/0.8515, allocations: 4.908 MB / 0.8145 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02448/0.876, allocations: 13.12 MB / 0.8273 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009526/0.8855, allocations: 3.836 MB / 0.8311 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/0.8986, allocations: 5.229 MB / 0.8362 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01192/0.9105, allocations: 5.493 MB / 0.8416 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004444/0.9149, allocations: 0.8906 MB / 0.8424 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01344/0.9284, allocations: 4.256 MB / 0.8466 GB, free: 14.01 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005859/0.9342, allocations: 2.714 MB / 0.8492 GB, free: 11.29 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01115/0.9454, allocations: 4.392 MB / 0.8535 GB, free: 6.875 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03029/0.9757, allocations: 14.56 MB / 0.8677 GB, free: 8.266 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.9757, allocations: 0 / 0.8677 GB, free: 8.266 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9757, allocations: 0 / 0.8677 GB, free: 8.266 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.000496/0.9762, allocations: 0 / 0.8677 GB, free: 8.266 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.0336/1.01, allocations: 10.08 MB / 0.8776 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.01, allocations: 8.031 kB / 0.8776 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005773/1.016, allocations: 1.052 MB / 0.8786 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01691/1.033, allocations: 6.468 MB / 0.8849 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006418/1.033, allocations: 433.9 kB / 0.8854 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00202/1.035, allocations: 423.9 kB / 0.8858 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03186/1.067, allocations: 10.83 MB / 0.8963 GB, free: 9.809 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002288/1.067, allocations: 39.62 kB / 0.8964 GB, free: 9.77 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001779/1.069, allocations: 208 kB / 0.8966 GB, free: 9.566 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005637/1.07, allocations: 354.6 kB / 0.8969 GB, free: 9.219 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02699/1.097, allocations: 8.94 MB / 0.9056 GB, free: 288 kB / 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.06815/1.165, allocations: 42.96 MB / 0.9476 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02195/1.187, allocations: 7.387 MB / 0.9548 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006773/1.193, allocations: 2.83 MB / 0.9576 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001849/1.195, allocations: 434.1 kB / 0.958 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01819/1.213, allocations: 5.938 MB / 0.9638 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 1.52e-05/1.214, allocations: 0 / 0.9638 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1058/1.319, allocations: 48.32 MB / 1.011 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008743/1.32, allocations: 1.636 MB / 1.013 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00967/1.33, allocations: 5.646 MB / 1.018 GB, free: 10.88 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001521/1.331, allocations: 93.7 kB / 1.018 GB, free: 10.79 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002817/1.334, allocations: 2.85 MB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004038/1.338, allocations: 2.738 MB / 1.024 GB, free: 5.152 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003396/1.342, allocations: 1.679 MB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.342, allocations: 301.1 kB / 1.026 GB, free: 3.168 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007237/1.349, allocations: 3.736 MB / 1.029 GB, free: 15.41 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009911/1.359, allocations: 6.016 MB / 1.035 GB, free: 8.473 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7169/2.076, allocations: 50.63 MB / 1.085 GB, free: 341.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.056e-05/2.076, allocations: 19.34 kB / 1.085 GB, free: 341.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02577/2.102, allocations: 11.29 MB / 1.096 GB, free: 335.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/2.102, allocations: 34.75 kB / 1.096 GB, free: 335.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01954/2.121, allocations: 8.878 MB / 1.104 GB, free: 327.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04285/2.164, allocations: 3.931 MB / 1.108 GB, free: 323.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008512/2.173, allocations: 2.176 MB / 1.11 GB, free: 321.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008991/2.182, allocations: 12.25 MB / 1.122 GB, free: 308.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00719/2.189, allocations: 414.3 kB / 1.123 GB, free: 308.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/2.191, allocations: 0.5066 MB / 1.123 GB, free: 307.7 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.01202/2.203, allocations: 5.228 MB / 1.128 GB, free: 302.5 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008626/2.211, allocations: 5.953 MB / 1.134 GB, free: 295.6 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3068/2.518, allocations: 48.39 MB / 1.181 GB, free: 246.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.995e-05/2.518, allocations: 16 kB / 1.181 GB, free: 246.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02525/2.544, allocations: 10.98 MB / 1.192 GB, free: 235.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-05/2.544, allocations: 34.19 kB / 1.192 GB, free: 235.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01755/2.561, allocations: 8.493 MB / 1.2 GB, free: 227 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/2.563, allocations: 0.7109 MB / 1.201 GB, free: 226.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008413/2.572, allocations: 2.176 MB / 1.203 GB, free: 224.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009451/2.581, allocations: 13.16 MB / 1.216 GB, free: 210.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007327/2.589, allocations: 422.8 kB / 1.216 GB, free: 209.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001998/2.591, allocations: 0.4958 MB / 1.217 GB, free: 209.3 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.003864/2.594, allocations: 0.6775 MB / 1.218 GB, free: 208.7 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003422/2.598, allocations: 0.717 MB / 1.218 GB, free: 208.2 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.02017/2.618, allocations: 9.801 MB / 1.228 GB, free: 198.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.542896060971543] Failed to read output from testmodel.py, exit status != 0: 2.7864512159721926 2.797585597 1.818943126 Calling exit ...