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.01334/0.01334, allocations: 1.747 MB / 21.35 MB, free: 480 kB / 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.001352/0.001352, allocations: 107.4 kB / 24.94 MB, free: 2.051 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.001568/0.001568, allocations: 209.9 kB / 28.65 MB, free: 3.34 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.485/1.485, allocations: 230.6 MB / 262.8 MB, free: 5.82 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.106/1.106, allocations: 130.7 MB / 450.4 MB, free: 6.398 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: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.T_w_a|hex.wall.T_w_i",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.T_w_a|hex.wall.T_w_i",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_ntu") [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.06954/0.06954, allocations: 20.98 MB / 0.6371 GB, free: 4.195 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2782, allocations: 81.91 MB / 0.7171 GB, free: 2.18 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.5962/0.8744, allocations: 57.16 MB / 0.7729 GB, free: 12.97 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04469/0.9191, allocations: 24.68 MB / 0.797 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01007/0.9292, allocations: 146.4 kB / 0.7971 GB, free: 11.48 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01025/0.9394, allocations: 2.625 MB / 0.7997 GB, free: 9.621 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01904/0.9585, allocations: 4.629 MB / 0.8042 GB, free: 5.887 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01369/0.9722, allocations: 4.577 MB / 0.8087 GB, free: 2.418 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02129/0.9935, allocations: 11.75 MB / 0.8202 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007894/1.001, allocations: 3.893 MB / 0.824 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01204/1.013, allocations: 4.847 MB / 0.8287 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/1.024, allocations: 4.61 MB / 0.8332 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003895/1.028, allocations: 0.8476 MB / 0.834 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009638/1.038, allocations: 2.581 MB / 0.8365 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00495/1.043, allocations: 2.335 MB / 0.8388 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009089/1.052, allocations: 3.168 MB / 0.8419 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02618/1.078, allocations: 12.72 MB / 0.8543 GB, free: 5.527 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/1.078, allocations: 4 kB / 0.8543 GB, free: 5.523 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.406e-06/1.078, allocations: 0.75 kB / 0.8543 GB, free: 5.523 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004213/1.078, allocations: 0 / 0.8543 GB, free: 5.523 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.02692/1.105, allocations: 8.257 MB / 0.8624 GB, free: 13.22 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/1.105, allocations: 12.03 kB / 0.8624 GB, free: 13.21 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004891/1.11, allocations: 0.9691 MB / 0.8634 GB, free: 12.24 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01723/1.127, allocations: 6.391 MB / 0.8696 GB, free: 5.789 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006836/1.128, allocations: 396.6 kB / 0.87 GB, free: 5.379 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002941/1.131, allocations: 348 kB / 0.8703 GB, free: 5.039 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02867/1.16, allocations: 11.34 MB / 0.8814 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/1.16, allocations: 43.56 kB / 0.8814 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006051/1.16, allocations: 184 kB / 0.8816 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002612/1.161, allocations: 217.2 kB / 0.8818 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02438/1.185, allocations: 7.469 MB / 0.8891 GB, free: 320 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.06293/1.248, allocations: 34.96 MB / 0.9232 GB, free: 12.29 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02207/1.27, allocations: 6.602 MB / 0.9297 GB, free: 5.523 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007467/1.278, allocations: 2.403 MB / 0.932 GB, free: 3.066 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/1.279, allocations: 258.5 kB / 0.9323 GB, free: 2.816 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/1.279, allocations: 112 kB / 0.9324 GB, free: 2.699 MB / 0.7013 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005409/1.285, allocations: 0.6777 MB / 0.9331 GB, free: 2.02 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=812): time 3.043e-05/1.285, allocations: 0 / 0.9331 GB, free: 2.02 MB / 0.7013 GB Notification: Performance of matching and sorting (n=812): time 0.05032/1.335, allocations: 12.74 MB / 0.9455 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001098/1.336, allocations: 1.416 MB / 0.9469 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01658/1.353, allocations: 5.289 MB / 0.952 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001635/1.354, allocations: 85.7 kB / 0.9521 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00372/1.358, allocations: 2.575 MB / 0.9546 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.005193/1.363, allocations: 2.753 MB / 0.9573 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006845/1.37, allocations: 1.632 MB / 0.9589 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.37, allocations: 309.1 kB / 0.9592 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00872/1.379, allocations: 3.099 MB / 0.9622 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01246/1.391, allocations: 6.139 MB / 0.9682 GB, free: 12.36 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2444/1.636, allocations: 31.11 MB / 0.9986 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-05/1.636, allocations: 19.94 kB / 0.9986 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02927/1.665, allocations: 9.678 MB / 1.008 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.665, allocations: 33 kB / 1.008 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.022/1.687, allocations: 7.321 MB / 1.015 GB, free: 11.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05068/1.738, allocations: 4.432 MB / 1.02 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009037/1.747, allocations: 2.137 MB / 1.022 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/1.752, allocations: 2.767 MB / 1.024 GB, free: 2.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007452/1.759, allocations: 387.9 kB / 1.025 GB, free: 1.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002273/1.761, allocations: 0.523 MB / 1.025 GB, free: 1.309 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.01338/1.775, allocations: 4.209 MB / 1.029 GB, free: 13.09 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01194/1.787, allocations: 6.085 MB / 1.035 GB, free: 5.816 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5966/2.383, allocations: 27.41 MB / 1.062 GB, free: 343.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.653e-05/2.383, allocations: 18 kB / 1.062 GB, free: 343.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.02632/2.41, allocations: 9.479 MB / 1.071 GB, free: 340.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/2.41, allocations: 34.44 kB / 1.071 GB, free: 340.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01772/2.427, allocations: 7.04 MB / 1.078 GB, free: 338 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/2.43, allocations: 422.4 kB / 1.079 GB, free: 337.9 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00773/2.438, allocations: 2.178 MB / 1.081 GB, free: 337.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/2.44, allocations: 2.204 MB / 1.083 GB, free: 335.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006845/2.446, allocations: 383.2 kB / 1.083 GB, free: 335.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001897/2.448, allocations: 0.5262 MB / 1.084 GB, free: 335.6 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.003561/2.452, allocations: 0.6497 MB / 1.084 GB, free: 335.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003902/2.456, allocations: 0.6832 MB / 1.085 GB, free: 335.1 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.02225/2.478, allocations: 10.33 MB / 1.095 GB, free: 331.4 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.604418735019863] Failed to read output from testmodel.py, exit status != 0: 2.6658812249079347 2.675654372 1.595023169 Calling exit ...