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.01603/0.01603, allocations: 1.754 MB / 20.6 MB, free: 1.152 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.001346/0.001346, allocations: 101 kB / 24.18 MB, free: 2.57 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.001743/0.001743, allocations: 206.2 kB / 27.9 MB, free: 3.906 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.43/1.43, allocations: 230.6 MB / 262.1 MB, free: 5.84 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.074/1.074, allocations: 130.7 MB / 449.6 MB, free: 6.441 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.0672/0.0672, allocations: 20.98 MB / 0.6363 GB, free: 4.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.2588, allocations: 81.91 MB / 0.7163 GB, free: 2.215 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.5735/0.8323, allocations: 57.44 MB / 0.7724 GB, free: 12.85 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04661/0.8789, allocations: 26.38 MB / 0.7982 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009986/0.8889, allocations: 151.4 kB / 0.7983 GB, free: 10.02 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.8989, allocations: 2.952 MB / 0.8012 GB, free: 7.938 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0179/0.9168, allocations: 5.017 MB / 0.8061 GB, free: 3.93 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01473/0.9315, allocations: 5.072 MB / 0.8111 GB, free: 88 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02313/0.9547, allocations: 13.98 MB / 0.8247 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008786/0.9635, allocations: 4.384 MB / 0.829 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/0.9759, allocations: 5.617 MB / 0.8345 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.9876, allocations: 5.629 MB / 0.84 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004021/0.9917, allocations: 0.9787 MB / 0.8409 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/1.002, allocations: 3.195 MB / 0.844 GB, free: 15.38 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005686/1.008, allocations: 3.083 MB / 0.8471 GB, free: 12.29 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.00944/1.017, allocations: 3.826 MB / 0.8508 GB, free: 8.449 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02749/1.045, allocations: 15.81 MB / 0.8662 GB, free: 8.586 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.045, allocations: 2.656 kB / 0.8662 GB, free: 8.586 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.934e-06/1.045, allocations: 3.938 kB / 0.8662 GB, free: 8.582 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004713/1.045, allocations: 4 kB / 0.8662 GB, free: 8.578 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.0337/1.079, allocations: 11.25 MB / 0.8772 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.079, allocations: 12.03 kB / 0.8772 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/1.084, allocations: 1.126 MB / 0.8783 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02005/1.104, allocations: 7.673 MB / 0.8858 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006285/1.105, allocations: 451.6 kB / 0.8863 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001766/1.106, allocations: 439.9 kB / 0.8867 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03137/1.138, allocations: 13.6 MB / 0.9 GB, free: 4.316 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/1.138, allocations: 47.56 kB / 0.9 GB, free: 4.27 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/1.139, allocations: 216 kB / 0.9002 GB, free: 4.059 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005452/1.14, allocations: 423.1 kB / 0.9006 GB, free: 3.645 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02734/1.167, allocations: 9.703 MB / 0.9101 GB, free: 9.953 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.07021/1.237, allocations: 42.59 MB / 0.9517 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02282/1.26, allocations: 7.966 MB / 0.9595 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007627/1.268, allocations: 3.076 MB / 0.9625 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/1.269, allocations: 402.2 kB / 0.9628 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01934/1.289, allocations: 6.321 MB / 0.969 GB, free: 12.06 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003878/1.293, allocations: 0.5499 MB / 0.9696 GB, free: 11.51 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 2.168e-05/1.293, allocations: 1.531 kB / 0.9696 GB, free: 11.51 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1177/1.41, allocations: 52.79 MB / 1.021 GB, free: 6.395 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001103/1.411, allocations: 1.758 MB / 1.023 GB, free: 4.223 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01515/1.427, allocations: 6.808 MB / 1.029 GB, free: 13.44 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001918/1.429, allocations: 105.7 kB / 1.03 GB, free: 13.33 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003917/1.432, allocations: 3.202 MB / 1.033 GB, free: 10.1 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004479/1.437, allocations: 2.866 MB / 1.035 GB, free: 7.211 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004882/1.442, allocations: 1.817 MB / 1.037 GB, free: 5.383 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.442, allocations: 305.1 kB / 1.038 GB, free: 5.082 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008676/1.451, allocations: 4.035 MB / 1.042 GB, free: 1.035 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01235/1.463, allocations: 7.6 MB / 1.049 GB, free: 8.074 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6952/2.158, allocations: 52.03 MB / 1.1 GB, free: 327 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.207e-05/2.158, allocations: 24 kB / 1.1 GB, free: 327 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02862/2.187, allocations: 12.31 MB / 1.112 GB, free: 315 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.175e-05/2.187, allocations: 44.7 kB / 1.112 GB, free: 315 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02144/2.208, allocations: 9.466 MB / 1.121 GB, free: 305.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04035/2.249, allocations: 3.897 MB / 1.125 GB, free: 301.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008869/2.258, allocations: 2.395 MB / 1.127 GB, free: 299.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/2.268, allocations: 13.21 MB / 1.14 GB, free: 285.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008005/2.276, allocations: 0.5025 MB / 1.141 GB, free: 284.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/2.278, allocations: 0.5472 MB / 1.141 GB, free: 284.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0115/2.289, allocations: 5.703 MB / 1.147 GB, free: 278.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00886/2.298, allocations: 7.541 MB / 1.154 GB, free: 269.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2968/2.595, allocations: 49.78 MB / 1.203 GB, free: 218.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.346e-05/2.595, allocations: 20.62 kB / 1.203 GB, free: 218.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02425/2.619, allocations: 11.95 MB / 1.214 GB, free: 207.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/2.619, allocations: 36 kB / 1.214 GB, free: 207.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01685/2.636, allocations: 9.054 MB / 1.223 GB, free: 198.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/2.638, allocations: 0.6716 MB / 1.224 GB, free: 197.4 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008384/2.646, allocations: 2.391 MB / 1.226 GB, free: 195 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/2.657, allocations: 14.08 MB / 1.24 GB, free: 180.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008032/2.665, allocations: 0.5081 MB / 1.24 GB, free: 179.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/2.667, allocations: 0.5387 MB / 1.241 GB, free: 179.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.002988/2.67, allocations: 0.7285 MB / 1.242 GB, free: 178.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002858/2.672, allocations: 0.7727 MB / 1.242 GB, free: 178.1 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.01781/2.69, allocations: 10.68 MB / 1.253 GB, free: 167.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.58433791808784] Failed to read output from testmodel.py, exit status != 0: 2.8642807700671256 2.874509122 1.826955549 Calling exit ...