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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01057/0.01057, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0006961/0.0006961, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0007319/0.0007319, allocations: 164.9 kB / 27.86 MB, free: 5.496 MB / 18.57 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.8333/0.8333, allocations: 177.2 MB / 208.6 MB, free: 2.973 MB / 186.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.7094/0.7094, allocations: 102.5 MB / 367.9 MB, free: 1.504 MB / 330.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 SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) 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",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",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5362 GB, free: 40.03 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.458e-05, allocations: 6.328 kB / 0.5362 GB, free: 40.03 MB / 490.8 MB 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu): time 0.1157/0.1157, allocations: 70.8 MB / 0.6053 GB, free: 5.676 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03304/0.1488, allocations: 24.42 MB / 0.6292 GB, free: 13.18 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006196/0.1549, allocations: 146.9 kB / 0.6293 GB, free: 13.04 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005543/0.1605, allocations: 2.625 MB / 0.6319 GB, free: 10.4 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.1711, allocations: 4.769 MB / 0.6365 GB, free: 5.602 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00878/0.1799, allocations: 4.635 MB / 0.6411 GB, free: 0.957 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01576/0.1957, allocations: 12.05 MB / 0.6528 GB, free: 4.859 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006657/0.2023, allocations: 3.91 MB / 0.6567 GB, free: 0.8789 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01291/0.2152, allocations: 6.646 MB / 0.6632 GB, free: 10.22 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007095/0.2223, allocations: 4.057 MB / 0.6671 GB, free: 6.152 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.00183/0.2241, allocations: 0.8476 MB / 0.6679 GB, free: 5.305 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00578/0.2299, allocations: 2.593 MB / 0.6705 GB, free: 2.707 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001987/0.2319, allocations: 2.367 MB / 0.6728 GB, free: 340 kB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.003846/0.2358, allocations: 2.611 MB / 0.6753 GB, free: 13.71 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.2498, allocations: 12.71 MB / 0.6877 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.2498, allocations: 0 / 0.6877 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2498, allocations: 4 kB / 0.6877 GB, free: 0.9609 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002683/0.2501, allocations: 0 / 0.6877 GB, free: 0.9609 MB / 0.573 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.01487/0.2649, allocations: 8.172 MB / 0.6957 GB, free: 8.703 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.265, allocations: 12.03 kB / 0.6957 GB, free: 8.691 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007335/0.2657, allocations: 0.6635 MB / 0.6964 GB, free: 8.02 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.2676, allocations: 0.9674 MB / 0.6973 GB, free: 7.047 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008696/0.2763, allocations: 6.393 MB / 0.7036 GB, free: 0.5703 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.2766, allocations: 397.9 kB / 0.704 GB, free: 160 kB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004265/0.277, allocations: 352 kB / 0.7043 GB, free: 15.81 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/0.2913, allocations: 11.33 MB / 0.7154 GB, free: 2.977 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-05/0.2914, allocations: 43.56 kB / 0.7154 GB, free: 2.934 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003544/0.2917, allocations: 184 kB / 0.7156 GB, free: 2.754 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.2919, allocations: 213.2 kB / 0.7158 GB, free: 2.543 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.3048, allocations: 7.472 MB / 0.7231 GB, free: 11.05 MB / 0.6199 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.03134/0.3361, allocations: 35.44 MB / 0.7577 GB, free: 6.504 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.275/0.6111, allocations: 6.609 MB / 0.7641 GB, free: 176.9 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004923/0.6161, allocations: 2.39 MB / 0.7665 GB, free: 176.7 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007775/0.6168, allocations: 257.8 kB / 0.7667 GB, free: 176.6 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.721e-05/0.6169, allocations: 101.2 kB / 0.7668 GB, free: 176.6 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002859/0.6198, allocations: 0.6975 MB / 0.7675 GB, free: 176.5 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=812): time 1.466e-05/0.6198, allocations: 3.047 kB / 0.7675 GB, free: 176.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=812): time 0.02281/0.6426, allocations: 12.75 MB / 0.78 GB, free: 172.8 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002637/0.6429, allocations: 1.41 MB / 0.7813 GB, free: 171.1 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00712/0.65, allocations: 5.406 MB / 0.7866 GB, free: 169 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0007243/0.6507, allocations: 84.23 kB / 0.7867 GB, free: 168.9 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.6518, allocations: 2.551 MB / 0.7892 GB, free: 166.9 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001527/0.6533, allocations: 2.712 MB / 0.7918 GB, free: 164.8 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001763/0.6551, allocations: 1.621 MB / 0.7934 GB, free: 163.9 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.957e-05/0.6551, allocations: 306.2 kB / 0.7937 GB, free: 163.6 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003898/0.659, allocations: 3.095 MB / 0.7967 GB, free: 161.9 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004945/0.664, allocations: 6.142 MB / 0.8027 GB, free: 156.3 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.112/0.776, allocations: 31.11 MB / 0.8331 GB, free: 132.1 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.395e-05/0.776, allocations: 24 kB / 0.8331 GB, free: 132.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01199/0.788, allocations: 9.695 MB / 0.8426 GB, free: 122.3 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.7881, allocations: 35.94 kB / 0.8426 GB, free: 122.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007917/0.796, allocations: 7.32 MB / 0.8498 GB, free: 114.9 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02419/0.8202, allocations: 4.431 MB / 0.8541 GB, free: 110.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003481/0.8236, allocations: 2.129 MB / 0.8562 GB, free: 108.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.8254, allocations: 2.794 MB / 0.8589 GB, free: 105.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/0.8291, allocations: 380.7 kB / 0.8593 GB, free: 105.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004827/0.8296, allocations: 0.5308 MB / 0.8598 GB, free: 104.5 MB / 0.6512 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.00545/0.835, allocations: 4.203 MB / 0.8639 GB, free: 100.3 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004067/0.8391, allocations: 6.085 MB / 0.8698 GB, free: 93.04 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.09023/0.9293, allocations: 27.42 MB / 0.8966 GB, free: 64.73 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.324e-05/0.9294, allocations: 16 kB / 0.8966 GB, free: 64.72 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01262/0.942, allocations: 9.48 MB / 0.9059 GB, free: 55.18 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.942, allocations: 32 kB / 0.9059 GB, free: 55.15 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007789/0.9498, allocations: 7.049 MB / 0.9128 GB, free: 48.05 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.951, allocations: 422.7 kB / 0.9132 GB, free: 47.63 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/0.9544, allocations: 2.178 MB / 0.9153 GB, free: 45.45 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009793/0.9554, allocations: 2.222 MB / 0.9175 GB, free: 43.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00363/0.959, allocations: 384.5 kB / 0.9179 GB, free: 42.73 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004707/0.9595, allocations: 0.5258 MB / 0.9184 GB, free: 42.2 MB / 0.6512 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.001814/0.9613, allocations: 0.6592 MB / 0.919 GB, free: 41.59 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/0.9626, allocations: 0.6943 MB / 0.9197 GB, free: 40.89 MB / 0.6512 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 main/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.009824/0.9724, allocations: 10.33 MB / 0.9298 GB, free: 30.93 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.947493297047913] Failed to read output from testmodel.py, exit status != 0: 1.118908004835248 1.394564412 0.8768505639999999 Calling exit ...