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.01039/0.01039, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001245/0.001245, allocations: 102.2 kB / 24.18 MB, free: 2.18 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.001579/0.001579, allocations: 215.5 kB / 27.9 MB, free: 3.504 MB / 19.63 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.481/1.481, allocations: 230.6 MB / 262.1 MB, free: 5.848 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.076/1.076, allocations: 130.7 MB / 449.7 MB, free: 6.422 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.06594/0.06594, allocations: 20.98 MB / 0.6359 GB, free: 4.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.2312, allocations: 81.9 MB / 0.7158 GB, free: 2.711 MB / 0.5294 GB 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_CH_simple_shutoff): time 0.4846/0.7159, allocations: 56.58 MB / 0.7711 GB, free: 13.41 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0393/0.7552, allocations: 25.8 MB / 0.7963 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007144/0.7623, allocations: 144.2 kB / 0.7964 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008786/0.7711, allocations: 2.935 MB / 0.7993 GB, free: 9.164 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01504/0.7861, allocations: 4.835 MB / 0.804 GB, free: 5.336 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01276/0.7989, allocations: 4.893 MB / 0.8088 GB, free: 1.629 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02166/0.8206, allocations: 13.11 MB / 0.8216 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008585/0.8292, allocations: 4.028 MB / 0.8255 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01197/0.8411, allocations: 5.248 MB / 0.8306 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.8514, allocations: 5.225 MB / 0.8357 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003375/0.8548, allocations: 0.8867 MB / 0.8366 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009079/0.8639, allocations: 3.103 MB / 0.8396 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004459/0.8683, allocations: 2.702 MB / 0.8423 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007648/0.876, allocations: 3.429 MB / 0.8456 GB, free: 13.57 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02822/0.9042, allocations: 14.35 MB / 0.8596 GB, free: 15.18 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9042, allocations: 0 / 0.8596 GB, free: 15.18 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.945e-06/0.9042, allocations: 0 / 0.8596 GB, free: 15.18 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005226/0.9047, allocations: 0 / 0.8596 GB, free: 15.18 MB / 0.6388 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.03109/0.9358, allocations: 10.08 MB / 0.8695 GB, free: 5.035 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.9358, allocations: 8.031 kB / 0.8695 GB, free: 5.027 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002283/0.9381, allocations: 0.7407 MB / 0.8702 GB, free: 4.273 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00466/0.9428, allocations: 1.052 MB / 0.8712 GB, free: 3.219 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/0.9587, allocations: 6.479 MB / 0.8776 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005954/0.9593, allocations: 435.2 kB / 0.878 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001942/0.9613, allocations: 415.9 kB / 0.8784 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03195/0.9932, allocations: 12.58 MB / 0.8907 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002616/0.9935, allocations: 47.56 kB / 0.8907 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002059/0.9955, allocations: 208 kB / 0.8909 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005753/0.9961, allocations: 353.2 kB / 0.8912 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02663/1.023, allocations: 8.909 MB / 0.8999 GB, free: 4.203 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.06618/1.089, allocations: 40.21 MB / 0.9392 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02108/1.11, allocations: 7.362 MB / 0.9464 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006569/1.117, allocations: 2.828 MB / 0.9492 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/1.118, allocations: 394.2 kB / 0.9495 GB, free: 68 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01822/1.137, allocations: 5.939 MB / 0.9553 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 1.703e-05/1.137, allocations: 3.938 kB / 0.9553 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1072/1.244, allocations: 48.33 MB / 1.003 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008879/1.245, allocations: 1.625 MB / 1.004 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/1.255, allocations: 5.73 MB / 1.01 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.001568/1.257, allocations: 97.7 kB / 1.01 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003067/1.26, allocations: 2.854 MB / 1.013 GB, free: 14.62 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004139/1.264, allocations: 2.734 MB / 1.015 GB, free: 11.86 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003476/1.267, allocations: 1.676 MB / 1.017 GB, free: 10.18 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.267, allocations: 303.8 kB / 1.017 GB, free: 9.879 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00783/1.275, allocations: 3.736 MB / 1.021 GB, free: 6.129 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/1.286, allocations: 6.843 MB / 1.028 GB, free: 14.1 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6321/1.918, allocations: 50.63 MB / 1.077 GB, free: 343.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.264e-05/1.918, allocations: 17.97 kB / 1.077 GB, free: 343.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02273/1.941, allocations: 11.29 MB / 1.088 GB, free: 339.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/1.941, allocations: 34.64 kB / 1.088 GB, free: 339.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0171/1.958, allocations: 8.881 MB / 1.097 GB, free: 333.1 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04166/2, allocations: 3.934 MB / 1.101 GB, free: 329.3 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00795/2.008, allocations: 2.18 MB / 1.103 GB, free: 327.1 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008293/2.016, allocations: 12.21 MB / 1.115 GB, free: 314.2 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006518/2.023, allocations: 414 kB / 1.115 GB, free: 313.8 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/2.024, allocations: 0.5064 MB / 1.116 GB, free: 313.3 MB / 0.8263 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.008738/2.033, allocations: 5.231 MB / 1.121 GB, free: 308.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007065/2.04, allocations: 6.786 MB / 1.127 GB, free: 300.1 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3015/2.341, allocations: 48.38 MB / 1.174 GB, free: 250.9 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.117e-05/2.341, allocations: 20 kB / 1.175 GB, free: 250.9 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02004/2.362, allocations: 10.98 MB / 1.185 GB, free: 240.2 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/2.362, allocations: 36.03 kB / 1.185 GB, free: 240.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01337/2.375, allocations: 8.487 MB / 1.194 GB, free: 231.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/2.377, allocations: 0.7054 MB / 1.194 GB, free: 230.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007803/2.385, allocations: 2.176 MB / 1.196 GB, free: 228.7 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00889/2.394, allocations: 13.12 MB / 1.209 GB, free: 214.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007533/2.401, allocations: 417.8 kB / 1.21 GB, free: 214.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001654/2.403, allocations: 0.4919 MB / 1.21 GB, free: 213.9 MB / 0.8263 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.002571/2.405, allocations: 0.6732 MB / 1.211 GB, free: 213.3 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002164/2.407, allocations: 0.7204 MB / 1.211 GB, free: 212.9 MB / 0.8263 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.01424/2.422, allocations: 9.84 MB / 1.221 GB, free: 203.5 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.23047132929787] Failed to read output from testmodel.py, exit status != 0: 2.588735030964017 2.600409149 1.693561442 Calling exit ...