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.01316/0.01316, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001424/0.001424, allocations: 105.2 kB / 24.98 MB, free: 2.16 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.001964/0.001964, allocations: 207.2 kB / 28.71 MB, free: 3.441 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.495/1.495, allocations: 230.6 MB / 262.9 MB, free: 6.004 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.06/1.06, allocations: 130.7 MB / 450.5 MB, free: 6.574 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="cs",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="cs",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.03216/0.03216, allocations: 20.6 MB / 0.6363 GB, free: 5.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.204, allocations: 81.9 MB / 0.7163 GB, free: 3.301 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.4716/0.6755, allocations: 60.1 MB / 0.775 GB, free: 10.2 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0483/0.7238, allocations: 27.02 MB / 0.8014 GB, free: 6.824 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01146/0.7353, allocations: 143.8 kB / 0.8015 GB, free: 6.758 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009945/0.7452, allocations: 3.09 MB / 0.8046 GB, free: 4.582 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01705/0.7623, allocations: 4.821 MB / 0.8093 GB, free: 0.7422 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01382/0.7761, allocations: 4.908 MB / 0.8141 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02337/0.7995, allocations: 13.12 MB / 0.8269 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00799/0.8075, allocations: 3.837 MB / 0.8306 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0109/0.8184, allocations: 5.229 MB / 0.8357 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/0.829, allocations: 5.492 MB / 0.8411 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003693/0.8327, allocations: 0.8867 MB / 0.842 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01422/0.8469, allocations: 4.261 MB / 0.8461 GB, free: 14.31 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.005197/0.8521, allocations: 2.702 MB / 0.8488 GB, free: 11.6 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.01162/0.8637, allocations: 4.4 MB / 0.8531 GB, free: 7.176 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02743/0.8911, allocations: 14.55 MB / 0.8673 GB, free: 8.578 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.8911, allocations: 11.88 kB / 0.8673 GB, free: 8.566 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8911, allocations: 2.719 kB / 0.8673 GB, free: 8.566 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004422/0.8916, allocations: 0 / 0.8673 GB, free: 8.566 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.02733/0.9189, allocations: 10.08 MB / 0.8771 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.919, allocations: 12.03 kB / 0.8771 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001507/0.9191, allocations: 128.6 kB / 0.8773 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001832/0.9209, allocations: 0.7368 MB / 0.878 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/0.9249, allocations: 1.052 MB / 0.879 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/0.9395, allocations: 6.468 MB / 0.8853 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004929/0.94, allocations: 435.2 kB / 0.8857 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.9413, allocations: 423.9 kB / 0.8861 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02661/0.9679, allocations: 10.83 MB / 0.8967 GB, free: 9.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.968, allocations: 46.22 kB / 0.8968 GB, free: 9.188 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008436/0.9689, allocations: 208 kB / 0.897 GB, free: 8.984 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000427/0.9693, allocations: 354.5 kB / 0.8973 GB, free: 8.637 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/0.9943, allocations: 8.943 MB / 0.906 GB, free: 15.7 MB / 0.6857 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.07667/1.071, allocations: 42.95 MB / 0.948 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02235/1.093, allocations: 7.39 MB / 0.9552 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007895/1.101, allocations: 2.833 MB / 0.958 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002218/1.103, allocations: 432.8 kB / 0.9584 GB, free: 8.668 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01995/1.123, allocations: 5.94 MB / 0.9642 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=794): time 1.493e-05/1.123, allocations: 2.656 kB / 0.9642 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=797): time 0.1055/1.229, allocations: 48.32 MB / 1.011 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001075/1.23, allocations: 1.628 MB / 1.013 GB, free: 15.96 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/1.241, allocations: 5.646 MB / 1.018 GB, free: 10.31 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001921/1.243, allocations: 97.7 kB / 1.019 GB, free: 10.21 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.003203/1.246, allocations: 2.853 MB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004125/1.25, allocations: 2.73 MB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003339/1.253, allocations: 1.676 MB / 1.026 GB, free: 2.895 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.254, allocations: 309.1 kB / 1.026 GB, free: 2.59 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007177/1.261, allocations: 3.731 MB / 1.03 GB, free: 14.85 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009707/1.27, allocations: 6.014 MB / 1.035 GB, free: 7.906 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6228/1.893, allocations: 50.64 MB / 1.085 GB, free: 340.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-05/1.893, allocations: 19.62 kB / 1.085 GB, free: 340.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.02675/1.92, allocations: 11.29 MB / 1.096 GB, free: 335.3 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/1.92, allocations: 30.62 kB / 1.096 GB, free: 335.3 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01815/1.938, allocations: 8.882 MB / 1.105 GB, free: 327 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04345/1.982, allocations: 3.938 MB / 1.108 GB, free: 323.1 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008176/1.99, allocations: 2.18 MB / 1.111 GB, free: 320.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008626/1.999, allocations: 12.25 MB / 1.123 GB, free: 308 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006492/2.005, allocations: 407.1 kB / 1.123 GB, free: 307.6 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/2.007, allocations: 0.5088 MB / 1.123 GB, free: 307.1 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.009385/2.016, allocations: 5.233 MB / 1.129 GB, free: 301.9 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00699/2.023, allocations: 5.954 MB / 1.134 GB, free: 294.9 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2978/2.321, allocations: 48.38 MB / 1.182 GB, free: 245.7 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.881e-05/2.321, allocations: 16 kB / 1.182 GB, free: 245.7 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.02469/2.346, allocations: 10.98 MB / 1.192 GB, free: 235 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/2.346, allocations: 32 kB / 1.192 GB, free: 235 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01739/2.363, allocations: 8.489 MB / 1.201 GB, free: 226.4 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/2.365, allocations: 0.7036 MB / 1.201 GB, free: 225.7 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008103/2.373, allocations: 2.183 MB / 1.204 GB, free: 223.5 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009043/2.382, allocations: 13.17 MB / 1.216 GB, free: 209.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006969/2.389, allocations: 416.4 kB / 1.217 GB, free: 209.2 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001974/2.391, allocations: 0.4957 MB / 1.217 GB, free: 208.7 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.003878/2.395, allocations: 0.6852 MB / 1.218 GB, free: 208.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002694/2.398, allocations: 0.7229 MB / 1.219 GB, free: 207.6 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.01627/2.414, allocations: 9.789 MB / 1.228 GB, free: 198.2 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.298221167991869] Failed to read output from testmodel.py, exit status != 0: 2.559360448969528 2.56944793 1.675681385 Calling exit ...