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.01065/0.01065, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001334/0.001334, allocations: 99.84 kB / 24.18 MB, free: 2.184 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.001732/0.001732, allocations: 215.5 kB / 27.9 MB, free: 3.504 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.456/1.456, allocations: 230.6 MB / 262.1 MB, free: 5.855 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.054/1.054, allocations: 130.7 MB / 449.7 MB, free: 6.438 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.06952/0.06952, allocations: 20.99 MB / 0.6358 GB, free: 4.863 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.2307, allocations: 81.91 MB / 0.7158 GB, free: 2.848 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.5359/0.7666, allocations: 57.16 MB / 0.7717 GB, free: 13.25 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0425/0.8091, allocations: 24.68 MB / 0.7958 GB, free: 11.87 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01025/0.8194, allocations: 147.1 kB / 0.7959 GB, free: 11.8 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.8294, allocations: 2.625 MB / 0.7985 GB, free: 9.949 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01745/0.8469, allocations: 4.635 MB / 0.803 GB, free: 6.207 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01329/0.8601, allocations: 4.563 MB / 0.8075 GB, free: 2.75 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02087/0.881, allocations: 11.75 MB / 0.8189 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00775/0.8888, allocations: 3.886 MB / 0.8227 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/0.9003, allocations: 4.851 MB / 0.8275 GB, free: 472 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01434/0.9146, allocations: 4.614 MB / 0.832 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004911/0.9195, allocations: 0.8438 MB / 0.8328 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01293/0.9324, allocations: 2.584 MB / 0.8353 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005881/0.9383, allocations: 2.342 MB / 0.8376 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008506/0.9468, allocations: 3.172 MB / 0.8407 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02238/0.9692, allocations: 12.72 MB / 0.8531 GB, free: 6.113 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9692, allocations: 1.125 kB / 0.8531 GB, free: 6.113 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9692, allocations: 0 / 0.8531 GB, free: 6.113 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003934/0.9696, allocations: 3.938 kB / 0.8531 GB, free: 6.109 MB / 0.6232 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.02512/0.9947, allocations: 8.253 MB / 0.8612 GB, free: 13.81 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.9948, allocations: 8.031 kB / 0.8612 GB, free: 13.8 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002513/0.9973, allocations: 0.6674 MB / 0.8618 GB, free: 13.13 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004871/1.002, allocations: 0.9727 MB / 0.8628 GB, free: 12.16 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/1.018, allocations: 6.385 MB / 0.869 GB, free: 5.711 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005624/1.019, allocations: 393.9 kB / 0.8694 GB, free: 5.301 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/1.02, allocations: 348 kB / 0.8697 GB, free: 4.961 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02675/1.047, allocations: 11.34 MB / 0.8808 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/1.047, allocations: 39.62 kB / 0.8808 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005991/1.048, allocations: 185.5 kB / 0.881 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002555/1.048, allocations: 213.2 kB / 0.8812 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/1.071, allocations: 7.473 MB / 0.8885 GB, free: 244 kB / 0.6544 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.05134/1.122, allocations: 35.54 MB / 0.9232 GB, free: 11.63 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01906/1.141, allocations: 6.621 MB / 0.9297 GB, free: 4.844 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005898/1.147, allocations: 2.398 MB / 0.932 GB, free: 2.387 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/1.148, allocations: 252.6 kB / 0.9323 GB, free: 2.141 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/1.148, allocations: 104 kB / 0.9324 GB, free: 2.031 MB / 0.7013 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004258/1.153, allocations: 0.697 MB / 0.9331 GB, free: 1.332 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=812): time 2.129e-05/1.153, allocations: 5.312 kB / 0.9331 GB, free: 1.332 MB / 0.7013 GB Notification: Performance of matching and sorting (n=812): time 0.04319/1.196, allocations: 12.74 MB / 0.9455 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008657/1.197, allocations: 1.42 MB / 0.9469 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.207, allocations: 5.397 MB / 0.9522 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001398/1.208, allocations: 81.7 kB / 0.9522 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002446/1.211, allocations: 2.564 MB / 0.9547 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003753/1.214, allocations: 2.755 MB / 0.9574 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003226/1.218, allocations: 1.636 MB / 0.959 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.218, allocations: 301.1 kB / 0.9593 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006872/1.225, allocations: 3.095 MB / 0.9623 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009839/1.235, allocations: 6.143 MB / 0.9683 GB, free: 11.57 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.23/1.465, allocations: 31.1 MB / 0.9987 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.569e-05/1.465, allocations: 20 kB / 0.9987 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02588/1.49, allocations: 9.695 MB / 1.008 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.139e-05/1.491, allocations: 33.25 kB / 1.008 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01859/1.509, allocations: 7.318 MB / 1.015 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04853/1.558, allocations: 4.434 MB / 1.02 GB, free: 6.453 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008067/1.566, allocations: 2.133 MB / 1.022 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/1.57, allocations: 2.786 MB / 1.025 GB, free: 1.395 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006039/1.576, allocations: 379.9 kB / 1.025 GB, free: 1.023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001745/1.577, allocations: 0.5313 MB / 1.025 GB, free: 0.4922 MB / 0.795 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.01101/1.588, allocations: 4.214 MB / 1.03 GB, free: 12.27 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01047/1.599, allocations: 6.092 MB / 1.035 GB, free: 4.984 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1941/1.793, allocations: 27.42 MB / 1.062 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001049/1.793, allocations: 16 kB / 1.062 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.3597/2.153, allocations: 9.471 MB / 1.071 GB, free: 361.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/2.153, allocations: 32.88 kB / 1.072 GB, free: 361.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01964/2.172, allocations: 7.05 MB / 1.078 GB, free: 361.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002911/2.175, allocations: 424.2 kB / 1.079 GB, free: 361.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008241/2.184, allocations: 2.182 MB / 1.081 GB, free: 361.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/2.185, allocations: 2.223 MB / 1.083 GB, free: 359.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006075/2.191, allocations: 378.7 kB / 1.083 GB, free: 359.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/2.193, allocations: 0.5245 MB / 1.084 GB, free: 359.5 MB / 0.8419 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.002504/2.195, allocations: 0.6585 MB / 1.085 GB, free: 359 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002973/2.198, allocations: 0.6903 MB / 1.085 GB, free: 359 MB / 0.8419 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.01773/2.216, allocations: 10.34 MB / 1.095 GB, free: 355.9 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.0374585199169815] Failed to read output from testmodel.py, exit status != 0: 2.36324659595266 2.373307569 1.401289693 Calling exit ...