Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff.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.0104/0.0104, allocations: 1.773 MB / 18.12 MB, free: 4.941 MB / 14.72 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.001201/0.001201, allocations: 107.7 kB / 21.36 MB, free: 1.703 MB / 14.72 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.001639/0.001639, allocations: 212.3 kB / 24.75 MB, free: 3.727 MB / 14.72 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 1.623/1.623, allocations: 230.6 MB / 258.5 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] 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 1.206/1.206, allocations: 130.6 MB / 445.6 MB, free: 15.03 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,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.level_abs_|hex.shell.p_liq|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,tolerance=1e-05,outputFormat="mat",numberOfIntervals=50011,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.level_abs_|hex.shell.p_liq|hex.shell.volume_vap|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff") [Timeout 800] "Notification: SMArtInt 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: ClaRa 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 uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.4847/0.4847, allocations: 46.15 MB / 0.655 GB, free: 30.87 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.7042, allocations: 89.04 MB / 0.7419 GB, free: 2.383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff): time 0.03304/0.7373, allocations: 27.1 MB / 0.7684 GB, free: 7.172 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.05103/0.7883, allocations: 26.7 MB / 0.7945 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008231/0.7965, allocations: 142.9 kB / 0.7946 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009604/0.8061, allocations: 3.021 MB / 0.7976 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01768/0.8238, allocations: 4.722 MB / 0.8022 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01442/0.8382, allocations: 4.79 MB / 0.8068 GB, free: 15.68 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.02447/0.8627, allocations: 13.08 MB / 0.8196 GB, free: 2.562 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009532/0.8722, allocations: 3.997 MB / 0.8235 GB, free: 14.5 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01375/0.886, allocations: 5.225 MB / 0.8286 GB, free: 9.258 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.8982, allocations: 5.464 MB / 0.834 GB, free: 3.773 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.004364/0.9025, allocations: 0.8945 MB / 0.8348 GB, free: 2.879 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01295/0.9155, allocations: 3.954 MB / 0.8387 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006833/0.9223, allocations: 2.702 MB / 0.8413 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01263/0.9349, allocations: 4.4 MB / 0.8456 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.03395/0.9689, allocations: 14.45 MB / 0.8597 GB, free: 9.285 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9689, allocations: 4 kB / 0.8598 GB, free: 9.281 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.664e-06/0.9689, allocations: 0 / 0.8598 GB, free: 9.281 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005203/0.9694, allocations: 4 kB / 0.8598 GB, free: 9.277 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1569 * Number of variables: 1569 Notification: Performance of Generate backend data structure: time 0.03163/1.001, allocations: 9.008 MB / 0.8686 GB, free: 164 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.247e-05/1.001, allocations: 12.03 kB / 0.8686 GB, free: 152 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5037/1.505, allocations: 1.046 MB / 0.8696 GB, free: 110.8 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01458/1.519, allocations: 6.649 MB / 0.8761 GB, free: 109.4 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003952/1.52, allocations: 377.8 kB / 0.8764 GB, free: 109.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/1.521, allocations: 429.6 kB / 0.8768 GB, free: 109.1 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02598/1.547, allocations: 10.84 MB / 0.8874 GB, free: 103.4 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/1.547, allocations: 41.62 kB / 0.8875 GB, free: 103.4 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006627/1.548, allocations: 206.7 kB / 0.8877 GB, free: 103.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003505/1.548, allocations: 349.6 kB / 0.888 GB, free: 103.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02505/1.573, allocations: 8.943 MB / 0.8967 GB, free: 99.65 MB / 0.67 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.07163/1.645, allocations: 43.37 MB / 0.9391 GB, free: 62.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0229/1.668, allocations: 7.767 MB / 0.9467 GB, free: 57.64 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006699/1.675, allocations: 2.837 MB / 0.9494 GB, free: 55.96 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002123/1.677, allocations: 0.8606 MB / 0.9503 GB, free: 55.27 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0171/1.694, allocations: 5.94 MB / 0.9561 GB, free: 51.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=794): time 1.717e-05/1.694, allocations: 3.75 kB / 0.9561 GB, free: 51.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=797): time 0.09969/1.794, allocations: 48.86 MB / 1.004 GB, free: 6.191 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003702/1.794, allocations: 1.631 MB / 1.005 GB, free: 4.191 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.804, allocations: 5.648 MB / 1.011 GB, free: 14.59 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.002065/1.806, allocations: 101.7 kB / 1.011 GB, free: 14.48 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.003531/1.81, allocations: 2.849 MB / 1.014 GB, free: 11.82 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.005311/1.815, allocations: 2.732 MB / 1.016 GB, free: 9.125 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003813/1.819, allocations: 1.676 MB / 1.018 GB, free: 7.438 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.819, allocations: 307.6 kB / 1.018 GB, free: 7.137 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007708/1.827, allocations: 3.73 MB / 1.022 GB, free: 3.395 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.837, allocations: 6.019 MB / 1.028 GB, free: 12.48 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3687/2.206, allocations: 50.63 MB / 1.077 GB, free: 9.746 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.689e-05/2.206, allocations: 20 kB / 1.077 GB, free: 9.727 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.03509/2.241, allocations: 11.28 MB / 1.088 GB, free: 14.43 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 9.607e-05/2.241, allocations: 33.81 kB / 1.088 GB, free: 14.39 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02784/2.269, allocations: 8.876 MB / 1.097 GB, free: 5.465 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04709/2.316, allocations: 3.946 MB / 1.101 GB, free: 1.531 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/2.327, allocations: 2.172 MB / 1.103 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/2.342, allocations: 12.88 MB / 1.116 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009158/2.351, allocations: 407.9 kB / 1.116 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002596/2.354, allocations: 0.5035 MB / 1.117 GB, free: 0.6602 MB / 0.7794 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.0163/2.37, allocations: 5.232 MB / 1.122 GB, free: 11.43 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0134/2.384, allocations: 5.95 MB / 1.127 GB, free: 4.492 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3532/2.737, allocations: 48.39 MB / 1.175 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.939e-05/2.737, allocations: 16 kB / 1.175 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.03626/2.773, allocations: 10.98 MB / 1.185 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/2.773, allocations: 32 kB / 1.185 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.5537/3.327, allocations: 8.492 MB / 1.194 GB, free: 280.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/3.329, allocations: 0.7108 MB / 1.194 GB, free: 280 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009624/3.339, allocations: 2.175 MB / 1.197 GB, free: 280 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/3.35, allocations: 13.89 MB / 1.21 GB, free: 268.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/3.361, allocations: 413.8 kB / 1.211 GB, free: 268.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002716/3.363, allocations: 0.4974 MB / 1.211 GB, free: 268.6 MB / 0.8575 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: 280 * 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 (1063): * Single equations (assignments): 1053 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 6 * 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 {(1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,5), (1,1), (1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.003629/3.367, allocations: 0.6761 MB / 1.212 GB, free: 268.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00313/3.37, allocations: 0.7268 MB / 1.212 GB, free: 268.4 MB / 0.8575 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 1214 equation(s) and 1163 variable(s). Error: ($cse465, $cse466, $cse467, $cse468, $cse469, $cse470, $cse471, $cse472, $cse473, $cse474, $cse475, $cse476) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.VLEProperties_phxi(hex.shell.fluidIn[1].p, -1.0, {}, massFlowSource_h.fluidOut.vleFluidPointer) has size 12 but 5 variables (hex.shell.h_vap, hex.shell.drho_vapdt, hex.shell.p_vap, hex.shell.vap.drhodh_pxi, hex.shell.vap.drhodp_hxi) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02338/3.394, allocations: 9.798 MB / 1.222 GB, free: 266.8 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 7.381533666994073] Failed to read output from testmodel.py, exit status != 0: 3.4035761279956205 3.415816833 2.4434906659999998 Calling exit ...