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.00841/0.00841, allocations: 1.795 MB / 21.35 MB, free: 3.195 MB / 18.57 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.0008538/0.0008538, allocations: 86.52 kB / 25.15 MB, free: 7.465 MB / 18.57 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.0009212/0.0009212, allocations: 164.3 kB / 29.05 MB, free: 3.672 MB / 18.57 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 0.9264/0.9264, allocations: 177.2 MB / 210 MB, free: 3.555 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6243/0.6243, allocations: 102.4 MB / 369.5 MB, free: 356 kB / 330.7 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 1.0.0 (/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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.073e-05, allocations: 5.031 kB / 470 MB, free: 18.95 MB / 410.8 MB 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.1276/0.1276, allocations: 77.06 MB / 0.5342 GB, free: 10.81 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03244/0.16, allocations: 27.21 MB / 0.5608 GB, free: 15.53 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003971/0.164, allocations: 150.9 kB / 0.5609 GB, free: 15.38 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004958/0.169, allocations: 2.972 MB / 0.5638 GB, free: 12.39 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008644/0.1776, allocations: 5.154 MB / 0.5689 GB, free: 7.207 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008232/0.1858, allocations: 5.133 MB / 0.5739 GB, free: 2.066 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01391/0.1998, allocations: 14.3 MB / 0.5878 GB, free: 3.719 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006526/0.2063, allocations: 4.64 MB / 0.5924 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/0.219, allocations: 7.64 MB / 0.5998 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008845/0.2279, allocations: 5.068 MB / 0.6048 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003176/0.2311, allocations: 0.9727 MB / 0.6057 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008171/0.2392, allocations: 3.22 MB / 0.6089 GB, free: 14.08 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.004233/0.2435, allocations: 3.178 MB / 0.612 GB, free: 10.89 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.006374/0.2498, allocations: 3.184 MB / 0.6151 GB, free: 7.699 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.01814/0.268, allocations: 10.18 MB / 0.625 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.268, allocations: 0 / 0.625 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.773e-06/0.268, allocations: 4 kB / 0.625 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002838/0.2683, allocations: 0 / 0.625 GB, free: 13.48 MB / 0.5418 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.01915/0.2874, allocations: 11.71 MB / 0.6365 GB, free: 1.66 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.2875, allocations: 8.031 kB / 0.6365 GB, free: 1.652 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003318/0.2908, allocations: 1.471 MB / 0.6379 GB, free: 180 kB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/0.3021, allocations: 6.849 MB / 0.6446 GB, free: 9.234 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004404/0.3026, allocations: 451.6 kB / 0.645 GB, free: 8.766 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.3038, allocations: 475.9 kB / 0.6455 GB, free: 8.301 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2421/0.546, allocations: 11.34 MB / 0.6566 GB, free: 79.26 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.5461, allocations: 46.94 kB / 0.6566 GB, free: 79.26 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005322/0.5466, allocations: 220.9 kB / 0.6568 GB, free: 79.26 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003059/0.5469, allocations: 422.4 kB / 0.6572 GB, free: 79.25 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.5584, allocations: 5.212 MB / 0.6623 GB, free: 79.2 MB / 0.5574 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.03235/0.5908, allocations: 52.89 MB / 0.714 GB, free: 40.57 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.6012, allocations: 5.446 MB / 0.7193 GB, free: 39.68 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/0.6042, allocations: 1.525 MB / 0.7208 GB, free: 39.38 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009579/0.6052, allocations: 421 kB / 0.7212 GB, free: 39.36 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008748/0.6139, allocations: 4.45 MB / 0.7255 GB, free: 38.73 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002615/0.6165, allocations: 0.5517 MB / 0.7261 GB, free: 38.53 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=833): time 2.31e-05/0.6166, allocations: 0 / 0.7261 GB, free: 38.53 MB / 0.5574 GB Notification: Performance of matching and sorting (n=834): time 0.06201/0.6786, allocations: 44.03 MB / 0.7691 GB, free: 12.84 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002325/0.6788, allocations: 1.761 MB / 0.7708 GB, free: 10.74 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006716/0.6855, allocations: 5.722 MB / 0.7764 GB, free: 7.852 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.00136/0.6869, allocations: 103.9 kB / 0.7765 GB, free: 7.766 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.6887, allocations: 3.394 MB / 0.7798 GB, free: 5.109 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002962/0.6916, allocations: 2.906 MB / 0.7826 GB, free: 2.695 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00218/0.6938, allocations: 1.904 MB / 0.7845 GB, free: 1.598 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.6939, allocations: 483.3 kB / 0.7849 GB, free: 1.125 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/0.6965, allocations: 1.683 MB / 0.7866 GB, free: 0.5781 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005449/0.702, allocations: 6.306 MB / 0.7927 GB, free: 9.266 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01327/0.7152, allocations: 9.038 MB / 0.8016 GB, free: 15.19 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.416e-05/0.7153, allocations: 26.62 kB / 0.8016 GB, free: 15.16 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01532/0.7306, allocations: 7.908 MB / 0.8093 GB, free: 7.742 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.7307, allocations: 36 kB / 0.8093 GB, free: 7.707 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009904/0.7406, allocations: 5.108 MB / 0.8143 GB, free: 2.602 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02208/0.7627, allocations: 3.907 MB / 0.8181 GB, free: 14.88 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006191/0.7689, allocations: 2.335 MB / 0.8204 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00849/0.7773, allocations: 15.5 MB / 0.8356 GB, free: 12.42 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005562/0.7829, allocations: 419.5 kB / 0.836 GB, free: 12.02 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001615/0.7845, allocations: 0.5491 MB / 0.8365 GB, free: 11.47 MB / 0.6199 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.005629/0.7902, allocations: 1.882 MB / 0.8383 GB, free: 9.582 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00551/0.7957, allocations: 6.276 MB / 0.8445 GB, free: 1.559 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01153/0.8072, allocations: 8.949 MB / 0.8532 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.644e-05/0.8072, allocations: 22.3 kB / 0.8532 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.01314/0.8204, allocations: 7.601 MB / 0.8607 GB, free: 416 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.8204, allocations: 43.69 kB / 0.8607 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008215/0.8286, allocations: 4.762 MB / 0.8653 GB, free: 11.58 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.8303, allocations: 0.5987 MB / 0.8659 GB, free: 11 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005654/0.8359, allocations: 2.333 MB / 0.8682 GB, free: 8.805 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009002/0.8449, allocations: 16.64 MB / 0.8845 GB, free: 7.316 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005647/0.8506, allocations: 414.8 kB / 0.8849 GB, free: 6.914 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0015/0.8521, allocations: 0.5452 MB / 0.8854 GB, free: 6.371 MB / 0.6668 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.002184/0.8543, allocations: 0.8141 MB / 0.8862 GB, free: 5.707 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002534/0.8568, allocations: 0.8953 MB / 0.8871 GB, free: 4.809 MB / 0.6668 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.2515/1.108, allocations: 9.028 MB / 0.8959 GB, free: 172.6 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7649559411220253]