Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008478/0.008478, allocations: 1.769 MB / 20.62 MB, free: 3.863 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.08076/0.08076, allocations: 25.6 MB / 49.7 MB, free: 2.98 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.001753/0.001753, allocations: 118.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.001866/0.001866, allocations: 216.9 kB / 71.73 MB, free: 6.477 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.9658/0.9658, allocations: 230.7 MB / 313.3 MB, free: 11.75 MB / 234.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.7737/0.7737, allocations: 130.8 MB / 0.4964 GB, free: 2.371 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-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_1ph_kA,fileNamePrefix="ClaRa_dev_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_dev_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.002664/0.002664, allocations: 156.2 kB / 0.6902 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1294, allocations: 89.27 MB / 0.7773 GB, free: 3.074 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA): time 0.01541/0.1448, allocations: 22.55 MB / 0.7994 GB, free: 12.42 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.1678, allocations: 22.11 MB / 0.8209 GB, free: 6.246 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.1695, allocations: 143 kB / 0.8211 GB, free: 6.105 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.004463/0.174, allocations: 2.556 MB / 0.8236 GB, free: 3.535 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.00557/0.1796, allocations: 3.677 MB / 0.8272 GB, free: 15.84 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.005085/0.1847, allocations: 3.934 MB / 0.831 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.007858/0.1925, allocations: 9.895 MB / 0.8407 GB, free: 1.984 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003289/0.1958, allocations: 3.324 MB / 0.8439 GB, free: 14.59 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003953/0.1998, allocations: 4.181 MB / 0.848 GB, free: 10.4 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003205/0.203, allocations: 3.988 MB / 0.8519 GB, free: 6.395 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0006025/0.2036, allocations: 0.668 MB / 0.8525 GB, free: 5.727 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.2065, allocations: 1.968 MB / 0.8545 GB, free: 3.758 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.2077, allocations: 2.04 MB / 0.8565 GB, free: 1.711 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.2093, allocations: 2.736 MB / 0.8591 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007172/0.2164, allocations: 10.56 MB / 0.8694 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2164, allocations: 0 / 0.8694 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2164, allocations: 0 / 0.8694 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.736e-05/0.2165, allocations: 0 / 0.8694 GB, free: 4.359 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.006854/0.2234, allocations: 7.373 MB / 0.8766 GB, free: 12.91 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2234, allocations: 8.031 kB / 0.8767 GB, free: 12.9 MB / 0.6512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007009/0.2241, allocations: 0.6016 MB / 0.8772 GB, free: 12.29 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.2253, allocations: 0.9018 MB / 0.8781 GB, free: 11.38 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005179/0.2305, allocations: 5.384 MB / 0.8834 GB, free: 5.902 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.2307, allocations: 250.4 kB / 0.8836 GB, free: 5.656 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005454/0.2312, allocations: 319.9 kB / 0.8839 GB, free: 5.344 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.242, allocations: 10.05 MB / 0.8937 GB, free: 9.902 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.319e-05/0.2421, allocations: 43.61 kB / 0.8938 GB, free: 9.859 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.2423, allocations: 168 kB / 0.8939 GB, free: 9.695 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.2424, allocations: 196.5 kB / 0.8941 GB, free: 9.5 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.2526, allocations: 6.528 MB / 0.9005 GB, free: 2.953 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3065/0.559, allocations: 33.46 MB / 0.9332 GB, free: 87.1 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01/0.569, allocations: 5.536 MB / 0.9386 GB, free: 84.98 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/0.5715, allocations: 1.882 MB / 0.9404 GB, free: 84.07 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.5719, allocations: 180.4 kB / 0.9406 GB, free: 84.04 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/0.5719, allocations: 89.36 kB / 0.9407 GB, free: 83.96 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002228/0.5742, allocations: 0.6348 MB / 0.9413 GB, free: 83.86 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=712): time 7.524e-06/0.5742, allocations: 0.875 kB / 0.9413 GB, free: 83.86 MB / 0.6668 GB Notification: Performance of matching and sorting (n=712): time 0.0185/0.5927, allocations: 10.98 MB / 0.952 GB, free: 79.3 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.5928, allocations: 1.034 MB / 0.953 GB, free: 78.06 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/0.5971, allocations: 4.957 MB / 0.9579 GB, free: 75.54 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.5974, allocations: 70.55 kB / 0.9579 GB, free: 75.48 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008754/0.5983, allocations: 2.451 MB / 0.9603 GB, free: 73.52 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009086/0.5992, allocations: 2.413 MB / 0.9627 GB, free: 71.71 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/0.6005, allocations: 1.478 MB / 0.9641 GB, free: 70.66 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 2.499e-05/0.6005, allocations: 301.1 kB / 0.9644 GB, free: 70.37 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002814/0.6034, allocations: 2.671 MB / 0.967 GB, free: 67.69 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.6068, allocations: 5.244 MB / 0.9721 GB, free: 61.4 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05267/0.6594, allocations: 20.5 MB / 0.9922 GB, free: 39.96 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.626e-05/0.6595, allocations: 20 kB / 0.9922 GB, free: 39.94 MB / 0.6668 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.009968/0.6694, allocations: 8.448 MB / 1 GB, free: 31.42 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.6695, allocations: 39.11 kB / 1 GB, free: 31.38 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006544/0.676, allocations: 6.162 MB / 1.006 GB, free: 25.15 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.6763, allocations: 209.6 kB / 1.007 GB, free: 24.94 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/0.6793, allocations: 2.012 MB / 1.009 GB, free: 22.92 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.6805, allocations: 2.899 MB / 1.011 GB, free: 19.79 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/0.6828, allocations: 328.3 kB / 1.012 GB, free: 19.48 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004121/0.6832, allocations: 495.6 kB / 1.012 GB, free: 18.99 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.004342/0.6876, allocations: 3.751 MB / 1.016 GB, free: 15.24 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003371/0.6909, allocations: 5.203 MB / 1.021 GB, free: 8.984 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05586/0.7468, allocations: 20.41 MB / 1.041 GB, free: 3.609 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.204e-05/0.7468, allocations: 20 kB / 1.041 GB, free: 3.59 MB / 0.6824 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01166/0.7585, allocations: 8.381 MB / 1.049 GB, free: 11.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.7585, allocations: 32 kB / 1.049 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007485/0.766, allocations: 6.077 MB / 1.055 GB, free: 4.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/0.7662, allocations: 177.7 kB / 1.055 GB, free: 4.781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/0.7695, allocations: 2.012 MB / 1.057 GB, free: 2.766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.7709, allocations: 2.856 MB / 1.06 GB, free: 15.68 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.7733, allocations: 315.9 kB / 1.06 GB, free: 15.38 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004746/0.7738, allocations: 487.7 kB / 1.061 GB, free: 14.9 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.001534/0.7753, allocations: 0.6228 MB / 1.061 GB, free: 14.31 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009406/0.7763, allocations: 0.6478 MB / 1.062 GB, free: 13.66 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.009489/0.7858, allocations: 9.167 MB / 1.071 GB, free: 4.59 MB / 0.7137 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.803022015839815]