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.01532/0.01532, allocations: 1.748 MB / 21.38 MB, free: 336 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.001229/0.001229, allocations: 97.27 kB / 24.96 MB, free: 1.895 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.001553/0.001553, allocations: 207.8 kB / 28.68 MB, free: 3.148 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.408/1.408, allocations: 230.6 MB / 262.9 MB, free: 5.836 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.048/1.048, allocations: 130.7 MB / 450.4 MB, free: 6.656 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.06229/0.06229, allocations: 20.6 MB / 0.6367 GB, free: 4.566 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.2539, allocations: 81.9 MB / 0.7167 GB, free: 2.578 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.5268/0.7807, allocations: 57.41 MB / 0.7728 GB, free: 12.97 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04358/0.8243, allocations: 26.35 MB / 0.7985 GB, free: 10.26 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009602/0.8339, allocations: 151.9 kB / 0.7986 GB, free: 10.19 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009645/0.8435, allocations: 2.983 MB / 0.8016 GB, free: 8.078 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01731/0.8608, allocations: 5.021 MB / 0.8065 GB, free: 4.059 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01493/0.8758, allocations: 5.09 MB / 0.8114 GB, free: 204 kB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02334/0.8991, allocations: 13.98 MB / 0.8251 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0082/0.9073, allocations: 4.17 MB / 0.8292 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01212/0.9194, allocations: 5.625 MB / 0.8347 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01202/0.9314, allocations: 5.924 MB / 0.8404 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004541/0.936, allocations: 0.9804 MB / 0.8414 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/0.9479, allocations: 3.268 MB / 0.8446 GB, free: 15.48 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005852/0.9538, allocations: 3.106 MB / 0.8476 GB, free: 12.36 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.009121/0.9629, allocations: 3.822 MB / 0.8514 GB, free: 8.523 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02783/0.9907, allocations: 15.84 MB / 0.8668 GB, free: 8.629 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9907, allocations: 0 / 0.8668 GB, free: 8.629 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9907, allocations: 0 / 0.8668 GB, free: 8.629 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004845/0.9912, allocations: 0 / 0.8668 GB, free: 8.629 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.03278/1.024, allocations: 11.26 MB / 0.8778 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.024, allocations: 12.03 kB / 0.8778 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/1.029, allocations: 1.126 MB / 0.8789 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01925/1.048, allocations: 7.518 MB / 0.8863 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006256/1.049, allocations: 451.6 kB / 0.8867 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002181/1.051, allocations: 443.9 kB / 0.8871 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03198/1.083, allocations: 13.6 MB / 0.9004 GB, free: 4.492 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/1.083, allocations: 57.48 kB / 0.9005 GB, free: 4.441 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007902/1.084, allocations: 219 kB / 0.9007 GB, free: 4.23 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005033/1.084, allocations: 419.1 kB / 0.9011 GB, free: 3.82 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02809/1.112, allocations: 9.734 MB / 0.9106 GB, free: 10.09 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.07948/1.192, allocations: 42.64 MB / 0.9522 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02589/1.218, allocations: 7.968 MB / 0.96 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007935/1.226, allocations: 3.072 MB / 0.963 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002155/1.228, allocations: 403.6 kB / 0.9634 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02069/1.248, allocations: 6.317 MB / 0.9695 GB, free: 12.16 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004328/1.253, allocations: 0.5602 MB / 0.9701 GB, free: 11.6 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=833): time 2.851e-05/1.253, allocations: 0 / 0.9701 GB, free: 11.6 MB / 0.7482 GB Notification: Performance of matching and sorting (n=834): time 0.1277/1.38, allocations: 52.79 MB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001057/1.382, allocations: 1.765 MB / 1.023 GB, free: 4.309 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0141/1.396, allocations: 6.742 MB / 1.03 GB, free: 13.59 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 0.001776/1.397, allocations: 97.7 kB / 1.03 GB, free: 13.49 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003566/1.401, allocations: 3.21 MB / 1.033 GB, free: 10.25 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004502/1.405, allocations: 2.858 MB / 1.036 GB, free: 7.371 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004554/1.41, allocations: 1.818 MB / 1.038 GB, free: 5.539 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.41, allocations: 301.1 kB / 1.038 GB, free: 5.242 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008514/1.419, allocations: 4.038 MB / 1.042 GB, free: 1.195 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01274/1.431, allocations: 7.601 MB / 1.049 GB, free: 8.227 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.64/2.071, allocations: 52.04 MB / 1.1 GB, free: 327.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.892e-05/2.072, allocations: 20 kB / 1.1 GB, free: 327.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.02717/2.099, allocations: 12.32 MB / 1.112 GB, free: 315.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/2.099, allocations: 41.25 kB / 1.112 GB, free: 315.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02019/2.119, allocations: 9.467 MB / 1.122 GB, free: 305.7 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04435/2.163, allocations: 3.899 MB / 1.125 GB, free: 301.8 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009461/2.173, allocations: 2.398 MB / 1.128 GB, free: 299.4 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/2.184, allocations: 13.21 MB / 1.141 GB, free: 285.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008886/2.193, allocations: 0.5051 MB / 1.141 GB, free: 285.1 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002333/2.195, allocations: 0.5387 MB / 1.142 GB, free: 284.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.01471/2.21, allocations: 5.707 MB / 1.147 GB, free: 278.8 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01072/2.22, allocations: 7.541 MB / 1.155 GB, free: 269.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3054/2.526, allocations: 49.79 MB / 1.203 GB, free: 219.1 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001048/2.526, allocations: 20 kB / 1.203 GB, free: 219.1 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.02841/2.554, allocations: 11.94 MB / 1.215 GB, free: 207.5 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 8.182e-05/2.554, allocations: 37 kB / 1.215 GB, free: 207.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01964/2.574, allocations: 9.054 MB / 1.224 GB, free: 198.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/2.576, allocations: 0.6656 MB / 1.224 GB, free: 197.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009267/2.585, allocations: 2.404 MB / 1.227 GB, free: 195.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/2.597, allocations: 14.08 MB / 1.24 GB, free: 180.5 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008793/2.605, allocations: 0.5173 MB / 1.241 GB, free: 179.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002304/2.608, allocations: 0.5387 MB / 1.242 GB, free: 179.4 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.004182/2.612, allocations: 0.714 MB / 1.242 GB, free: 178.7 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003619/2.615, allocations: 0.7803 MB / 1.243 GB, free: 178.3 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.02161/2.637, allocations: 10.64 MB / 1.253 GB, free: 168 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.4903458839980885] Failed to read output from testmodel.py, exit status != 0: 2.7944083570037037 2.803572633 1.810305199 Calling exit ...