Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.009027/0.009027, allocations: 1.764 MB / 20.61 MB, free: 3.859 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.09531/0.09531, allocations: 25.61 MB / 49.71 MB, free: 2.93 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.001041/0.001041, allocations: 110.2 kB / 60.65 MB, free: 3.02 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.001218/0.001218, allocations: 220.8 kB / 71.73 MB, free: 14.46 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.9706/0.9706, allocations: 230.6 MB / 313.3 MB, free: 5.172 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.6236/0.6236, allocations: 130.8 MB / 0.4964 GB, free: 2.633 MB / 378.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_1ph_BU_ntu,fileNamePrefix="ClaRa_dev_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_dev_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.004034/0.004034, allocations: 153.6 kB / 0.6902 GB, free: 1.531 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3795, allocations: 89.27 MB / 0.7773 GB, free: 7.594 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu): time 0.01782/0.3973, allocations: 24.17 MB / 0.8009 GB, free: 5.438 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02894/0.4263, allocations: 24.68 MB / 0.825 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00607/0.4323, allocations: 146.9 kB / 0.8252 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004783/0.4371, allocations: 2.619 MB / 0.8277 GB, free: 13.91 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.00905/0.4462, allocations: 4.62 MB / 0.8323 GB, free: 9.266 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007025/0.4532, allocations: 4.575 MB / 0.8367 GB, free: 4.691 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.01197/0.4652, allocations: 11.75 MB / 0.8482 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004994/0.4702, allocations: 3.883 MB / 0.852 GB, free: 4.961 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006844/0.477, allocations: 4.855 MB / 0.8567 GB, free: 92 kB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00625/0.4833, allocations: 4.614 MB / 0.8612 GB, free: 11.45 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.001918/0.4852, allocations: 0.8438 MB / 0.8621 GB, free: 10.61 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004697/0.4899, allocations: 2.578 MB / 0.8646 GB, free: 8.027 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.001815/0.4917, allocations: 2.336 MB / 0.8669 GB, free: 5.684 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.002672/0.4944, allocations: 3.176 MB / 0.87 GB, free: 2.492 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.5053, allocations: 12.73 MB / 0.8824 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.5053, allocations: 0 / 0.8824 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5053, allocations: 0 / 0.8824 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001999/0.5055, allocations: 0 / 0.8824 GB, free: 5.719 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: 1448 * Number of variables: 1448 Notification: Performance of Generate backend data structure: time 0.01095/0.5165, allocations: 8.248 MB / 0.8904 GB, free: 13.39 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5165, allocations: 11.97 kB / 0.8905 GB, free: 13.38 MB / 0.6512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006179/0.5171, allocations: 0.6635 MB / 0.8911 GB, free: 12.71 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/0.5188, allocations: 0.9702 MB / 0.892 GB, free: 11.73 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007637/0.5265, allocations: 6.386 MB / 0.8983 GB, free: 5.254 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.5267, allocations: 393.9 kB / 0.8987 GB, free: 4.844 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003697/0.5271, allocations: 344 kB / 0.899 GB, free: 4.508 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.5411, allocations: 11.34 MB / 0.9101 GB, free: 7.672 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.538e-05/0.5412, allocations: 39.62 kB / 0.9101 GB, free: 7.633 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/0.5415, allocations: 188 kB / 0.9103 GB, free: 7.449 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.5417, allocations: 213.2 kB / 0.9105 GB, free: 7.238 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/0.5542, allocations: 7.476 MB / 0.9178 GB, free: 15.74 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.02686/0.5811, allocations: 35.54 MB / 0.9525 GB, free: 11.09 MB / 0.7137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.5917, allocations: 6.627 MB / 0.959 GB, free: 4.254 MB / 0.7137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/0.5947, allocations: 2.389 MB / 0.9613 GB, free: 1.793 MB / 0.7137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005321/0.5952, allocations: 249.9 kB / 0.9615 GB, free: 1.547 MB / 0.7137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/0.5953, allocations: 101.4 kB / 0.9616 GB, free: 1.438 MB / 0.7137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002314/0.5976, allocations: 0.6983 MB / 0.9623 GB, free: 0.7344 MB / 0.7137 GB Notification: Performance of pre-optimization done (n=812): time 1.17e-05/0.5976, allocations: 0 / 0.9623 GB, free: 0.7344 MB / 0.7137 GB Notification: Performance of matching and sorting (n=812): time 0.02259/0.6202, allocations: 12.75 MB / 0.9748 GB, free: 3.918 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003793/0.6206, allocations: 1.416 MB / 0.9761 GB, free: 2.168 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006161/0.6267, allocations: 5.401 MB / 0.9814 GB, free: 12.75 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 0.0005124/0.6272, allocations: 85.7 kB / 0.9815 GB, free: 12.66 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.6285, allocations: 2.56 MB / 0.984 GB, free: 10.09 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.001634/0.6302, allocations: 2.745 MB / 0.9867 GB, free: 7.316 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001701/0.6319, allocations: 1.636 MB / 0.9883 GB, free: 5.668 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.6319, allocations: 301.1 kB / 0.9886 GB, free: 5.371 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004008/0.6359, allocations: 3.095 MB / 0.9916 GB, free: 2.258 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005298/0.6412, allocations: 6.151 MB / 0.9976 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1122/0.7534, allocations: 31.12 MB / 1.028 GB, free: 10.8 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.805e-05/0.7535, allocations: 20 kB / 1.028 GB, free: 10.79 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01452/0.768, allocations: 9.676 MB / 1.037 GB, free: 1.043 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.768, allocations: 35.94 kB / 1.037 GB, free: 1.008 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3036/1.072, allocations: 7.313 MB / 1.045 GB, free: 230 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02373/1.095, allocations: 4.43 MB / 1.049 GB, free: 229.8 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004807/1.1, allocations: 2.137 MB / 1.051 GB, free: 229.6 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/1.102, allocations: 2.791 MB / 1.054 GB, free: 227.4 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/1.106, allocations: 386.9 kB / 1.054 GB, free: 227.3 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006294/1.106, allocations: 0.5259 MB / 1.055 GB, free: 227.2 MB / 0.7918 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.006494/1.113, allocations: 4.21 MB / 1.059 GB, free: 225.3 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004499/1.117, allocations: 6.097 MB / 1.065 GB, free: 219.8 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08567/1.203, allocations: 27.42 MB / 1.092 GB, free: 197.2 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.843e-05/1.203, allocations: 16 kB / 1.092 GB, free: 197.1 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.012/1.215, allocations: 9.478 MB / 1.101 GB, free: 188 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/1.215, allocations: 39.91 kB / 1.101 GB, free: 187.9 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007615/1.223, allocations: 7.037 MB / 1.108 GB, free: 180.8 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/1.224, allocations: 429.3 kB / 1.108 GB, free: 180.4 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/1.227, allocations: 2.176 MB / 1.11 GB, free: 178.2 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009285/1.228, allocations: 2.233 MB / 1.112 GB, free: 175.9 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/1.231, allocations: 376.4 kB / 1.113 GB, free: 175.5 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004597/1.232, allocations: 0.523 MB / 1.113 GB, free: 175 MB / 0.7918 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.001518/1.233, allocations: 0.656 MB / 1.114 GB, free: 174.3 MB / 0.7918 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/1.234, allocations: 0.6905 MB / 1.115 GB, free: 174.1 MB / 0.7918 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.009156/1.243, allocations: 10.32 MB / 1.125 GB, free: 163.9 MB / 0.7918 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.977088845334947]