Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple.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.01568/0.01568, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001261/0.001261, allocations: 108.2 kB / 24.19 MB, free: 2.688 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.001656/0.001656, allocations: 210.7 kB / 27.92 MB, free: 4.027 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.436/1.436, allocations: 230.6 MB / 262.1 MB, free: 6.02 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.042/1.042, allocations: 130.7 MB / 449.6 MB, free: 6.602 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_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,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.p_vap|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_BU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50010,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.p_vap|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_BU_simple") [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.03275/0.03275, allocations: 20.78 MB / 0.6362 GB, free: 4.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.194, allocations: 81.91 MB / 0.7162 GB, free: 2.66 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_BU_simple): time 0.4995/0.6935, allocations: 61.13 MB / 0.7759 GB, free: 9.309 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04621/0.7397, allocations: 27.6 MB / 0.8029 GB, free: 5.281 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009915/0.7497, allocations: 147.8 kB / 0.803 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009982/0.7596, allocations: 3.115 MB / 0.806 GB, free: 2.992 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01801/0.7777, allocations: 5.007 MB / 0.8109 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.792, allocations: 5.091 MB / 0.8159 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02346/0.8154, allocations: 13.99 MB / 0.8296 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009915/0.8253, allocations: 4.174 MB / 0.8336 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01331/0.8386, allocations: 5.595 MB / 0.8391 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0119/0.8505, allocations: 5.941 MB / 0.8449 GB, free: 14.95 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.003947/0.8545, allocations: 0.983 MB / 0.8459 GB, free: 13.97 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.8661, allocations: 4.343 MB / 0.8501 GB, free: 9.633 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.006196/0.8723, allocations: 3.101 MB / 0.8531 GB, free: 6.527 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01109/0.8834, allocations: 4.871 MB / 0.8579 GB, free: 1.633 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03057/0.9139, allocations: 16.02 MB / 0.8735 GB, free: 1.559 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.9139, allocations: 0 / 0.8735 GB, free: 1.559 MB / 0.6388 GB Notification: Performance of FrontEnd: time 4.298e-06/0.9139, allocations: 4 kB / 0.8736 GB, free: 1.555 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004211/0.9144, allocations: 0 / 0.8736 GB, free: 1.555 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: 1685 * Number of variables: 1685 Notification: Performance of Generate backend data structure: time 0.03512/0.9495, allocations: 11.26 MB / 0.8846 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.9495, allocations: 8.031 kB / 0.8846 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005154/0.9547, allocations: 1.122 MB / 0.8857 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/0.9732, allocations: 7.511 MB / 0.893 GB, free: 13.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005457/0.9737, allocations: 455.6 kB / 0.8934 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001553/0.9753, allocations: 435.9 kB / 0.8938 GB, free: 12.67 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02834/1.004, allocations: 11.68 MB / 0.9052 GB, free: 15.91 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/1.004, allocations: 47.56 kB / 0.9053 GB, free: 15.87 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007279/1.004, allocations: 220 kB / 0.9055 GB, free: 15.65 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005022/1.005, allocations: 421.7 kB / 0.9059 GB, free: 15.25 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02705/1.032, allocations: 9.735 MB / 0.9154 GB, free: 5.52 MB / 0.6857 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.07598/1.108, allocations: 46.38 MB / 0.9607 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02332/1.131, allocations: 7.991 MB / 0.9685 GB, free: 13.71 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007615/1.139, allocations: 3.08 MB / 0.9715 GB, free: 10.56 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001921/1.141, allocations: 426.1 kB / 0.9719 GB, free: 10.16 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01992/1.161, allocations: 6.332 MB / 0.9781 GB, free: 3.691 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004121/1.165, allocations: 0.564 MB / 0.9786 GB, free: 3.125 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 2.534e-05/1.165, allocations: 0 / 0.9786 GB, free: 3.125 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1155/1.28, allocations: 52.79 MB / 1.03 GB, free: 14.01 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001064/1.282, allocations: 1.769 MB / 1.032 GB, free: 11.82 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01274/1.294, allocations: 6.891 MB / 1.039 GB, free: 4.965 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001649/1.296, allocations: 101.7 kB / 1.039 GB, free: 4.859 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003232/1.299, allocations: 3.188 MB / 1.042 GB, free: 1.648 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004167/1.303, allocations: 2.872 MB / 1.045 GB, free: 14.75 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0034/1.307, allocations: 1.811 MB / 1.046 GB, free: 12.93 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.307, allocations: 304.9 kB / 1.047 GB, free: 12.63 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007841/1.315, allocations: 4.045 MB / 1.051 GB, free: 8.574 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01104/1.326, allocations: 6.665 MB / 1.057 GB, free: 0.8398 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6498/1.976, allocations: 52.02 MB / 1.108 GB, free: 320.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.777e-05/1.976, allocations: 20 kB / 1.108 GB, free: 320.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02429/2, allocations: 12.32 MB / 1.12 GB, free: 308.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/2, allocations: 38.34 kB / 1.12 GB, free: 308.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0165/2.016, allocations: 9.471 MB / 1.129 GB, free: 299 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04239/2.059, allocations: 3.904 MB / 1.133 GB, free: 295.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008529/2.067, allocations: 2.402 MB / 1.135 GB, free: 292.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009918/2.077, allocations: 13.42 MB / 1.149 GB, free: 278.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007433/2.085, allocations: 0.509 MB / 1.149 GB, free: 278.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/2.086, allocations: 0.5426 MB / 1.15 GB, free: 277.5 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.009995/2.096, allocations: 5.703 MB / 1.155 GB, free: 271.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008172/2.105, allocations: 6.597 MB / 1.162 GB, free: 264.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2987/2.403, allocations: 49.78 MB / 1.21 GB, free: 213.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.335e-05/2.403, allocations: 24 kB / 1.21 GB, free: 213.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02242/2.426, allocations: 11.95 MB / 1.222 GB, free: 201.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/2.426, allocations: 36 kB / 1.222 GB, free: 201.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01532/2.441, allocations: 9.063 MB / 1.231 GB, free: 192.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/2.443, allocations: 0.6602 MB / 1.231 GB, free: 191.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007967/2.451, allocations: 2.395 MB / 1.234 GB, free: 189.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/2.461, allocations: 14.34 MB / 1.248 GB, free: 174.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007398/2.469, allocations: 0.5081 MB / 1.248 GB, free: 173.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/2.47, allocations: 0.5426 MB / 1.249 GB, free: 173.2 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: 330 * 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 (1154): * Single equations (assignments): 1145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * 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): 3 systems {(4,3,87.5%), (1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.00217/2.472, allocations: 0.7236 MB / 1.25 GB, free: 172.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002144/2.475, allocations: 0.7854 MB / 1.25 GB, free: 172 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 1268 equation(s) and 1214 variable(s). Error: ($cse509, $cse510, $cse511, $cse512, $cse513, $cse514, $cse515, $cse516, $cse517, $cse518, $cse519, $cse520) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(massFlowSource_h1.steam_a.p, -1.0, {}, massFlowSource_h1.fluidOut.vleFluidPointer) has size 12 but 3 variables (hex.shell.Q_flow[2], hex.shell.heattransfer.Q_flow_tot, hex.shell.summary.outline.Q_flow[2]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/2.49, allocations: 10.65 MB / 1.261 GB, free: 161.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.275650741998106] Failed to read output from testmodel.py, exit status != 0: 2.6586662081535906 2.66824273 1.751701657 Calling exit ...