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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01667/0.01667, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001693/0.001693, allocations: 106 kB / 24.19 MB, free: 2.652 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.00217/0.00217, allocations: 209.1 kB / 27.92 MB, free: 4 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.512/1.512, allocations: 230.6 MB / 262.1 MB, free: 6.207 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.106/1.106, allocations: 130.7 MB / 449.6 MB, free: 6.57 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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 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_dev_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_dev_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.03228/0.03228, allocations: 20.79 MB / 0.6362 GB, free: 4.602 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.2004, allocations: 81.89 MB / 0.7162 GB, free: 2.617 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.5194/0.7198, allocations: 60.91 MB / 0.7757 GB, free: 9.414 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04965/0.7695, allocations: 25.72 MB / 0.8008 GB, free: 6.914 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009523/0.779, allocations: 149.4 kB / 0.8009 GB, free: 6.848 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.00921/0.7882, allocations: 2.707 MB / 0.8036 GB, free: 4.906 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01661/0.8048, allocations: 4.621 MB / 0.8081 GB, free: 1.156 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01308/0.8179, allocations: 4.556 MB / 0.8126 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02259/0.8405, allocations: 11.77 MB / 0.824 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00787/0.8483, allocations: 3.654 MB / 0.8276 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01077/0.8591, allocations: 4.839 MB / 0.8323 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/0.8693, allocations: 4.954 MB / 0.8372 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003835/0.8731, allocations: 0.8477 MB / 0.838 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/0.8832, allocations: 3.472 MB / 0.8414 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004476/0.8877, allocations: 2.34 MB / 0.8437 GB, free: 192 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008911/0.8966, allocations: 4.077 MB / 0.8477 GB, free: 12.09 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02669/0.9233, allocations: 12.86 MB / 0.8602 GB, free: 15.18 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.9233, allocations: 8 kB / 0.8602 GB, free: 15.17 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9233, allocations: 2.656 kB / 0.8602 GB, free: 15.17 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004647/0.9237, allocations: 0 / 0.8602 GB, free: 15.17 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.02579/0.9495, allocations: 8.263 MB / 0.8683 GB, free: 6.867 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.9496, allocations: 8.031 kB / 0.8683 GB, free: 6.859 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004359/0.9539, allocations: 0.9706 MB / 0.8693 GB, free: 5.887 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/0.969, allocations: 6.391 MB / 0.8755 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005977/0.9696, allocations: 389.9 kB / 0.8759 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/0.9711, allocations: 354.6 kB / 0.8762 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02751/0.9986, allocations: 9.495 MB / 0.8855 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001913/0.9988, allocations: 39.62 kB / 0.8855 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001195/1, allocations: 180 kB / 0.8857 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003277/1, allocations: 224.8 kB / 0.8859 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02395/1.024, allocations: 7.494 MB / 0.8932 GB, free: 12.32 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.05323/1.077, allocations: 37.75 MB / 0.9301 GB, free: 5.453 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01922/1.097, allocations: 6.624 MB / 0.9366 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005859/1.103, allocations: 2.407 MB / 0.9389 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/1.104, allocations: 284.5 kB / 0.9392 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/1.104, allocations: 98.75 kB / 0.9393 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004164/1.108, allocations: 0.6958 MB / 0.94 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=812): time 1.455e-05/1.108, allocations: 3.938 kB / 0.94 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=812): time 0.04264/1.151, allocations: 12.75 MB / 0.9524 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007647/1.151, allocations: 1.419 MB / 0.9538 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01094/1.162, allocations: 5.312 MB / 0.959 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001203/1.164, allocations: 88.36 kB / 0.9591 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002524/1.166, allocations: 2.556 MB / 0.9616 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003376/1.169, allocations: 2.749 MB / 0.9642 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004369/1.174, allocations: 1.636 MB / 0.9658 GB, free: 208 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.174, allocations: 305.1 kB / 0.9661 GB, free: 15.9 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006856/1.181, allocations: 3.094 MB / 0.9692 GB, free: 12.8 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008883/1.19, allocations: 5.367 MB / 0.9744 GB, free: 6.504 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2336/1.423, allocations: 31.1 MB / 1.005 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-05/1.423, allocations: 20 kB / 1.005 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.02152/1.445, allocations: 9.686 MB / 1.014 GB, free: 12.92 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/1.445, allocations: 33.72 kB / 1.014 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01555/1.46, allocations: 7.325 MB / 1.021 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05197/1.512, allocations: 4.43 MB / 1.026 GB, free: 1.078 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007935/1.52, allocations: 2.137 MB / 1.028 GB, free: 14.94 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003734/1.524, allocations: 2.805 MB / 1.031 GB, free: 11.99 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005932/1.53, allocations: 383.8 kB / 1.031 GB, free: 11.62 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/1.531, allocations: 0.5269 MB / 1.031 GB, free: 11.09 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.009558/1.541, allocations: 4.205 MB / 1.036 GB, free: 6.883 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009038/1.55, allocations: 5.307 MB / 1.041 GB, free: 0.5781 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5364/2.086, allocations: 27.41 MB / 1.068 GB, free: 342.3 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.253e-05/2.086, allocations: 17.56 kB / 1.068 GB, free: 342.3 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01797/2.104, allocations: 9.484 MB / 1.077 GB, free: 339.6 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/2.104, allocations: 32.03 kB / 1.077 GB, free: 339.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0122/2.117, allocations: 7.041 MB / 1.084 GB, free: 337 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/2.119, allocations: 430.1 kB / 1.084 GB, free: 337 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006478/2.125, allocations: 2.188 MB / 1.086 GB, free: 336.8 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/2.127, allocations: 2.218 MB / 1.088 GB, free: 334.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005505/2.132, allocations: 385.2 kB / 1.089 GB, free: 334.7 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/2.134, allocations: 0.5312 MB / 1.089 GB, free: 334.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.002048/2.136, allocations: 0.6532 MB / 1.09 GB, free: 334.1 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002605/2.138, allocations: 0.6899 MB / 1.091 GB, free: 334.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.01732/2.156, allocations: 10.29 MB / 1.101 GB, free: 327.8 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.091345259221271] Failed to read output from testmodel.py, exit status != 0: 2.2994524729438126 2.308545717 1.382776675 Calling exit ...