Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01338/0.01338, allocations: 1.765 MB / 18.11 MB, free: 4.945 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.001433/0.001433, allocations: 103.7 kB / 21.36 MB, free: 1.715 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.001868/0.001868, allocations: 210.8 kB / 24.75 MB, free: 3.746 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.532/1.532, allocations: 230.6 MB / 258.5 MB, free: 13.12 MB / 206.1 MB " [Timeout remaining time 178] 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 1.11/1.11, allocations: 130.6 MB / 445.6 MB, free: 14.96 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple_shutoff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_2ph_CH_simple_shutoff",fmuType="me",version="2.0",platforms={"static"}) [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.42/0.42, allocations: 46.14 MB / 0.6545 GB, free: 30.36 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.6002, allocations: 89.06 MB / 0.7415 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff): time 0.03152/0.6317, allocations: 27.1 MB / 0.7679 GB, free: 7.562 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.05041/0.6821, allocations: 26.7 MB / 0.794 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00758/0.6897, allocations: 142.9 kB / 0.7941 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00907/0.6987, allocations: 3.029 MB / 0.7971 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.7145, allocations: 4.714 MB / 0.8017 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01337/0.7279, allocations: 4.782 MB / 0.8064 GB, free: 84 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02017/0.7481, allocations: 13.1 MB / 0.8192 GB, free: 2.949 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0078/0.7559, allocations: 3.989 MB / 0.823 GB, free: 14.89 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01153/0.7674, allocations: 5.221 MB / 0.8281 GB, free: 9.656 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.7782, allocations: 5.473 MB / 0.8335 GB, free: 4.164 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.00396/0.7821, allocations: 0.8867 MB / 0.8344 GB, free: 3.277 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/0.7936, allocations: 3.95 MB / 0.8382 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005675/0.7992, allocations: 2.706 MB / 0.8409 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0106/0.8098, allocations: 4.396 MB / 0.8452 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02844/0.8383, allocations: 14.45 MB / 0.8593 GB, free: 9.688 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.8383, allocations: 4 kB / 0.8593 GB, free: 9.684 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8383, allocations: 4 kB / 0.8593 GB, free: 9.68 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004721/0.8388, allocations: 0 / 0.8593 GB, free: 9.68 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.02813/0.8669, allocations: 9.016 MB / 0.8681 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.8669, allocations: 8.031 kB / 0.8681 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3881/1.255, allocations: 0.7357 MB / 0.8688 GB, free: 110.8 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007925/1.263, allocations: 1.052 MB / 0.8698 GB, free: 110.7 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01471/1.278, allocations: 6.639 MB / 0.8763 GB, free: 109.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/1.278, allocations: 383.9 kB / 0.8767 GB, free: 108.9 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/1.279, allocations: 427.2 kB / 0.8771 GB, free: 108.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/1.304, allocations: 10.84 MB / 0.8877 GB, free: 103 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/1.304, allocations: 44.06 kB / 0.8877 GB, free: 103 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000695/1.305, allocations: 214.6 kB / 0.8879 GB, free: 102.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003729/1.305, allocations: 349.9 kB / 0.8882 GB, free: 102.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02503/1.33, allocations: 8.94 MB / 0.897 GB, free: 99.4 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.07089/1.401, allocations: 43.37 MB / 0.9393 GB, free: 62 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02386/1.425, allocations: 7.775 MB / 0.9469 GB, free: 57.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007349/1.432, allocations: 2.831 MB / 0.9497 GB, free: 55.72 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002471/1.435, allocations: 0.8645 MB / 0.9505 GB, free: 55.03 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01743/1.452, allocations: 5.928 MB / 0.9563 GB, free: 51.57 MB / 0.67 GB Notification: Performance of pre-optimization done (n=794): time 1.82e-05/1.452, allocations: 2.656 kB / 0.9563 GB, free: 51.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=797): time 0.1012/1.553, allocations: 48.86 MB / 1.004 GB, free: 5.422 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005076/1.554, allocations: 1.633 MB / 1.006 GB, free: 3.418 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01124/1.565, allocations: 5.651 MB / 1.011 GB, free: 13.81 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001929/1.567, allocations: 104.3 kB / 1.011 GB, free: 13.71 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.003379/1.57, allocations: 2.849 MB / 1.014 GB, free: 11.05 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.004874/1.575, allocations: 2.732 MB / 1.017 GB, free: 8.352 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004105/1.579, allocations: 1.68 MB / 1.018 GB, free: 6.66 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.58, allocations: 302.6 kB / 1.019 GB, free: 6.363 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007709/1.587, allocations: 3.733 MB / 1.022 GB, free: 2.621 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.598, allocations: 6.011 MB / 1.028 GB, free: 11.72 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3653/1.964, allocations: 50.64 MB / 1.078 GB, free: 8.977 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.917e-05/1.964, allocations: 16 kB / 1.078 GB, free: 8.961 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.0285/1.992, allocations: 11.28 MB / 1.089 GB, free: 13.65 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 6.413e-05/1.992, allocations: 32.19 kB / 1.089 GB, free: 13.62 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02157/2.014, allocations: 8.876 MB / 1.097 GB, free: 4.688 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04423/2.058, allocations: 3.945 MB / 1.101 GB, free: 0.7578 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01259/2.071, allocations: 2.18 MB / 1.103 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/2.087, allocations: 12.87 MB / 1.116 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007558/2.095, allocations: 405.1 kB / 1.116 GB, free: 400 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/2.097, allocations: 0.4996 MB / 1.117 GB, free: 15.89 MB / 0.795 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.01453/2.112, allocations: 5.24 MB / 1.122 GB, free: 10.64 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01148/2.123, allocations: 5.95 MB / 1.128 GB, free: 3.707 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3359/2.459, allocations: 48.38 MB / 1.175 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.942e-05/2.459, allocations: 20 kB / 1.175 GB, free: 2.438 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.04086/2.5, allocations: 10.98 MB / 1.186 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.768e-05/2.5, allocations: 32 kB / 1.186 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4838/2.984, allocations: 8.498 MB / 1.194 GB, free: 280.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/2.986, allocations: 0.7015 MB / 1.195 GB, free: 280.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009209/2.995, allocations: 2.172 MB / 1.197 GB, free: 280.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/3.005, allocations: 13.89 MB / 1.21 GB, free: 269.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007444/3.013, allocations: 414.3 kB / 1.211 GB, free: 269.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002106/3.015, allocations: 0.4978 MB / 1.211 GB, free: 269.4 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.002633/3.018, allocations: 0.6814 MB / 1.212 GB, free: 269.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002548/3.02, allocations: 0.7181 MB / 1.213 GB, free: 269.2 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.02003/3.04, allocations: 9.803 MB / 1.222 GB, free: 267.4 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.783195784999407] Failed to read output from testmodel.py, exit status != 0: 3.0492519399995217 3.062187575 2.22033489 Calling exit ...