Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu.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.01144/0.01144, allocations: 1.769 MB / 20.61 MB, free: 3.871 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.0932/0.0932, allocations: 25.61 MB / 49.71 MB, free: 2.961 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.001422/0.001422, allocations: 122.1 kB / 60.66 MB, free: 3.012 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.001771/0.001771, allocations: 217.1 kB / 71.72 MB, free: 6.492 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.9857/0.9857, allocations: 230.6 MB / 313.3 MB, free: 11.79 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.7611/0.7611, allocations: 130.7 MB / 0.4963 GB, free: 3.578 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_BU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_BU_ntu",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_BU_ntu",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.002657/0.002657, allocations: 161.3 kB / 0.6901 GB, free: 53.3 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1344, allocations: 89.27 MB / 0.7772 GB, free: 5.113 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu): time 0.02234/0.1567, allocations: 24.17 MB / 0.8008 GB, free: 12.83 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03205/0.1888, allocations: 24.67 MB / 0.8249 GB, free: 4.086 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004612/0.1934, allocations: 146.9 kB / 0.8251 GB, free: 3.941 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.005362/0.1987, allocations: 2.625 MB / 0.8276 GB, free: 1.301 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.009944/0.2087, allocations: 4.627 MB / 0.8322 GB, free: 12.65 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.009347/0.218, allocations: 4.573 MB / 0.8366 GB, free: 8.086 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01482/0.2329, allocations: 11.76 MB / 0.8481 GB, free: 12.3 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005155/0.238, allocations: 3.883 MB / 0.8519 GB, free: 8.344 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007114/0.2451, allocations: 4.855 MB / 0.8566 GB, free: 3.473 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006478/0.2516, allocations: 4.611 MB / 0.8611 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002951/0.2546, allocations: 0.8476 MB / 0.862 GB, free: 14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007284/0.2618, allocations: 2.578 MB / 0.8645 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003252/0.2651, allocations: 2.324 MB / 0.8668 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004711/0.2698, allocations: 3.172 MB / 0.8699 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01744/0.2872, allocations: 12.73 MB / 0.8823 GB, free: 9.121 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2872, allocations: 0 / 0.8823 GB, free: 9.121 MB / 0.6512 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2873, allocations: 0 / 0.8823 GB, free: 9.121 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0003718/0.2876, allocations: 0 / 0.8823 GB, free: 9.121 MB / 0.6512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1448 * Number of variables: 1448 Notification: Performance of Generate backend data structure: time 0.01812/0.3057, allocations: 8.254 MB / 0.8903 GB, free: 0.7891 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3058, allocations: 12.03 kB / 0.8904 GB, free: 0.7773 MB / 0.6512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00104/0.3068, allocations: 0.6635 MB / 0.891 GB, free: 108 kB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.3093, allocations: 0.9676 MB / 0.8919 GB, free: 15.13 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.3203, allocations: 6.406 MB / 0.8982 GB, free: 8.641 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/0.3206, allocations: 397.9 kB / 0.8986 GB, free: 8.227 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006839/0.3213, allocations: 344 kB / 0.8989 GB, free: 7.891 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01823/0.3395, allocations: 11.34 MB / 0.91 GB, free: 11.05 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/0.3396, allocations: 39.62 kB / 0.91 GB, free: 11.02 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004465/0.3401, allocations: 184 kB / 0.9102 GB, free: 10.84 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001606/0.3402, allocations: 217.2 kB / 0.9104 GB, free: 10.62 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.3551, allocations: 7.476 MB / 0.9177 GB, free: 3.125 MB / 0.6824 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.3237/0.6788, allocations: 35.52 MB / 0.9524 GB, free: 119.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.691, allocations: 6.614 MB / 0.9589 GB, free: 117.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004412/0.6954, allocations: 2.395 MB / 0.9612 GB, free: 116.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007309/0.6961, allocations: 251.3 kB / 0.9614 GB, free: 116.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.984e-05/0.6962, allocations: 100.8 kB / 0.9615 GB, free: 116.1 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002842/0.699, allocations: 0.6907 MB / 0.9622 GB, free: 115.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=812): time 1.525e-05/0.699, allocations: 1.375 kB / 0.9622 GB, free: 115.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=812): time 0.02747/0.7265, allocations: 12.75 MB / 0.9747 GB, free: 112.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/0.7267, allocations: 1.418 MB / 0.976 GB, free: 110.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005744/0.7324, allocations: 5.395 MB / 0.9813 GB, free: 107.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000998/0.7334, allocations: 87.11 kB / 0.9814 GB, free: 107 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009943/0.7344, allocations: 2.562 MB / 0.9839 GB, free: 104.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001894/0.7363, allocations: 2.749 MB / 0.9866 GB, free: 102.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001925/0.7382, allocations: 1.632 MB / 0.9882 GB, free: 100.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 2.898e-05/0.7383, allocations: 310.2 kB / 0.9885 GB, free: 100.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/0.7419, allocations: 3.097 MB / 0.9915 GB, free: 97.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004491/0.7464, allocations: 6.15 MB / 0.9975 GB, free: 89.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1089/0.8554, allocations: 31.12 MB / 1.028 GB, free: 58.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-05/0.8554, allocations: 20 kB / 1.028 GB, free: 58 MB / 0.698 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01427/0.8697, allocations: 9.681 MB / 1.037 GB, free: 48.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.8697, allocations: 32.22 kB / 1.037 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009438/0.8791, allocations: 7.324 MB / 1.045 GB, free: 40.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02403/0.9032, allocations: 4.431 MB / 1.049 GB, free: 36.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004397/0.9076, allocations: 2.133 MB / 1.051 GB, free: 34.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.9096, allocations: 2.804 MB / 1.054 GB, free: 31.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/0.9137, allocations: 372 kB / 1.054 GB, free: 31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/0.9148, allocations: 0.5347 MB / 1.055 GB, free: 30.47 MB / 0.698 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006543/0.9214, allocations: 4.198 MB / 1.059 GB, free: 26.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005084/0.9265, allocations: 6.089 MB / 1.065 GB, free: 18.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09075/1.017, allocations: 27.43 MB / 1.091 GB, free: 6.641 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.806e-05/1.017, allocations: 20 kB / 1.091 GB, free: 6.621 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.0159/1.033, allocations: 9.473 MB / 1.101 GB, free: 13.09 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.033, allocations: 36.06 kB / 1.101 GB, free: 13.05 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01011/1.043, allocations: 7.034 MB / 1.108 GB, free: 5.953 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/1.045, allocations: 429.2 kB / 1.108 GB, free: 5.531 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004721/1.049, allocations: 2.18 MB / 1.11 GB, free: 3.348 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/1.051, allocations: 2.226 MB / 1.112 GB, free: 0.9844 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004017/1.055, allocations: 384.4 kB / 1.113 GB, free: 0.6094 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009644/1.056, allocations: 0.523 MB / 1.113 GB, free: 88 kB / 0.7293 GB Warning: Assuming fixed start value for the following 4 variables: hex.wall.T_w_i:VARIABLE(min = 0.0 start = hex.wall.T_w_i_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real hex.wall.T_w_a:VARIABLE(min = 0.0 start = hex.wall.T_w_a_start unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real hex.shell.h:VARIABLE(start = hex.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.shell.p:VARIABLE(min = 0.0 start = hex.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: 287 * 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 (1056): * Single equations (assignments): 1054 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,34)} Notification: Performance of prepare postOptimizeDAE: time 0.001698/1.057, allocations: 0.6561 MB / 1.114 GB, free: 15.47 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001971/1.059, allocations: 0.6944 MB / 1.114 GB, free: 14.77 MB / 0.7449 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 1294 equation(s) and 1237 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/VLEFluid/MixtureCompatible/VLEFluid_pT.mo:55:3-60:21:writable] Error: (hex.shell.heattransfer.fluid_wall.q, hex.shell.heattransfer.cp_w, hex.shell.heattransfer.fluid_wall.cv, hex.shell.heattransfer.fluid_wall.beta, hex.shell.heattransfer.fluid_wall.kappa, hex.shell.heattransfer.fluid_wall.drhodp_hxi, hex.shell.heattransfer.fluid_wall.drhodh_pxi, _, hex.shell.heattransfer.fluid_wall.w, hex.shell.heattransfer.fluid_wall.gamma) = ($cse336, $cse337, $cse338, $cse339, $cse340, $cse341, $cse342, $cse343, $cse344, $cse345) has size 9 but 8 variables ($cse159, $cse160, $cse161, $cse162, hex.tubes.fluidOut.transp.Pr, hex.tubes.fluidOut.transp.lambda, hex.tubes.fluidOut.transp.eta, hex.tubes.fluidOut.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/1.072, allocations: 10.31 MB / 1.125 GB, free: 4.734 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.083535958081484]