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.01257/0.01257, allocations: 1.781 MB / 22.36 MB, free: 2.113 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.0006977/0.0006977, allocations: 81.97 kB / 26.19 MB, free: 6.074 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.0008247/0.0008247, allocations: 165.6 kB / 30.12 MB, free: 2.184 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.9005/0.9005, allocations: 177.2 MB / 211.1 MB, free: 3.457 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.6177/0.6177, allocations: 102.5 MB / 370.7 MB, free: 220 kB / 330.7 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 7.91e-07/7.91e-07, allocations: 3.938 kB / 471.3 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.987e-06/9.778e-06, allocations: 2.969 kB / 471.3 MB, free: 18.82 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.1178/0.1178, allocations: 76.33 MB / 0.5348 GB, free: 11.22 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03004/0.1479, allocations: 27.05 MB / 0.5612 GB, free: 104 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00293/0.1508, allocations: 151 kB / 0.5613 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00421/0.155, allocations: 2.972 MB / 0.5642 GB, free: 12.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006339/0.1614, allocations: 5.177 MB / 0.5693 GB, free: 7.762 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007082/0.1684, allocations: 5.137 MB / 0.5743 GB, free: 2.613 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01214/0.1806, allocations: 14.29 MB / 0.5882 GB, free: 4.277 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004977/0.1856, allocations: 4.64 MB / 0.5928 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3384/0.524, allocations: 52.96 MB / 0.6445 GB, free: 71.27 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008043/0.532, allocations: 4.963 MB / 0.6493 GB, free: 71.27 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002626/0.5346, allocations: 0.9232 MB / 0.6502 GB, free: 71.27 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006444/0.5411, allocations: 3.169 MB / 0.6533 GB, free: 71.27 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002211/0.5433, allocations: 3.048 MB / 0.6563 GB, free: 71.27 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.00521/0.5485, allocations: 3.091 MB / 0.6593 GB, free: 71.27 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.5596, allocations: 10.09 MB / 0.6692 GB, free: 70.51 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5596, allocations: 0 / 0.6692 GB, free: 70.51 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5596, allocations: 0 / 0.6692 GB, free: 70.51 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002863/0.5599, allocations: 0 / 0.6692 GB, free: 70.51 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.01513/0.575, allocations: 11.57 MB / 0.6805 GB, free: 66.33 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5751, allocations: 12.28 kB / 0.6805 GB, free: 66.33 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.5775, allocations: 1.384 MB / 0.6818 GB, free: 65.79 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007314/0.5849, allocations: 5.66 MB / 0.6874 GB, free: 64.55 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003013/0.5852, allocations: 447.5 kB / 0.6878 GB, free: 64.41 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006583/0.5858, allocations: 488 kB / 0.6883 GB, free: 64.4 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/0.5971, allocations: 10.97 MB / 0.699 GB, free: 55.81 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.25e-05/0.5972, allocations: 50.38 kB / 0.699 GB, free: 55.81 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000435/0.5977, allocations: 229 kB / 0.6992 GB, free: 55.8 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003041/0.598, allocations: 417.9 kB / 0.6996 GB, free: 55.75 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008066/0.606, allocations: 4.669 MB / 0.7042 GB, free: 54.38 MB / 0.5418 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.02845/0.6345, allocations: 51.96 MB / 0.7549 GB, free: 7.758 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007998/0.6425, allocations: 5.077 MB / 0.7599 GB, free: 5.469 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.6439, allocations: 1.338 MB / 0.7612 GB, free: 4.891 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000728/0.6447, allocations: 411 kB / 0.7616 GB, free: 4.766 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006391/0.6511, allocations: 4.252 MB / 0.7657 GB, free: 2.762 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002049/0.6531, allocations: 0.5589 MB / 0.7663 GB, free: 2.332 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=833): time 1.225e-05/0.6531, allocations: 2.656 kB / 0.7663 GB, free: 2.332 MB / 0.5418 GB Notification: Performance of matching and sorting (n=834): time 0.03637/0.6895, allocations: 14.35 MB / 0.7803 GB, free: 5.688 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005906/0.6901, allocations: 2.087 MB / 0.7823 GB, free: 3.113 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005149/0.6952, allocations: 5.527 MB / 0.7877 GB, free: 14.51 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006617/0.6959, allocations: 104.4 kB / 0.7878 GB, free: 14.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001972/0.6979, allocations: 3.467 MB / 0.7912 GB, free: 11.16 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/0.6995, allocations: 2.92 MB / 0.7941 GB, free: 8.414 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002399/0.7019, allocations: 1.963 MB / 0.796 GB, free: 6.617 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7021, allocations: 480.8 kB / 0.7965 GB, free: 6.145 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.704, allocations: 1.365 MB / 0.7978 GB, free: 4.758 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004416/0.7085, allocations: 6.473 MB / 0.8041 GB, free: 12.61 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008475/0.7169, allocations: 8.226 MB / 0.8121 GB, free: 3.547 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.767e-05/0.717, allocations: 24 kB / 0.8122 GB, free: 3.523 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01135/0.7283, allocations: 7.323 MB / 0.8193 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/0.7284, allocations: 36 kB / 0.8194 GB, free: 12.67 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007478/0.7358, allocations: 4.679 MB / 0.8239 GB, free: 8.008 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03378/0.7696, allocations: 5.744 MB / 0.8295 GB, free: 2.566 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004859/0.7745, allocations: 2.322 MB / 0.8318 GB, free: 396 kB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007344/0.7818, allocations: 15.36 MB / 0.8468 GB, free: 384 kB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003953/0.7858, allocations: 403.4 kB / 0.8472 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006201/0.7864, allocations: 488.2 kB / 0.8477 GB, free: 15.52 MB / 0.6355 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.00357/0.79, allocations: 1.57 MB / 0.8492 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00427/0.7942, allocations: 6.445 MB / 0.8555 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008019/0.8023, allocations: 8.149 MB / 0.8634 GB, free: 12.84 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.621e-05/0.8023, allocations: 20 kB / 0.8635 GB, free: 12.82 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.011/0.8133, allocations: 7.161 MB / 0.8704 GB, free: 6.148 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.8133, allocations: 41.14 kB / 0.8705 GB, free: 6.109 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007619/0.8209, allocations: 4.502 MB / 0.8749 GB, free: 1.621 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2334/1.054, allocations: 2.26 MB / 0.8771 GB, free: 171.2 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005802/1.06, allocations: 2.309 MB / 0.8793 GB, free: 171.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005395/1.066, allocations: 15.32 MB / 0.8943 GB, free: 156.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005967/1.072, allocations: 402.3 kB / 0.8947 GB, free: 156.9 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009937/1.073, allocations: 481.7 kB / 0.8951 GB, free: 156.9 MB / 0.6512 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 (valve_shell1.pressureLoss.normIsValid,$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) * 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): 2 systems {(4,3,87.5%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.00188/1.074, allocations: 0.8149 MB / 0.8959 GB, free: 156.6 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/1.076, allocations: 0.8992 MB / 0.8968 GB, free: 156.6 MB / 0.6512 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 1257 equation(s) and 1203 variable(s). Error: ($cse500, $cse501, $cse502, $cse503, $cse504, $cse505, $cse506, $cse507, $cse508, $cse509, $cse510, $cse511) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(massFlowSource_h1.steam_a.p, -1.0, {}, massFlowSource_h1.fluidOut.vleFluidPointer) has size 12 but 4 variables ($cse286, hex.shell.Q_flow_phases, hex.shell.summary.fluid.T[1], hex.shell.summary.fluid.T[2]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00969/1.086, allocations: 8.769 MB / 0.9054 GB, free: 156.1 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.714932216797024]