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.008446/0.008446, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0009303/0.0009303, allocations: 84.12 kB / 25.4 MB, free: 7 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.0009512/0.0009512, allocations: 165.2 kB / 29.34 MB, free: 3.137 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.9897/0.9897, allocations: 177.1 MB / 210.3 MB, free: 3.426 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.595/0.595, allocations: 102.5 MB / 369.9 MB, free: 188 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 1.363e-06/1.363e-06, allocations: 0 / 470.5 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.102e-05, allocations: 2.312 kB / 470.5 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.135/0.135, allocations: 76.35 MB / 0.534 GB, free: 11.19 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03616/0.1712, allocations: 27.06 MB / 0.5604 GB, free: 60 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006134/0.1773, allocations: 150.9 kB / 0.5606 GB, free: 15.91 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007706/0.185, allocations: 2.972 MB / 0.5635 GB, free: 12.92 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.1978, allocations: 5.169 MB / 0.5685 GB, free: 7.723 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01168/0.2094, allocations: 5.133 MB / 0.5735 GB, free: 2.578 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01799/0.2274, allocations: 14.3 MB / 0.5875 GB, free: 4.234 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007722/0.2352, allocations: 4.64 MB / 0.592 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3807/0.6158, allocations: 52.94 MB / 0.6437 GB, free: 71.19 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008609/0.6244, allocations: 4.958 MB / 0.6486 GB, free: 71.19 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.00394/0.6284, allocations: 0.9257 MB / 0.6495 GB, free: 71.19 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009803/0.6382, allocations: 3.172 MB / 0.6526 GB, free: 71.19 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.005056/0.6432, allocations: 3.055 MB / 0.6556 GB, free: 71.19 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.008253/0.6515, allocations: 3.091 MB / 0.6586 GB, free: 71.19 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01808/0.6695, allocations: 10.09 MB / 0.6684 GB, free: 70.43 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6696, allocations: 0 / 0.6684 GB, free: 70.43 MB / 0.5418 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6696, allocations: 2.688 kB / 0.6684 GB, free: 70.43 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004556/0.67, allocations: 0 / 0.6684 GB, free: 70.43 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.02251/0.6925, allocations: 11.57 MB / 0.6797 GB, free: 66.25 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.6926, allocations: 10.31 kB / 0.6797 GB, free: 66.25 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.6962, allocations: 1.385 MB / 0.6811 GB, free: 65.71 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.7091, allocations: 5.656 MB / 0.6866 GB, free: 64.46 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006991/0.7098, allocations: 454 kB / 0.6871 GB, free: 64.32 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0026/0.7124, allocations: 486.5 kB / 0.6875 GB, free: 64.3 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.7333, allocations: 10.97 MB / 0.6982 GB, free: 55.66 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/0.7335, allocations: 44.41 kB / 0.6983 GB, free: 55.66 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007798/0.7342, allocations: 219.4 kB / 0.6985 GB, free: 55.66 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004005/0.7346, allocations: 421.9 kB / 0.6989 GB, free: 55.6 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.7473, allocations: 4.675 MB / 0.7035 GB, free: 54.23 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.04308/0.7904, allocations: 51.95 MB / 0.7542 GB, free: 7.652 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00987/0.8003, allocations: 5.078 MB / 0.7591 GB, free: 5.359 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002716/0.803, allocations: 1.34 MB / 0.7605 GB, free: 4.781 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.804, allocations: 0.5542 MB / 0.761 GB, free: 4.641 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009501/0.8135, allocations: 4.247 MB / 0.7651 GB, free: 2.641 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003201/0.8167, allocations: 0.5636 MB / 0.7657 GB, free: 2.211 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=833): time 2.017e-05/0.8168, allocations: 0 / 0.7657 GB, free: 2.211 MB / 0.5418 GB Notification: Performance of matching and sorting (n=834): time 0.04277/0.8595, allocations: 14.44 MB / 0.7798 GB, free: 5.512 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000705/0.8602, allocations: 2.096 MB / 0.7818 GB, free: 2.934 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007406/0.8676, allocations: 5.514 MB / 0.7872 GB, free: 14.33 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001557/0.8692, allocations: 105.7 kB / 0.7873 GB, free: 14.22 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002476/0.8717, allocations: 3.472 MB / 0.7907 GB, free: 10.98 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003582/0.8753, allocations: 2.92 MB / 0.7936 GB, free: 8.23 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003225/0.8785, allocations: 1.96 MB / 0.7955 GB, free: 6.438 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.8786, allocations: 480.4 kB / 0.7959 GB, free: 5.969 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.8809, allocations: 1.365 MB / 0.7973 GB, free: 4.582 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005131/0.886, allocations: 6.477 MB / 0.8036 GB, free: 12.43 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/0.8984, allocations: 8.231 MB / 0.8116 GB, free: 3.363 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/0.8985, allocations: 20 kB / 0.8117 GB, free: 3.344 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01804/0.9165, allocations: 7.449 MB / 0.8189 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.9166, allocations: 37.2 kB / 0.819 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01132/0.9279, allocations: 4.795 MB / 0.8236 GB, free: 7.582 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03152/0.9594, allocations: 5.746 MB / 0.8293 GB, free: 2.137 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007337/0.9668, allocations: 2.322 MB / 0.8315 GB, free: 15.95 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.9771, allocations: 15.36 MB / 0.8465 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007491/0.9846, allocations: 403.7 kB / 0.8469 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/0.9868, allocations: 491.6 kB / 0.8474 GB, free: 15.08 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.006665/0.9934, allocations: 1.561 MB / 0.8489 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006658/1, allocations: 6.444 MB / 0.8552 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01159/1.012, allocations: 8.154 MB / 0.8632 GB, free: 12.41 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.202e-05/1.012, allocations: 26.67 kB / 0.8632 GB, free: 12.39 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.01283/1.025, allocations: 7.249 MB / 0.8703 GB, free: 5.625 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.386e-05/1.025, allocations: 39.94 kB / 0.8703 GB, free: 5.586 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007656/1.032, allocations: 4.567 MB / 0.8748 GB, free: 1.016 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2833/1.316, allocations: 2.264 MB / 0.877 GB, free: 171 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00657/1.322, allocations: 2.309 MB / 0.8792 GB, free: 171 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006388/1.329, allocations: 15.32 MB / 0.8942 GB, free: 156.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006322/1.335, allocations: 399.3 kB / 0.8946 GB, free: 156.7 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/1.337, allocations: 482.8 kB / 0.895 GB, free: 156.7 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.002188/1.339, allocations: 0.809 MB / 0.8958 GB, free: 156.5 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002707/1.342, allocations: 0.8986 MB / 0.8967 GB, free: 156.5 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.01415/1.356, allocations: 8.772 MB / 0.9053 GB, free: 156 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.128678875975311]