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.0105/0.0105, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 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.00162/0.00162, allocations: 101.1 kB / 24.93 MB, free: 2.031 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.002168/0.002168, allocations: 210.6 kB / 28.65 MB, free: 3.297 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.544/1.544, allocations: 230.6 MB / 262.8 MB, free: 5.844 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.147/1.147, allocations: 130.7 MB / 450.4 MB, free: 6.395 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.06822/0.06822, allocations: 20.99 MB / 0.6371 GB, free: 4.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.2574, allocations: 81.9 MB / 0.7171 GB, free: 2.191 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.6609/0.9183, allocations: 57.43 MB / 0.7731 GB, free: 12.84 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.05328/0.9716, allocations: 26.4 MB / 0.7989 GB, free: 10.07 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01266/0.9843, allocations: 147.6 kB / 0.7991 GB, free: 10.01 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01187/0.9961, allocations: 2.944 MB / 0.8019 GB, free: 7.934 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02404/1.02, allocations: 5.016 MB / 0.8068 GB, free: 3.922 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01792/1.038, allocations: 5.082 MB / 0.8118 GB, free: 76 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02828/1.066, allocations: 13.98 MB / 0.8254 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009781/1.076, allocations: 4.383 MB / 0.8297 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01418/1.09, allocations: 5.615 MB / 0.8352 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01274/1.103, allocations: 5.632 MB / 0.8407 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004422/1.107, allocations: 0.9792 MB / 0.8417 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/1.12, allocations: 3.195 MB / 0.8448 GB, free: 15.34 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.006445/1.126, allocations: 3.079 MB / 0.8478 GB, free: 12.26 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01102/1.137, allocations: 3.822 MB / 0.8515 GB, free: 8.418 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02992/1.167, allocations: 15.81 MB / 0.867 GB, free: 8.551 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/1.167, allocations: 4 kB / 0.867 GB, free: 8.547 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.774e-06/1.167, allocations: 0 / 0.867 GB, free: 8.547 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.000484/1.168, allocations: 1.406 kB / 0.867 GB, free: 8.547 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.03254/1.2, allocations: 11.25 MB / 0.878 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.2, allocations: 12.03 kB / 0.878 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/1.204, allocations: 1.126 MB / 0.8791 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01992/1.224, allocations: 7.666 MB / 0.8865 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005949/1.225, allocations: 451.6 kB / 0.887 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/1.227, allocations: 435.9 kB / 0.8874 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02969/1.256, allocations: 13.6 MB / 0.9007 GB, free: 4.285 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/1.256, allocations: 47.56 kB / 0.9007 GB, free: 4.238 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006868/1.257, allocations: 222.6 kB / 0.9009 GB, free: 4.023 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004997/1.258, allocations: 423.1 kB / 0.9013 GB, free: 3.609 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02902/1.287, allocations: 9.699 MB / 0.9108 GB, free: 9.922 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.06706/1.354, allocations: 42.6 MB / 0.9524 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02216/1.376, allocations: 7.966 MB / 0.9602 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006715/1.383, allocations: 3.076 MB / 0.9632 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/1.384, allocations: 395.6 kB / 0.9636 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01831/1.403, allocations: 6.329 MB / 0.9697 GB, free: 12.02 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003136/1.406, allocations: 0.5524 MB / 0.9703 GB, free: 11.46 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 1.119e-05/1.406, allocations: 0 / 0.9703 GB, free: 11.46 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1041/1.51, allocations: 52.78 MB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000984/1.511, allocations: 1.762 MB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/1.524, allocations: 6.818 MB / 1.03 GB, free: 13.39 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001676/1.525, allocations: 101.7 kB / 1.03 GB, free: 13.28 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003109/1.528, allocations: 3.206 MB / 1.033 GB, free: 10.05 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004036/1.532, allocations: 2.862 MB / 1.036 GB, free: 7.168 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003322/1.536, allocations: 1.815 MB / 1.038 GB, free: 5.34 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.536, allocations: 301.1 kB / 1.038 GB, free: 5.043 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007853/1.544, allocations: 4.038 MB / 1.042 GB, free: 0.9961 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01143/1.555, allocations: 7.599 MB / 1.05 GB, free: 8.035 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7071/2.262, allocations: 52.04 MB / 1.1 GB, free: 327 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-05/2.262, allocations: 20 kB / 1.1 GB, free: 327 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02559/2.288, allocations: 12.31 MB / 1.113 GB, free: 315.1 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-05/2.288, allocations: 39.94 kB / 1.113 GB, free: 315 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01905/2.307, allocations: 9.468 MB / 1.122 GB, free: 305.5 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04279/2.35, allocations: 3.898 MB / 1.126 GB, free: 301.6 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/2.36, allocations: 2.405 MB / 1.128 GB, free: 299.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/2.372, allocations: 13.19 MB / 1.141 GB, free: 285.4 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008847/2.38, allocations: 0.5074 MB / 1.141 GB, free: 284.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001954/2.382, allocations: 0.5448 MB / 1.142 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.01071/2.393, allocations: 5.7 MB / 1.147 GB, free: 278.6 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008099/2.401, allocations: 7.541 MB / 1.155 GB, free: 269.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3029/2.704, allocations: 49.78 MB / 1.203 GB, free: 218.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.713e-05/2.704, allocations: 20 kB / 1.203 GB, free: 218.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02711/2.731, allocations: 11.95 MB / 1.215 GB, free: 207.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.872e-05/2.731, allocations: 36 kB / 1.215 GB, free: 207.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01803/2.749, allocations: 9.05 MB / 1.224 GB, free: 198.2 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/2.751, allocations: 0.6613 MB / 1.225 GB, free: 197.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0092/2.76, allocations: 2.402 MB / 1.227 GB, free: 195.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/2.771, allocations: 14.08 MB / 1.241 GB, free: 180.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009282/2.781, allocations: 0.5206 MB / 1.241 GB, free: 179.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002299/2.783, allocations: 0.5348 MB / 1.242 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.00328/2.786, allocations: 0.7252 MB / 1.242 GB, free: 178.5 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002853/2.789, allocations: 0.7727 MB / 1.243 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.01956/2.809, allocations: 10.68 MB / 1.254 GB, free: 167.9 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.97364159906283] Failed to read output from testmodel.py, exit status != 0: 3.007910991087556 3.018486584 1.848352363 Calling exit ...