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.008561/0.008561, allocations: 1.795 MB / 21.89 MB, free: 2.637 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.0007725/0.0007725, allocations: 83.12 kB / 25.61 MB, free: 6.453 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.0008452/0.0008452, allocations: 173.1 kB / 29.46 MB, free: 3 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.8849/0.8849, allocations: 177.2 MB / 210.3 MB, free: 2.379 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.7318/0.7318, allocations: 102.4 MB / 369.8 MB, free: 0.875 MB / 330.8 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.583e-06/1.583e-06, allocations: 3.938 kB / 469.9 MB, free: 12.9 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.577e-05, allocations: 2.312 kB / 469.9 MB, free: 12.9 MB / 442.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.3486/0.3487, allocations: 76.9 MB / 0.534 GB, free: 68.55 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03137/0.38, allocations: 27.15 MB / 0.5605 GB, free: 49.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005397/0.3854, allocations: 147.1 kB / 0.5606 GB, free: 49.92 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005942/0.3914, allocations: 2.971 MB / 0.5635 GB, free: 48.5 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.4026, allocations: 5.153 MB / 0.5686 GB, free: 45.38 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.4129, allocations: 5.125 MB / 0.5736 GB, free: 42.1 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01553/0.4284, allocations: 14.3 MB / 0.5875 GB, free: 33.51 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005939/0.4344, allocations: 4.633 MB / 0.5921 GB, free: 29.29 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01106/0.4454, allocations: 7.644 MB / 0.5995 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006718/0.4522, allocations: 5.065 MB / 0.6045 GB, free: 16.56 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001904/0.4541, allocations: 0.9766 MB / 0.6054 GB, free: 15.58 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005996/0.4601, allocations: 3.226 MB / 0.6086 GB, free: 12.36 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001861/0.4619, allocations: 3.176 MB / 0.6117 GB, free: 9.172 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004322/0.4662, allocations: 3.186 MB / 0.6148 GB, free: 5.98 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.4797, allocations: 10.18 MB / 0.6247 GB, free: 11.76 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4797, allocations: 0 / 0.6247 GB, free: 11.76 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4797, allocations: 0 / 0.6247 GB, free: 11.76 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0003368/0.4801, allocations: 2.656 kB / 0.6247 GB, free: 11.76 MB / 0.4949 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.01671/0.4968, allocations: 11.7 MB / 0.6362 GB, free: 0 / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.4968, allocations: 8.078 kB / 0.6362 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.4995, allocations: 1.473 MB / 0.6376 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008959/0.5084, allocations: 6.827 MB / 0.6443 GB, free: 7.637 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/0.5087, allocations: 456.1 kB / 0.6447 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005322/0.5093, allocations: 479.3 kB / 0.6452 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.5241, allocations: 11.35 MB / 0.6563 GB, free: 9.289 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.368e-05/0.5242, allocations: 47.56 kB / 0.6563 GB, free: 9.242 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004161/0.5246, allocations: 220.6 kB / 0.6565 GB, free: 9.027 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003104/0.525, allocations: 421.8 kB / 0.6569 GB, free: 8.617 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.5354, allocations: 5.21 MB / 0.662 GB, free: 3.422 MB / 0.5262 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.03578/0.5711, allocations: 52.89 MB / 0.7136 GB, free: 12.99 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.5821, allocations: 5.434 MB / 0.719 GB, free: 7.316 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/0.5846, allocations: 1.538 MB / 0.7205 GB, free: 5.68 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008642/0.5855, allocations: 419.6 kB / 0.7209 GB, free: 5.273 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008116/0.5936, allocations: 4.448 MB / 0.7252 GB, free: 0.6367 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002118/0.5957, allocations: 0.5499 MB / 0.7257 GB, free: 84 kB / 0.5887 GB Notification: Performance of pre-optimization done (n=833): time 8.275e-06/0.5957, allocations: 2.656 kB / 0.7257 GB, free: 84 kB / 0.5887 GB Notification: Performance of matching and sorting (n=834): time 0.3012/0.8969, allocations: 44.01 MB / 0.7687 GB, free: 171.8 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004124/0.8973, allocations: 1.764 MB / 0.7704 GB, free: 169.7 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01443/0.9117, allocations: 5.719 MB / 0.776 GB, free: 169 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001273/0.913, allocations: 102 kB / 0.7761 GB, free: 169 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.00195/0.9149, allocations: 3.405 MB / 0.7795 GB, free: 167.3 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.002156/0.9171, allocations: 2.903 MB / 0.7823 GB, free: 165.3 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002297/0.9194, allocations: 1.898 MB / 0.7841 GB, free: 164.6 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.9194, allocations: 478.2 kB / 0.7846 GB, free: 164.1 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003294/0.9227, allocations: 1.693 MB / 0.7863 GB, free: 163.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004881/0.9276, allocations: 6.307 MB / 0.7924 GB, free: 157.8 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.9382, allocations: 9.038 MB / 0.8012 GB, free: 152 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.619e-05/0.9382, allocations: 18.94 kB / 0.8013 GB, free: 152 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01375/0.952, allocations: 7.922 MB / 0.809 GB, free: 149.8 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.952, allocations: 38 kB / 0.809 GB, free: 149.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008817/0.9608, allocations: 5.101 MB / 0.814 GB, free: 147 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02389/0.9847, allocations: 3.907 MB / 0.8178 GB, free: 144.4 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00549/0.9902, allocations: 2.34 MB / 0.8201 GB, free: 142.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005461/0.9957, allocations: 15.51 MB / 0.8353 GB, free: 126.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/1, allocations: 412.5 kB / 0.8357 GB, free: 126.1 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005972/1.001, allocations: 0.5464 MB / 0.8362 GB, free: 125.7 MB / 0.6043 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.00457/1.005, allocations: 1.887 MB / 0.838 GB, free: 124.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003687/1.009, allocations: 6.279 MB / 0.8442 GB, free: 116.5 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008718/1.018, allocations: 8.943 MB / 0.8529 GB, free: 106.6 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.462e-05/1.018, allocations: 24 kB / 0.8529 GB, free: 106.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.01073/1.029, allocations: 7.608 MB / 0.8603 GB, free: 99.16 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/1.029, allocations: 36 kB / 0.8604 GB, free: 99.12 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006654/1.035, allocations: 4.765 MB / 0.865 GB, free: 94.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/1.037, allocations: 0.5993 MB / 0.8656 GB, free: 93.71 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004117/1.041, allocations: 2.334 MB / 0.8679 GB, free: 91.38 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/1.046, allocations: 16.63 MB / 0.8841 GB, free: 73.81 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003907/1.05, allocations: 424 kB / 0.8845 GB, free: 73.41 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005018/1.05, allocations: 0.5413 MB / 0.8851 GB, free: 72.87 MB / 0.6043 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.00174/1.052, allocations: 0.8177 MB / 0.8859 GB, free: 72.11 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001327/1.053, allocations: 0.9009 MB / 0.8867 GB, free: 71.2 MB / 0.6043 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.008893/1.062, allocations: 9.029 MB / 0.8956 GB, free: 62.79 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8399204399902374]