Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.006236/0.006236, allocations: 1.354 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.07911/0.07911, allocations: 18.24 MB / 42.2 MB, free: 5.184 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.001045/0.001045, allocations: 88.81 kB / 53.07 MB, free: 6.508 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.001226/0.001226, allocations: 161.4 kB / 64.04 MB, free: 10.2 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.9042/0.9042, 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-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.498/0.498, allocations: 102.6 MB / 418.7 MB, free: 5.305 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-main/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_dev_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_dev_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.613e-06/1.613e-06, allocations: 0 / 0.603 GB, free: 324 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.25e-05, allocations: 5.781 kB / 0.603 GB, free: 320 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_2ph_CH_simple_shutoff): time 0.02011/0.02013, allocations: 23.56 MB / 0.626 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0285/0.04863, allocations: 25.52 MB / 0.651 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003989/0.05262, allocations: 146.9 kB / 0.6511 GB, free: 14.91 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.00508/0.0577, allocations: 2.954 MB / 0.654 GB, free: 11.94 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.00813/0.06583, allocations: 4.963 MB / 0.6588 GB, free: 6.953 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.007293/0.07312, allocations: 4.955 MB / 0.6637 GB, free: 2.004 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.244/0.3171, allocations: 13.4 MB / 0.6768 GB, free: 18.93 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004865/0.3219, allocations: 4.065 MB / 0.6807 GB, free: 18.51 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009337/0.3313, allocations: 7.132 MB / 0.6877 GB, free: 17.91 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006593/0.3379, allocations: 4.658 MB / 0.6922 GB, free: 17.45 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.3396, allocations: 0.885 MB / 0.6931 GB, free: 17.45 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005634/0.3453, allocations: 3.135 MB / 0.6962 GB, free: 17.32 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002101/0.3474, allocations: 2.783 MB / 0.6989 GB, free: 16.88 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004089/0.3515, allocations: 2.826 MB / 0.7016 GB, free: 15.59 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.3655, allocations: 14.44 MB / 0.7157 GB, free: 8.953 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3655, allocations: 3.656 kB / 0.7157 GB, free: 8.953 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3655, allocations: 3.812 kB / 0.7157 GB, free: 8.953 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003103/0.3658, allocations: 0 / 0.7157 GB, free: 8.953 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.01323/0.379, allocations: 9.982 MB / 0.7255 GB, free: 2.062 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.379, allocations: 13.92 kB / 0.7255 GB, free: 2.059 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006527/0.3797, allocations: 0.7421 MB / 0.7262 GB, free: 1.512 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.3816, allocations: 1.048 MB / 0.7273 GB, free: 0.9336 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008127/0.3897, allocations: 6.473 MB / 0.7336 GB, free: 12.7 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.3899, allocations: 437.3 kB / 0.734 GB, free: 12.43 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005164/0.3905, allocations: 421.6 kB / 0.7344 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.4061, allocations: 12.59 MB / 0.7467 GB, free: 15.86 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.297e-05/0.4062, allocations: 50 kB / 0.7467 GB, free: 15.84 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004543/0.4066, allocations: 207.2 kB / 0.7469 GB, free: 15.64 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/0.4069, allocations: 350.5 kB / 0.7473 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.4209, allocations: 8.898 MB / 0.756 GB, free: 6.613 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.0333/0.4542, allocations: 40.11 MB / 0.7951 GB, free: 13.82 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.4653, allocations: 7.35 MB / 0.8023 GB, free: 6.336 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003445/0.4688, allocations: 2.845 MB / 0.8051 GB, free: 3.43 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008521/0.4696, allocations: 386.2 kB / 0.8055 GB, free: 3.051 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009148/0.4788, allocations: 5.935 MB / 0.8112 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=794): time 8.666e-06/0.4788, allocations: 0 / 0.8112 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=797): time 0.0555/0.5343, allocations: 48.33 MB / 0.8584 GB, free: 12.36 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004549/0.5347, allocations: 1.636 MB / 0.86 GB, free: 10.36 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007764/0.5425, allocations: 5.734 MB / 0.8656 GB, free: 4.617 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.001213/0.5437, allocations: 101.7 kB / 0.8657 GB, free: 4.512 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.5454, allocations: 2.836 MB / 0.8685 GB, free: 1.676 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.002205/0.5476, allocations: 2.7 MB / 0.8711 GB, free: 15.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001894/0.5495, allocations: 1.656 MB / 0.8728 GB, free: 13.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.5495, allocations: 301.1 kB / 0.873 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004775/0.5543, allocations: 3.737 MB / 0.8767 GB, free: 9.297 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00763/0.5619, allocations: 6.848 MB / 0.8834 GB, free: 1.297 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2032/0.7651, allocations: 50.65 MB / 0.9329 GB, free: 14 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.874e-05/0.7651, allocations: 16 kB / 0.9329 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.01633/0.7815, allocations: 11.3 MB / 0.9439 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.7815, allocations: 32 kB / 0.9439 GB, free: 2.973 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.273/1.055, allocations: 8.873 MB / 0.9526 GB, free: 222 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02181/1.076, allocations: 3.93 MB / 0.9564 GB, free: 221.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005465/1.082, allocations: 2.181 MB / 0.9586 GB, free: 221.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/1.088, allocations: 12.19 MB / 0.9705 GB, free: 212.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004567/1.092, allocations: 414 kB / 0.9709 GB, free: 212.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006926/1.093, allocations: 0.5023 MB / 0.9714 GB, free: 212.1 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.007659/1.101, allocations: 5.231 MB / 0.9765 GB, free: 212 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005423/1.106, allocations: 6.785 MB / 0.9831 GB, free: 208.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1801/1.286, allocations: 48.38 MB / 1.03 GB, free: 182.7 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-05/1.286, allocations: 16.55 kB / 1.03 GB, free: 182.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1091) (initialization_lambda0): time 0.01431/1.301, allocations: 10.99 MB / 1.041 GB, free: 172.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/1.301, allocations: 32 kB / 1.041 GB, free: 172.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009611/1.31, allocations: 8.496 MB / 1.049 GB, free: 163.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/1.311, allocations: 0.7128 MB / 1.05 GB, free: 163.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004826/1.316, allocations: 2.174 MB / 1.052 GB, free: 161 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/1.322, allocations: 13.1 MB / 1.065 GB, free: 147.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/1.326, allocations: 413.8 kB / 1.065 GB, free: 146.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009271/1.327, allocations: 0.4958 MB / 1.066 GB, free: 146.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.002093/1.329, allocations: 0.6778 MB / 1.067 GB, free: 145.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/1.331, allocations: 0.7167 MB / 1.067 GB, free: 145.5 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.01003/1.341, allocations: 9.835 MB / 1.077 GB, free: 136.4 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.062000119127333]