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.01334/0.01334, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.00087/0.00087, allocations: 85.52 kB / 25.41 MB, free: 6.105 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.0009831/0.0009831, allocations: 160.9 kB / 29.34 MB, free: 2.809 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.9015/0.9015, allocations: 177.2 MB / 210.3 MB, free: 3.426 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.5963/0.5963, allocations: 102.4 MB / 369.9 MB, free: 160 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.142e-06/1.142e-06, allocations: 0 / 470.5 MB, free: 18.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.457e-05, allocations: 4.281 kB / 470.5 MB, free: 18.79 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.1184/0.1185, allocations: 76.35 MB / 0.534 GB, free: 11.19 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03216/0.1506, allocations: 27.07 MB / 0.5604 GB, free: 56 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00371/0.1543, allocations: 147 kB / 0.5606 GB, free: 15.91 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004255/0.1586, allocations: 2.968 MB / 0.5635 GB, free: 12.93 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008154/0.1667, allocations: 5.169 MB / 0.5685 GB, free: 7.727 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007651/0.1744, allocations: 5.136 MB / 0.5735 GB, free: 2.582 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01143/0.1858, allocations: 14.3 MB / 0.5875 GB, free: 4.234 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004824/0.1906, allocations: 4.632 MB / 0.592 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3136/0.5043, allocations: 52.95 MB / 0.6437 GB, free: 71.13 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006093/0.5104, allocations: 4.958 MB / 0.6486 GB, free: 71.13 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002126/0.5125, allocations: 0.924 MB / 0.6495 GB, free: 71.13 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005481/0.518, allocations: 3.169 MB / 0.6526 GB, free: 71.13 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002034/0.52, allocations: 3.055 MB / 0.6555 GB, free: 71.13 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003733/0.5237, allocations: 3.09 MB / 0.6586 GB, free: 71.13 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.009739/0.5335, allocations: 10.09 MB / 0.6684 GB, free: 70.37 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5335, allocations: 0 / 0.6684 GB, free: 70.37 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5335, allocations: 0 / 0.6684 GB, free: 70.37 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 8.489e-05/0.5336, allocations: 0 / 0.6684 GB, free: 70.37 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.01358/0.5471, allocations: 11.57 MB / 0.6797 GB, free: 66.19 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.5472, allocations: 12.83 kB / 0.6797 GB, free: 66.19 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/0.5496, allocations: 1.382 MB / 0.6811 GB, free: 65.66 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007031/0.5566, allocations: 5.66 MB / 0.6866 GB, free: 64.41 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.5569, allocations: 457.5 kB / 0.687 GB, free: 64.27 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006746/0.5576, allocations: 479.1 kB / 0.6875 GB, free: 64.26 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.5737, allocations: 10.98 MB / 0.6982 GB, free: 55.66 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-05/0.5737, allocations: 44 kB / 0.6983 GB, free: 55.66 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004816/0.5742, allocations: 220.1 kB / 0.6985 GB, free: 55.66 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000359/0.5746, allocations: 422.6 kB / 0.6989 GB, free: 55.61 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007258/0.5818, allocations: 4.682 MB / 0.7034 GB, free: 54.24 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.02279/0.6046, allocations: 51.94 MB / 0.7542 GB, free: 7.711 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007377/0.612, allocations: 5.084 MB / 0.7591 GB, free: 5.414 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.6134, allocations: 1.327 MB / 0.7604 GB, free: 4.84 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007973/0.6142, allocations: 0.5452 MB / 0.761 GB, free: 4.703 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005914/0.6201, allocations: 4.252 MB / 0.7651 GB, free: 2.703 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001777/0.6219, allocations: 0.5657 MB / 0.7657 GB, free: 2.273 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=833): time 8.205e-06/0.6219, allocations: 2.656 kB / 0.7657 GB, free: 2.273 MB / 0.5418 GB Notification: Performance of matching and sorting (n=834): time 0.03229/0.6542, allocations: 14.44 MB / 0.7798 GB, free: 5.582 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005741/0.6548, allocations: 2.092 MB / 0.7818 GB, free: 3.004 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005481/0.6603, allocations: 5.521 MB / 0.7872 GB, free: 14.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003718/0.6606, allocations: 108.4 kB / 0.7873 GB, free: 14.29 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002108/0.6628, allocations: 3.468 MB / 0.7907 GB, free: 11.05 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002238/0.665, allocations: 2.927 MB / 0.7935 GB, free: 8.301 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00203/0.667, allocations: 1.959 MB / 0.7955 GB, free: 6.508 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.6671, allocations: 480.7 kB / 0.7959 GB, free: 6.035 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.669, allocations: 1.362 MB / 0.7972 GB, free: 4.652 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004358/0.6734, allocations: 6.48 MB / 0.8036 GB, free: 12.5 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008071/0.6815, allocations: 8.227 MB / 0.8116 GB, free: 3.434 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-05/0.6815, allocations: 20 kB / 0.8116 GB, free: 3.414 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1178) (initialization): time 0.01193/0.6934, allocations: 7.455 MB / 0.8189 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.6935, allocations: 36 kB / 0.8189 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01023/0.7037, allocations: 4.796 MB / 0.8236 GB, free: 7.648 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03147/0.7352, allocations: 5.744 MB / 0.8292 GB, free: 2.203 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005347/0.7405, allocations: 2.327 MB / 0.8315 GB, free: 20 kB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/0.7477, allocations: 15.36 MB / 0.8465 GB, free: 12 kB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004398/0.7521, allocations: 394.2 kB / 0.8469 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006112/0.7527, allocations: 487.5 kB / 0.8474 GB, free: 15.16 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.003623/0.7564, allocations: 1.582 MB / 0.8489 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004044/0.7604, allocations: 6.449 MB / 0.8552 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009275/0.7697, allocations: 8.143 MB / 0.8631 GB, free: 12.48 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.664e-05/0.7697, allocations: 20 kB / 0.8632 GB, free: 12.46 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1178) (initialization_lambda0): time 0.01342/0.7832, allocations: 7.246 MB / 0.8702 GB, free: 5.695 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/0.7832, allocations: 36 kB / 0.8703 GB, free: 5.66 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00855/0.7917, allocations: 4.574 MB / 0.8747 GB, free: 1.086 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2355/1.027, allocations: 2.267 MB / 0.877 GB, free: 171 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005322/1.033, allocations: 2.315 MB / 0.8792 GB, free: 171 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004942/1.037, allocations: 15.31 MB / 0.8942 GB, free: 156.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005772/1.043, allocations: 406.2 kB / 0.8946 GB, free: 156.7 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007018/1.044, allocations: 483.3 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.001805/1.046, allocations: 0.808 MB / 0.8958 GB, free: 156.4 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/1.047, allocations: 0.8981 MB / 0.8967 GB, free: 156.4 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.009292/1.057, allocations: 8.773 MB / 0.9053 GB, free: 155.9 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.586161334067583]