Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA.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.01728/0.01728, allocations: 1.771 MB / 20.62 MB, free: 3.867 MB / 13.93 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.09476/0.09476, allocations: 25.6 MB / 49.71 MB, free: 2.969 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.0009667/0.0009667, allocations: 114.1 kB / 60.65 MB, free: 3.027 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.001524/0.001524, allocations: 211.3 kB / 71.72 MB, free: 6.496 MB / 44.04 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.9859/0.9859, allocations: 230.6 MB / 313.3 MB, free: 11.8 MB / 234.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.7389/0.7389, allocations: 130.7 MB / 0.4963 GB, free: 2.207 MB / 362.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 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_1ph_kA,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="me_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: 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: 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: Performance of FrontEnd - loaded program: time 0.003858/0.003858, allocations: 152.2 kB / 0.6901 GB, free: 47.04 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1456, allocations: 89.27 MB / 0.7772 GB, free: 3 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA): time 0.01679/0.1624, allocations: 22.55 MB / 0.7993 GB, free: 12.35 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0263/0.1887, allocations: 22.11 MB / 0.8209 GB, free: 6.172 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004746/0.1935, allocations: 143 kB / 0.821 GB, free: 6.031 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.00586/0.1993, allocations: 2.552 MB / 0.8235 GB, free: 3.465 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.008402/0.2077, allocations: 3.684 MB / 0.8271 GB, free: 15.76 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.00688/0.2146, allocations: 3.929 MB / 0.8309 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0113/0.2259, allocations: 9.895 MB / 0.8406 GB, free: 1.914 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004484/0.2304, allocations: 3.324 MB / 0.8438 GB, free: 14.52 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006412/0.2368, allocations: 4.177 MB / 0.8479 GB, free: 10.33 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00553/0.2423, allocations: 3.994 MB / 0.8518 GB, free: 6.32 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.002162/0.2445, allocations: 0.668 MB / 0.8525 GB, free: 5.652 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004939/0.2494, allocations: 1.96 MB / 0.8544 GB, free: 3.691 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.002955/0.2524, allocations: 2.04 MB / 0.8564 GB, free: 1.645 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.005142/0.2575, allocations: 2.736 MB / 0.859 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01404/0.2716, allocations: 10.56 MB / 0.8693 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2716, allocations: 0 / 0.8693 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2716, allocations: 0 / 0.8693 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003992/0.272, allocations: 0 / 0.8693 GB, free: 4.297 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1318 * Number of variables: 1318 Notification: Performance of Generate backend data structure: time 0.01387/0.2858, allocations: 7.375 MB / 0.8765 GB, free: 12.84 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.2859, allocations: 8.031 kB / 0.8766 GB, free: 12.84 MB / 0.6512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001213/0.2871, allocations: 0.5977 MB / 0.8771 GB, free: 12.23 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.2893, allocations: 0.9018 MB / 0.878 GB, free: 11.32 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009175/0.2984, allocations: 5.401 MB / 0.8833 GB, free: 5.832 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.2987, allocations: 242.4 kB / 0.8835 GB, free: 5.594 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008678/0.2995, allocations: 316 kB / 0.8838 GB, free: 5.285 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.3151, allocations: 10.06 MB / 0.8936 GB, free: 9.836 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-05/0.3152, allocations: 39.62 kB / 0.8937 GB, free: 9.797 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004999/0.3157, allocations: 168 kB / 0.8938 GB, free: 9.633 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/0.3159, allocations: 200.5 kB / 0.894 GB, free: 9.434 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/0.329, allocations: 6.532 MB / 0.9004 GB, free: 2.883 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2846/0.6136, allocations: 33.45 MB / 0.9331 GB, free: 87.08 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.6246, allocations: 5.534 MB / 0.9385 GB, free: 84.96 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/0.628, allocations: 1.883 MB / 0.9403 GB, free: 84.05 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004889/0.6285, allocations: 183.4 kB / 0.9405 GB, free: 84.01 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.201e-05/0.6286, allocations: 88.08 kB / 0.9406 GB, free: 83.94 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00261/0.6312, allocations: 0.6269 MB / 0.9412 GB, free: 83.84 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=712): time 1.669e-05/0.6312, allocations: 2.562 kB / 0.9412 GB, free: 83.84 MB / 0.6668 GB Notification: Performance of matching and sorting (n=712): time 0.02301/0.6542, allocations: 10.99 MB / 0.9519 GB, free: 79.22 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.6544, allocations: 1.033 MB / 0.9529 GB, free: 77.98 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005853/0.6602, allocations: 4.961 MB / 0.9578 GB, free: 75.46 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0009491/0.6612, allocations: 73.64 kB / 0.9578 GB, free: 75.4 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.6622, allocations: 2.45 MB / 0.9602 GB, free: 73.45 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.001669/0.6639, allocations: 2.413 MB / 0.9626 GB, free: 71.63 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00176/0.6657, allocations: 1.476 MB / 0.964 GB, free: 70.55 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 2.838e-05/0.6657, allocations: 301.1 kB / 0.9643 GB, free: 70.25 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/0.6689, allocations: 2.668 MB / 0.9669 GB, free: 67.58 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003738/0.6726, allocations: 5.241 MB / 0.9721 GB, free: 61.29 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05575/0.7284, allocations: 20.52 MB / 0.9921 GB, free: 39.84 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.519e-05/0.7284, allocations: 16 kB / 0.9921 GB, free: 39.83 MB / 0.6668 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01194/0.7403, allocations: 8.451 MB / 1 GB, free: 31.3 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.7404, allocations: 35.98 kB / 1 GB, free: 31.27 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007482/0.7478, allocations: 6.159 MB / 1.006 GB, free: 25.04 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.7482, allocations: 205.6 kB / 1.007 GB, free: 24.83 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/0.7516, allocations: 2.012 MB / 1.009 GB, free: 22.81 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.753, allocations: 2.905 MB / 1.011 GB, free: 19.68 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/0.756, allocations: 332.4 kB / 1.012 GB, free: 19.36 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006529/0.7566, allocations: 489.9 kB / 1.012 GB, free: 18.88 MB / 0.6668 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005263/0.7619, allocations: 3.754 MB / 1.016 GB, free: 15.12 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003884/0.7658, allocations: 5.199 MB / 1.021 GB, free: 8.875 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05732/0.8231, allocations: 20.41 MB / 1.041 GB, free: 3.504 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.934e-05/0.8231, allocations: 20 kB / 1.041 GB, free: 3.484 MB / 0.6824 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01357/0.8367, allocations: 8.377 MB / 1.049 GB, free: 11.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.8368, allocations: 32.78 kB / 1.049 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008426/0.8452, allocations: 6.077 MB / 1.055 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002777/0.8455, allocations: 181.6 kB / 1.055 GB, free: 4.672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/0.8492, allocations: 2.008 MB / 1.057 GB, free: 2.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.8508, allocations: 2.86 MB / 1.06 GB, free: 15.57 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/0.8539, allocations: 315.4 kB / 1.06 GB, free: 15.27 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000663/0.8546, allocations: 495.8 kB / 1.061 GB, free: 14.79 MB / 0.7137 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 286 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (991): * Single equations (assignments): 989 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001512/0.8561, allocations: 0.6168 MB / 1.061 GB, free: 14.2 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001564/0.8576, allocations: 0.6478 MB / 1.062 GB, free: 13.55 MB / 0.7137 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 1136 equation(s) and 1082 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (valve_shell1.fluidIn.q, valve_shell1.fluidIn.cp, valve_shell1.fluidIn.cv, valve_shell1.fluidIn.beta, valve_shell1.fluidIn.kappa, valve_shell1.fluidIn.drhodp_hxi, valve_shell1.fluidIn.drhodh_pxi, _, valve_shell1.fluidIn.w, valve_shell1.fluidIn.gamma) = ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441) has size 9 but 8 variables ($cse189, $cse190, $cse191, $cse192, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.Pr, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.lambda, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.eta, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.8687, allocations: 9.168 MB / 1.071 GB, free: 4.559 MB / 0.7137 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.862361950799823]