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.01003/0.01003, allocations: 1.76 MB / 20.59 MB, free: 1.285 MB / 14.72 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.001469/0.001469, allocations: 107.3 kB / 24.19 MB, free: 2.691 MB / 14.72 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.001786/0.001786, allocations: 205.2 kB / 27.92 MB, free: 4.027 MB / 19.63 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 1.436/1.436, allocations: 230.6 MB / 262.1 MB, free: 6.016 MB / 206.1 MB " [Timeout remaining time 178] 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 1.082/1.082, allocations: 130.7 MB / 449.7 MB, free: 6.547 MB / 350.1 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.3.1 (/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: 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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03863/0.03863, allocations: 20.78 MB / 0.6358 GB, free: 5.117 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.2223, allocations: 81.91 MB / 0.7157 GB, free: 3.102 MB / 0.5294 GB 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.5412/0.7635, allocations: 60.9 MB / 0.7752 GB, free: 9.453 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04599/0.8095, allocations: 25.73 MB / 0.8003 GB, free: 7.016 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009887/0.8194, allocations: 147 kB / 0.8005 GB, free: 6.949 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009395/0.8288, allocations: 2.701 MB / 0.8031 GB, free: 5.016 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01799/0.8468, allocations: 4.614 MB / 0.8076 GB, free: 1.273 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01375/0.8605, allocations: 4.566 MB / 0.8121 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0213/0.8818, allocations: 11.75 MB / 0.8236 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007284/0.8891, allocations: 3.668 MB / 0.8271 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/0.9001, allocations: 4.835 MB / 0.8319 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009893/0.91, allocations: 4.951 MB / 0.8367 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003786/0.9138, allocations: 0.8438 MB / 0.8375 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/0.9238, allocations: 3.474 MB / 0.8409 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004294/0.9281, allocations: 2.346 MB / 0.8432 GB, free: 500 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008202/0.9363, allocations: 4.077 MB / 0.8472 GB, free: 12.39 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02401/0.9603, allocations: 12.87 MB / 0.8598 GB, free: 15.48 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9603, allocations: 0 / 0.8598 GB, free: 15.48 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9603, allocations: 0 / 0.8598 GB, free: 15.48 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0003833/0.9607, allocations: 2.656 kB / 0.8598 GB, free: 15.48 MB / 0.6388 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.02405/0.9847, allocations: 8.268 MB / 0.8678 GB, free: 7.168 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.9848, allocations: 8.031 kB / 0.8678 GB, free: 7.16 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001784/0.9866, allocations: 0.6635 MB / 0.8685 GB, free: 6.488 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003894/0.9905, allocations: 0.9639 MB / 0.8694 GB, free: 5.52 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/1.007, allocations: 6.397 MB / 0.8757 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000502/1.007, allocations: 389.9 kB / 0.876 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/1.008, allocations: 350.7 kB / 0.8764 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0259/1.034, allocations: 9.491 MB / 0.8857 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/1.034, allocations: 46.94 kB / 0.8857 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006492/1.035, allocations: 188 kB / 0.8859 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002453/1.035, allocations: 215.9 kB / 0.8861 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0227/1.058, allocations: 7.505 MB / 0.8934 GB, free: 11.94 MB / 0.67 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.05685/1.115, allocations: 37.74 MB / 0.9303 GB, free: 5.09 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01978/1.134, allocations: 6.632 MB / 0.9367 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006368/1.141, allocations: 2.393 MB / 0.9391 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.142, allocations: 284.5 kB / 0.9394 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/1.142, allocations: 102.6 kB / 0.9394 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004817/1.147, allocations: 0.6996 MB / 0.9401 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=812): time 2.091e-05/1.147, allocations: 0 / 0.9401 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of matching and sorting (n=812): time 0.04502/1.192, allocations: 12.75 MB / 0.9526 GB, free: 14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008187/1.193, allocations: 1.423 MB / 0.954 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/1.205, allocations: 5.316 MB / 0.9592 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001489/1.207, allocations: 84.33 kB / 0.9592 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003123/1.21, allocations: 2.56 MB / 0.9617 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004002/1.214, allocations: 2.752 MB / 0.9644 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005369/1.219, allocations: 1.636 MB / 0.966 GB, free: 15.83 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.22, allocations: 305.1 kB / 0.9663 GB, free: 15.53 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007625/1.227, allocations: 3.094 MB / 0.9693 GB, free: 12.43 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01051/1.238, allocations: 5.364 MB / 0.9746 GB, free: 6.129 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2376/1.475, allocations: 31.1 MB / 1.005 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.64e-05/1.475, allocations: 16 kB / 1.005 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02459/1.5, allocations: 9.69 MB / 1.014 GB, free: 12.55 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.15e-05/1.5, allocations: 32 kB / 1.014 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0181/1.518, allocations: 7.323 MB / 1.022 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05173/1.57, allocations: 4.434 MB / 1.026 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008134/1.578, allocations: 2.133 MB / 1.028 GB, free: 14.56 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/1.582, allocations: 2.805 MB / 1.031 GB, free: 11.62 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006475/1.588, allocations: 383.7 kB / 1.031 GB, free: 11.24 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001901/1.59, allocations: 0.5308 MB / 1.032 GB, free: 10.71 MB / 0.8107 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.01186/1.602, allocations: 4.205 MB / 1.036 GB, free: 6.504 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01114/1.613, allocations: 5.31 MB / 1.041 GB, free: 204 kB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5375/2.151, allocations: 27.4 MB / 1.068 GB, free: 343.5 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.674e-05/2.151, allocations: 19.19 kB / 1.068 GB, free: 343.5 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02117/2.172, allocations: 9.483 MB / 1.077 GB, free: 340.9 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/2.172, allocations: 32.88 kB / 1.077 GB, free: 340.9 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01592/2.188, allocations: 7.048 MB / 1.084 GB, free: 338.3 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/2.19, allocations: 419.7 kB / 1.084 GB, free: 338.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008074/2.199, allocations: 2.182 MB / 1.086 GB, free: 338 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/2.201, allocations: 2.222 MB / 1.089 GB, free: 336.1 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006234/2.207, allocations: 385 kB / 1.089 GB, free: 335.9 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00161/2.208, allocations: 0.5269 MB / 1.089 GB, free: 335.8 MB / 0.8263 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.002893/2.211, allocations: 0.6666 MB / 1.09 GB, free: 335.3 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003138/2.214, allocations: 0.6865 MB / 1.091 GB, free: 335.3 MB / 0.8263 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.02003/2.235, allocations: 10.29 MB / 1.101 GB, free: 327.5 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.051744926997344] Failed to read output from testmodel.py, exit status != 0: 2.388093003999529 2.400957769 1.437467395 Calling exit ...