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.00615/0.00615, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0006251/0.0006251, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007031/0.0007031, allocations: 161.8 kB / 27.85 MB, free: 5.496 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.8601/0.8601, allocations: 177.2 MB / 208.6 MB, free: 2.973 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7237/0.7237, allocations: 102.5 MB / 367.9 MB, free: 1.477 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.5362 GB, free: 39.86 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.813e-05, allocations: 2.781 kB / 0.5362 GB, free: 39.86 MB / 490.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_CH_simple_shutoff): time 0.1194/0.1194, allocations: 70.22 MB / 0.6048 GB, free: 6.098 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03531/0.1547, allocations: 25.53 MB / 0.6297 GB, free: 12.48 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006375/0.1611, allocations: 142.9 kB / 0.6298 GB, free: 12.34 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.006594/0.1677, allocations: 2.942 MB / 0.6327 GB, free: 9.387 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.1784, allocations: 4.975 MB / 0.6376 GB, free: 4.383 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009135/0.1875, allocations: 4.946 MB / 0.6424 GB, free: 15.43 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01624/0.2038, allocations: 13.42 MB / 0.6555 GB, free: 1.961 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006654/0.2104, allocations: 4.062 MB / 0.6595 GB, free: 13.82 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.2214, allocations: 7.137 MB / 0.6664 GB, free: 6.672 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004901/0.2263, allocations: 4.661 MB / 0.671 GB, free: 2 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.2274, allocations: 0.8867 MB / 0.6719 GB, free: 1.113 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005397/0.2328, allocations: 3.134 MB / 0.6749 GB, free: 13.97 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001693/0.2345, allocations: 2.768 MB / 0.6776 GB, free: 11.2 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002829/0.2373, allocations: 2.833 MB / 0.6804 GB, free: 8.355 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.2506, allocations: 14.43 MB / 0.6945 GB, free: 9.879 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2506, allocations: 0 / 0.6945 GB, free: 9.879 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2506, allocations: 0 / 0.6945 GB, free: 9.879 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0001646/0.2507, allocations: 0 / 0.6945 GB, free: 9.879 MB / 0.5887 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.01301/0.2637, allocations: 9.989 MB / 0.7042 GB, free: 15.78 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.2638, allocations: 12.03 kB / 0.7043 GB, free: 15.77 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007303/0.2645, allocations: 0.7406 MB / 0.705 GB, free: 15.02 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.2666, allocations: 1.053 MB / 0.706 GB, free: 13.96 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008016/0.2746, allocations: 6.464 MB / 0.7123 GB, free: 7.41 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.2749, allocations: 439.2 kB / 0.7127 GB, free: 6.953 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004736/0.2754, allocations: 411.9 kB / 0.7131 GB, free: 6.551 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/0.2892, allocations: 12.58 MB / 0.7254 GB, free: 8.434 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.03e-05/0.2892, allocations: 47.62 kB / 0.7255 GB, free: 8.387 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003778/0.2896, allocations: 212 kB / 0.7257 GB, free: 8.18 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.2898, allocations: 346.6 kB / 0.726 GB, free: 7.84 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.3023, allocations: 8.91 MB / 0.7347 GB, free: 14.91 MB / 0.6355 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.336/0.6383, allocations: 40.12 MB / 0.7739 GB, free: 89.25 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.6502, allocations: 7.345 MB / 0.781 GB, free: 88.69 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003676/0.6539, allocations: 2.829 MB / 0.7838 GB, free: 88.49 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008804/0.6548, allocations: 396.5 kB / 0.7842 GB, free: 88.47 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01141/0.6662, allocations: 5.937 MB / 0.79 GB, free: 88 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=794): time 1.205e-05/0.6662, allocations: 0 / 0.79 GB, free: 88 MB / 0.6512 GB Notification: Performance of matching and sorting (n=797): time 0.05663/0.7229, allocations: 48.32 MB / 0.8372 GB, free: 64.36 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002443/0.7231, allocations: 1.635 MB / 0.8388 GB, free: 62.41 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005966/0.7291, allocations: 5.73 MB / 0.8444 GB, free: 60.08 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/0.7303, allocations: 98.42 kB / 0.8445 GB, free: 60 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.7316, allocations: 2.836 MB / 0.8472 GB, free: 57.76 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001666/0.7333, allocations: 2.703 MB / 0.8499 GB, free: 55.75 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001567/0.7348, allocations: 1.66 MB / 0.8515 GB, free: 54.82 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.741e-05/0.7349, allocations: 308 kB / 0.8518 GB, free: 54.52 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/0.7387, allocations: 3.737 MB / 0.8554 GB, free: 52.42 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004455/0.7432, allocations: 6.843 MB / 0.8621 GB, free: 45.96 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1598/0.9029, allocations: 50.65 MB / 0.9116 GB, free: 11.61 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.132e-05/0.903, allocations: 19.94 kB / 0.9116 GB, free: 11.59 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.0182/0.9212, allocations: 11.29 MB / 0.9226 GB, free: 0.6172 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.9212, allocations: 28 kB / 0.9226 GB, free: 0.5898 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01119/0.9324, allocations: 8.883 MB / 0.9313 GB, free: 7.691 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02197/0.9544, allocations: 3.938 MB / 0.9352 GB, free: 3.77 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005128/0.9595, allocations: 2.18 MB / 0.9373 GB, free: 1.711 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007822/0.9673, allocations: 12.19 MB / 0.9492 GB, free: 4.848 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/0.9719, allocations: 417.8 kB / 0.9496 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006605/0.9726, allocations: 0.4996 MB / 0.9501 GB, free: 3.961 MB / 0.698 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.007117/0.9797, allocations: 5.228 MB / 0.9552 GB, free: 14.73 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00559/0.9853, allocations: 6.787 MB / 0.9618 GB, free: 6.789 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1552/1.141, allocations: 48.38 MB / 1.009 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.227e-05/1.141, allocations: 16 kB / 1.009 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01558/1.156, allocations: 10.99 MB / 1.02 GB, free: 11.1 MB / 0.7762 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/1.156, allocations: 38.14 kB / 1.02 GB, free: 11.07 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01033/1.167, allocations: 8.499 MB / 1.028 GB, free: 2.531 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/1.168, allocations: 0.7038 MB / 1.029 GB, free: 1.824 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004104/1.172, allocations: 2.172 MB / 1.031 GB, free: 15.77 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/1.18, allocations: 13.11 MB / 1.044 GB, free: 1.918 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004565/1.184, allocations: 413.8 kB / 1.044 GB, free: 1.527 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006585/1.185, allocations: 0.4996 MB / 1.045 GB, free: 1.027 MB / 0.7918 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.002576/1.188, allocations: 0.6769 MB / 1.045 GB, free: 0.5156 MB / 0.7918 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002219/1.19, allocations: 0.7101 MB / 1.046 GB, free: 15.8 MB / 0.8074 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.01303/1.203, allocations: 9.84 MB / 1.056 GB, free: 6.578 MB / 0.8074 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.197026305831969] Failed to read output from testmodel.py, exit status != 0: 1.568137003108859 1.57528447 1.3230865760000001 Calling exit ...