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.01376/0.01376, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.001183/0.001183, allocations: 80.31 kB / 26.19 MB, free: 6.078 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.00129/0.00129, allocations: 168.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.8911/0.8911, allocations: 177.2 MB / 211.1 MB, free: 3.473 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.678/0.678, allocations: 102.4 MB / 370.6 MB, free: 228 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.583e-06/1.583e-06, allocations: 0 / 471.2 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.085e-05, allocations: 6.641 kB / 471.2 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.1251/0.1251, allocations: 76.34 MB / 0.5348 GB, free: 11.23 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.033/0.1581, allocations: 27.05 MB / 0.5612 GB, free: 104 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005929/0.164, allocations: 147 kB / 0.5613 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007209/0.1712, allocations: 2.968 MB / 0.5642 GB, free: 12.97 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.1837, allocations: 5.171 MB / 0.5693 GB, free: 7.777 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009848/0.1935, allocations: 5.137 MB / 0.5743 GB, free: 2.629 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01591/0.2094, allocations: 14.3 MB / 0.5882 GB, free: 4.285 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006761/0.2162, allocations: 4.632 MB / 0.5928 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3537/0.5699, allocations: 52.95 MB / 0.6445 GB, free: 71.21 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007375/0.5773, allocations: 4.952 MB / 0.6493 GB, free: 71.21 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002718/0.58, allocations: 0.9267 MB / 0.6502 GB, free: 71.21 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007837/0.5878, allocations: 3.171 MB / 0.6533 GB, free: 71.21 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.004593/0.5924, allocations: 3.054 MB / 0.6563 GB, free: 71.21 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.005925/0.5984, allocations: 3.089 MB / 0.6593 GB, free: 71.21 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.6128, allocations: 10.09 MB / 0.6692 GB, free: 70.45 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6128, allocations: 0 / 0.6692 GB, free: 70.45 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6128, allocations: 0 / 0.6692 GB, free: 70.45 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.000364/0.6132, allocations: 0 / 0.6692 GB, free: 70.45 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.02213/0.6353, allocations: 11.57 MB / 0.6805 GB, free: 66.27 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.6354, allocations: 8.938 kB / 0.6805 GB, free: 66.27 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003838/0.6392, allocations: 1.381 MB / 0.6818 GB, free: 65.73 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.6503, allocations: 5.66 MB / 0.6873 GB, free: 64.49 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/0.6507, allocations: 459.2 kB / 0.6878 GB, free: 64.35 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/0.6519, allocations: 475.7 kB / 0.6882 GB, free: 64.34 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.6695, allocations: 10.98 MB / 0.699 GB, free: 55.73 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/0.6696, allocations: 44.44 kB / 0.699 GB, free: 55.73 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006265/0.6702, allocations: 219.3 kB / 0.6992 GB, free: 55.73 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003927/0.6706, allocations: 427.2 kB / 0.6996 GB, free: 55.67 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0373/0.7079, allocations: 4.669 MB / 0.7042 GB, free: 54.3 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.05747/0.7654, allocations: 51.95 MB / 0.7549 GB, free: 7.734 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/0.7803, allocations: 5.076 MB / 0.7599 GB, free: 5.441 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003652/0.7839, allocations: 1.332 MB / 0.7612 GB, free: 4.867 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/0.7853, allocations: 416.4 kB / 0.7616 GB, free: 4.738 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01481/0.8001, allocations: 4.25 MB / 0.7657 GB, free: 2.738 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003229/0.8034, allocations: 0.5616 MB / 0.7663 GB, free: 2.305 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=833): time 1.49e-05/0.8034, allocations: 0 / 0.7663 GB, free: 2.305 MB / 0.5418 GB Notification: Performance of matching and sorting (n=834): time 0.05368/0.8571, allocations: 14.35 MB / 0.7803 GB, free: 5.672 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006918/0.8578, allocations: 2.093 MB / 0.7823 GB, free: 3.094 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007521/0.8653, allocations: 5.519 MB / 0.7877 GB, free: 14.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001345/0.8666, allocations: 109.7 kB / 0.7878 GB, free: 14.38 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0023/0.8689, allocations: 3.464 MB / 0.7912 GB, free: 11.14 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003055/0.872, allocations: 2.925 MB / 0.7941 GB, free: 8.395 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002455/0.8744, allocations: 1.964 MB / 0.796 GB, free: 6.598 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.8745, allocations: 476.8 kB / 0.7964 GB, free: 6.129 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.8765, allocations: 1.365 MB / 0.7978 GB, free: 4.742 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00445/0.881, allocations: 6.477 MB / 0.8041 GB, free: 12.6 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008931/0.8899, allocations: 8.228 MB / 0.8121 GB, free: 3.527 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.427e-05/0.89, allocations: 20 kB / 0.8121 GB, free: 3.508 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01301/0.903, allocations: 7.326 MB / 0.8193 GB, free: 12.68 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.903, allocations: 38.62 kB / 0.8193 GB, free: 12.65 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007923/0.911, allocations: 4.671 MB / 0.8239 GB, free: 7.992 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03387/0.9448, allocations: 5.748 MB / 0.8295 GB, free: 2.551 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006291/0.9511, allocations: 2.321 MB / 0.8318 GB, free: 380 kB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007845/0.959, allocations: 15.36 MB / 0.8468 GB, free: 368 kB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005679/0.9647, allocations: 404.7 kB / 0.8472 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/0.966, allocations: 483.6 kB / 0.8476 GB, free: 15.5 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.004218/0.9702, allocations: 1.569 MB / 0.8492 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004297/0.9745, allocations: 6.453 MB / 0.8555 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008327/0.9829, allocations: 8.148 MB / 0.8634 GB, free: 12.82 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.192e-05/0.9829, allocations: 20 kB / 0.8634 GB, free: 12.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.01203/0.995, allocations: 7.166 MB / 0.8704 GB, free: 6.129 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.995, allocations: 39.94 kB / 0.8705 GB, free: 6.09 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007621/1.003, allocations: 4.489 MB / 0.8749 GB, free: 1.609 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2613/1.264, allocations: 2.267 MB / 0.8771 GB, free: 171.1 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006041/1.27, allocations: 2.313 MB / 0.8793 GB, free: 171.1 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006541/1.276, allocations: 15.31 MB / 0.8943 GB, free: 156.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007026/1.284, allocations: 401.9 kB / 0.8947 GB, free: 156.9 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002075/1.286, 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.002924/1.289, allocations: 0.8224 MB / 0.8959 GB, free: 156.6 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00331/1.292, allocations: 0.8976 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.01169/1.304, allocations: 8.771 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.957211477216333]