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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01049/0.01049, allocations: 1.358 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07969/0.07969, allocations: 18.24 MB / 42.2 MB, free: 5.195 MB / 33.03 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.001327/0.001327, allocations: 84.83 kB / 53.06 MB, free: 6.512 MB / 44.04 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.001116/0.001116, allocations: 157.8 kB / 64.03 MB, free: 10.21 MB / 58.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 0.8679/0.8679, allocations: 177.2 MB / 252.1 MB, free: 11.77 MB / 218.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.4957/0.4957, allocations: 102.5 MB / 418.6 MB, free: 5.191 MB / 362.7 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") 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_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="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6029 GB, free: 264 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.367e-05, allocations: 4.109 kB / 0.6029 GB, free: 260 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff): time 0.0256/0.02561, allocations: 23.55 MB / 0.6259 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03078/0.05639, allocations: 25.53 MB / 0.6509 GB, free: 15 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003169/0.05956, allocations: 142.9 kB / 0.651 GB, free: 14.86 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.003868/0.06343, allocations: 2.958 MB / 0.6539 GB, free: 11.88 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.005883/0.06931, allocations: 4.966 MB / 0.6587 GB, free: 6.895 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.007173/0.07648, allocations: 4.954 MB / 0.6636 GB, free: 1.949 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2611/0.3375, allocations: 13.41 MB / 0.6767 GB, free: 18.91 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003813/0.3414, allocations: 4.056 MB / 0.6806 GB, free: 18.48 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006916/0.3483, allocations: 7.136 MB / 0.6876 GB, free: 17.89 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004885/0.3532, allocations: 4.658 MB / 0.6922 GB, free: 17.42 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001158/0.3543, allocations: 0.8865 MB / 0.693 GB, free: 17.42 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004533/0.3588, allocations: 3.137 MB / 0.6961 GB, free: 17.29 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.3605, allocations: 2.777 MB / 0.6988 GB, free: 16.81 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003192/0.3637, allocations: 2.829 MB / 0.7016 GB, free: 15.52 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.3741, allocations: 14.44 MB / 0.7157 GB, free: 8.871 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3741, allocations: 0.8125 kB / 0.7157 GB, free: 8.871 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3741, allocations: 0.75 kB / 0.7157 GB, free: 8.871 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 7.976e-05/0.3742, allocations: 0 / 0.7157 GB, free: 8.871 MB / 0.5418 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.009047/0.3832, allocations: 9.99 MB / 0.7254 GB, free: 1.984 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3833, allocations: 7.438 kB / 0.7254 GB, free: 1.984 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005682/0.3838, allocations: 0.7399 MB / 0.7261 GB, free: 1.441 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.3854, allocations: 1.05 MB / 0.7272 GB, free: 0.8594 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006306/0.3917, allocations: 6.472 MB / 0.7335 GB, free: 12.62 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.3919, allocations: 435.6 kB / 0.7339 GB, free: 12.35 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004167/0.3923, allocations: 424.8 kB / 0.7343 GB, free: 12.21 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.4053, allocations: 12.58 MB / 0.7466 GB, free: 15.77 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.601e-05/0.4053, allocations: 42.16 kB / 0.7466 GB, free: 15.75 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003687/0.4057, allocations: 210.2 kB / 0.7468 GB, free: 15.55 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/0.4059, allocations: 344.8 kB / 0.7472 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/0.418, allocations: 8.916 MB / 0.7559 GB, free: 6.52 MB / 0.573 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.02637/0.4444, allocations: 40.11 MB / 0.795 GB, free: 13.72 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.4549, allocations: 7.349 MB / 0.8022 GB, free: 6.242 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/0.4581, allocations: 2.837 MB / 0.805 GB, free: 3.34 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007764/0.4589, allocations: 393.7 kB / 0.8054 GB, free: 2.957 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008282/0.4672, allocations: 5.933 MB / 0.8112 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=794): time 5.58e-06/0.4672, allocations: 0 / 0.8112 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=797): time 0.05013/0.5173, allocations: 48.33 MB / 0.8584 GB, free: 12.27 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000416/0.5177, allocations: 1.624 MB / 0.8599 GB, free: 10.27 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005626/0.5233, allocations: 5.738 MB / 0.8655 GB, free: 4.523 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0004084/0.5237, allocations: 97.7 kB / 0.8656 GB, free: 4.422 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.5254, allocations: 2.837 MB / 0.8684 GB, free: 1.586 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.001442/0.5268, allocations: 2.701 MB / 0.871 GB, free: 14.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0017/0.5285, allocations: 1.656 MB / 0.8727 GB, free: 13.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.5286, allocations: 301.9 kB / 0.8729 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004204/0.5328, allocations: 3.737 MB / 0.8766 GB, free: 9.207 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005557/0.5383, allocations: 6.849 MB / 0.8833 GB, free: 1.203 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1863/0.7246, allocations: 50.66 MB / 0.9328 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/0.7247, allocations: 16 kB / 0.9328 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01486/0.7395, allocations: 11.29 MB / 0.9438 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.7396, allocations: 34.03 kB / 0.9438 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2427/0.9822, allocations: 8.878 MB / 0.9525 GB, free: 263.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02223/1.004, allocations: 3.936 MB / 0.9563 GB, free: 263.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005887/1.01, allocations: 2.175 MB / 0.9585 GB, free: 263.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006557/1.017, allocations: 12.2 MB / 0.9704 GB, free: 252.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004982/1.022, allocations: 409.9 kB / 0.9708 GB, free: 252.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.023, allocations: 0.5014 MB / 0.9713 GB, free: 252.5 MB / 0.7605 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.00857/1.032, allocations: 5.237 MB / 0.9764 GB, free: 250.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005764/1.037, allocations: 6.789 MB / 0.983 GB, free: 244.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1545/1.192, allocations: 48.38 MB / 1.03 GB, free: 213.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-05/1.192, allocations: 16 kB / 1.03 GB, free: 213.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01202/1.204, allocations: 10.97 MB / 1.041 GB, free: 202.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.204, allocations: 36.03 kB / 1.041 GB, free: 202.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00834/1.212, allocations: 8.499 MB / 1.049 GB, free: 194.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/1.213, allocations: 0.7066 MB / 1.05 GB, free: 193.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003796/1.217, allocations: 2.172 MB / 1.052 GB, free: 191.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004838/1.222, allocations: 13.1 MB / 1.065 GB, free: 177.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003248/1.225, allocations: 416.6 kB / 1.065 GB, free: 176.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/1.226, allocations: 0.4958 MB / 1.066 GB, free: 176.4 MB / 0.7605 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.001731/1.227, allocations: 0.6688 MB / 1.066 GB, free: 175.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008587/1.228, allocations: 0.7207 MB / 1.067 GB, free: 175.4 MB / 0.7605 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.008927/1.237, allocations: 9.83 MB / 1.077 GB, free: 166.1 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.800718012265861]