Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008509/0.008509, 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.0007773/0.0007773, allocations: 85.91 kB / 25.62 MB, free: 6.508 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.0008517/0.0008517, allocations: 164.9 kB / 29.46 MB, free: 3.023 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.9173/0.9173, allocations: 177.1 MB / 210.3 MB, free: 1.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.7056/0.7056, allocations: 102.5 MB / 369.8 MB, free: 0.9688 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 469.9 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.585e-05, allocations: 4 kB / 469.9 MB, free: 12.98 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.2859/0.2859, allocations: 76.9 MB / 0.534 GB, free: 67.89 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03138/0.3173, allocations: 27.15 MB / 0.5605 GB, free: 49.43 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004855/0.3222, allocations: 152.7 kB / 0.5607 GB, free: 49.36 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005316/0.3275, allocations: 2.971 MB / 0.5636 GB, free: 47.94 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00966/0.3371, allocations: 5.149 MB / 0.5686 GB, free: 44.81 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008694/0.3458, allocations: 5.125 MB / 0.5736 GB, free: 41.67 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01467/0.3605, allocations: 14.31 MB / 0.5876 GB, free: 33.07 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005381/0.3659, allocations: 4.627 MB / 0.5921 GB, free: 28.99 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009888/0.3758, allocations: 7.64 MB / 0.5995 GB, free: 21.34 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006073/0.3818, allocations: 5.073 MB / 0.6045 GB, free: 16.26 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001939/0.3838, allocations: 0.9727 MB / 0.6054 GB, free: 15.29 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005727/0.3895, allocations: 3.227 MB / 0.6086 GB, free: 12.05 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001982/0.3915, allocations: 3.176 MB / 0.6117 GB, free: 8.871 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004507/0.396, allocations: 3.18 MB / 0.6148 GB, free: 5.684 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.4092, allocations: 10.18 MB / 0.6247 GB, free: 11.47 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4093, allocations: 0 / 0.6247 GB, free: 11.47 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4093, allocations: 3.938 kB / 0.6248 GB, free: 11.46 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004449/0.4097, allocations: 2.656 kB / 0.6248 GB, free: 11.46 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.0176/0.4273, allocations: 11.71 MB / 0.6362 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4273, allocations: 12.03 kB / 0.6362 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.43, allocations: 1.473 MB / 0.6376 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00901/0.439, allocations: 6.824 MB / 0.6443 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/0.4393, allocations: 456.3 kB / 0.6447 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005443/0.4399, allocations: 479.9 kB / 0.6452 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.4536, allocations: 11.35 MB / 0.6563 GB, free: 8.992 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.284e-05/0.4537, allocations: 43.56 kB / 0.6563 GB, free: 8.949 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004263/0.4542, allocations: 221.3 kB / 0.6565 GB, free: 8.734 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002969/0.4545, allocations: 417.8 kB / 0.6569 GB, free: 8.328 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.4655, allocations: 5.226 MB / 0.662 GB, free: 3.117 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.03246/0.498, allocations: 52.89 MB / 0.7137 GB, free: 12.69 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009922/0.5079, allocations: 5.436 MB / 0.719 GB, free: 7.016 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002406/0.5103, allocations: 1.536 MB / 0.7205 GB, free: 5.383 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008413/0.5112, allocations: 411.5 kB / 0.7209 GB, free: 4.984 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008158/0.5193, allocations: 4.452 MB / 0.7252 GB, free: 352 kB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001785/0.5211, allocations: 0.5538 MB / 0.7258 GB, free: 15.78 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=833): time 9.297e-06/0.5211, allocations: 2.656 kB / 0.7258 GB, free: 15.78 MB / 0.6043 GB Notification: Performance of matching and sorting (n=834): time 0.221/0.7421, allocations: 44.01 MB / 0.7688 GB, free: 171 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000256/0.7424, allocations: 1.765 MB / 0.7705 GB, free: 168.9 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006025/0.7484, allocations: 5.714 MB / 0.7761 GB, free: 168.3 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0009148/0.7493, allocations: 102.8 kB / 0.7762 GB, free: 168.3 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.001777/0.7511, allocations: 3.401 MB / 0.7795 GB, free: 166.6 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/0.7528, allocations: 2.897 MB / 0.7823 GB, free: 164.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002008/0.7549, allocations: 1.9 MB / 0.7842 GB, free: 163.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.7549, allocations: 485.8 kB / 0.7846 GB, free: 163.4 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/0.7578, allocations: 1.688 MB / 0.7863 GB, free: 163.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004201/0.762, allocations: 6.314 MB / 0.7924 GB, free: 157.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009733/0.7717, allocations: 9.038 MB / 0.8013 GB, free: 151.3 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-05/0.7717, allocations: 21.38 kB / 0.8013 GB, free: 151.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01258/0.7843, allocations: 7.911 MB / 0.809 GB, free: 149.1 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.7843, allocations: 35.34 kB / 0.809 GB, free: 149.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008412/0.7928, allocations: 5.113 MB / 0.814 GB, free: 146.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02432/0.8171, allocations: 3.911 MB / 0.8179 GB, free: 143.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005318/0.8224, allocations: 2.335 MB / 0.8201 GB, free: 141.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005619/0.828, allocations: 15.51 MB / 0.8353 GB, free: 125.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00465/0.8327, allocations: 412.3 kB / 0.8357 GB, free: 125.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006803/0.8333, allocations: 0.547 MB / 0.8362 GB, free: 125 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.00444/0.8378, allocations: 1.892 MB / 0.8381 GB, free: 123.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003696/0.8415, allocations: 6.274 MB / 0.8442 GB, free: 115.8 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00862/0.8501, allocations: 8.954 MB / 0.8529 GB, free: 105.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.636e-05/0.8501, allocations: 20 kB / 0.8529 GB, free: 105.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.01118/0.8613, allocations: 7.608 MB / 0.8604 GB, free: 98.55 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.8613, allocations: 39.94 kB / 0.8604 GB, free: 98.51 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006737/0.8681, allocations: 4.764 MB / 0.8651 GB, free: 93.69 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.8695, allocations: 0.5924 MB / 0.8656 GB, free: 93.11 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004397/0.8739, allocations: 2.336 MB / 0.8679 GB, free: 90.78 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/0.8791, allocations: 16.64 MB / 0.8842 GB, free: 73.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004188/0.8833, allocations: 420.4 kB / 0.8846 GB, free: 72.8 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/0.8838, allocations: 0.5426 MB / 0.8851 GB, free: 72.25 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.001769/0.8856, allocations: 0.8091 MB / 0.8859 GB, free: 71.5 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/0.8872, allocations: 0.897 MB / 0.8868 GB, free: 70.59 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.009167/0.8964, allocations: 9.035 MB / 0.8956 GB, free: 62.19 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.483150015119463]