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_simple.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.02557/0.02557, allocations: 1.796 MB / 21.15 MB, free: 3.25 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.002297/0.002297, allocations: 79.47 kB / 24.88 MB, free: 6.301 MB / 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.002741/0.002741, allocations: 166.5 kB / 28.74 MB, free: 3.516 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 1.559/1.559, allocations: 177.1 MB / 209.6 MB, free: 2.395 MB / 186.7 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.242/1.242, allocations: 102.5 MB / 369.1 MB, free: 0.875 MB / 330.8 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hex.shell.h|hex.shell.p|hex.tubes.h|hex.tubes.p|hex.wall.U.1.|hex.wall.U.2.|hex.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_BU_simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 469.1 MB, free: 12.96 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.587e-05, allocations: 3.859 kB / 469.1 MB, free: 12.95 MB / 442.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_simple): time 0.4775/0.4775, allocations: 74.32 MB / 0.5307 GB, free: 68.75 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03665/0.5142, allocations: 25.29 MB / 0.5554 GB, free: 51.88 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006886/0.5211, allocations: 151.1 kB / 0.5556 GB, free: 51.82 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008074/0.5292, allocations: 2.644 MB / 0.5581 GB, free: 50.54 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01989/0.549, allocations: 4.847 MB / 0.5629 GB, free: 47.52 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01524/0.5643, allocations: 4.686 MB / 0.5675 GB, free: 44.97 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02128/0.5856, allocations: 12.67 MB / 0.5798 GB, free: 37.96 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008018/0.5936, allocations: 4.244 MB / 0.584 GB, free: 34.7 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01755/0.6111, allocations: 6.896 MB / 0.5907 GB, free: 29.58 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009578/0.6207, allocations: 4.328 MB / 0.5949 GB, free: 25.25 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003409/0.6241, allocations: 0.8789 MB / 0.5958 GB, free: 24.37 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008708/0.6328, allocations: 2.637 MB / 0.5984 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003831/0.6367, allocations: 2.585 MB / 0.6009 GB, free: 19.14 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007593/0.6443, allocations: 2.728 MB / 0.6036 GB, free: 16.4 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01994/0.6642, allocations: 13.29 MB / 0.6165 GB, free: 3.074 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6642, allocations: 0 / 0.6165 GB, free: 3.074 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6642, allocations: 6.656 kB / 0.6165 GB, free: 3.07 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004664/0.6647, allocations: 0 / 0.6165 GB, free: 3.07 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1515 * Number of variables: 1515 Notification: Performance of Generate backend data structure: time 0.02715/0.6918, allocations: 9.477 MB / 0.6258 GB, free: 9.539 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6919, allocations: 12.03 kB / 0.6258 GB, free: 9.527 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006453/0.6983, allocations: 1.305 MB / 0.6271 GB, free: 8.223 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01775/0.7161, allocations: 6.036 MB / 0.633 GB, free: 2.133 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006864/0.7168, allocations: 402.2 kB / 0.6334 GB, free: 1.715 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/0.7187, allocations: 398.6 kB / 0.6337 GB, free: 1.328 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02954/0.7482, allocations: 12.74 MB / 0.6462 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.7483, allocations: 43.62 kB / 0.6462 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006181/0.7489, allocations: 180 kB / 0.6464 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003715/0.7493, allocations: 297.6 kB / 0.6467 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02354/0.7729, allocations: 7.258 MB / 0.6538 GB, free: 10.92 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06866/0.8415, allocations: 53.89 MB / 0.7064 GB, free: 3.16 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0205/0.862, allocations: 6.704 MB / 0.7129 GB, free: 12.21 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005911/0.8679, allocations: 2.22 MB / 0.7151 GB, free: 9.906 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/0.8691, allocations: 278 kB / 0.7154 GB, free: 9.633 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.8692, allocations: 111 kB / 0.7155 GB, free: 9.516 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004606/0.8738, allocations: 0.6471 MB / 0.7161 GB, free: 8.867 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=829): time 1.732e-05/0.8738, allocations: 0 / 0.7161 GB, free: 8.867 MB / 0.5887 GB Notification: Performance of matching and sorting (n=829): time 0.04894/0.9228, allocations: 14.02 MB / 0.7298 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009295/0.9237, allocations: 1.441 MB / 0.7312 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01286/0.9366, allocations: 6.645 MB / 0.7377 GB, free: 2.363 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001433/0.938, allocations: 85.7 kB / 0.7378 GB, free: 2.273 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.2733/1.211, allocations: 3.152 MB / 0.7409 GB, free: 185.2 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003803/1.215, allocations: 3.086 MB / 0.7439 GB, free: 183.9 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003687/1.219, allocations: 2.095 MB / 0.7459 GB, free: 183.7 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/1.219, allocations: 476.8 kB / 0.7464 GB, free: 183.2 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005663/1.225, allocations: 3 MB / 0.7493 GB, free: 183.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008476/1.233, allocations: 7.394 MB / 0.7565 GB, free: 178.3 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02261/1.256, allocations: 12.88 MB / 0.7691 GB, free: 171.4 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/1.256, allocations: 18.31 kB / 0.7691 GB, free: 171.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1126) (initialization): time 0.02709/1.283, allocations: 10.18 MB / 0.7791 GB, free: 167.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.765e-05/1.283, allocations: 33.06 kB / 0.7791 GB, free: 167.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02055/1.303, allocations: 7.84 MB / 0.7867 GB, free: 165.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09758/1.401, allocations: 7.845 MB / 0.7944 GB, free: 162.6 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007834/1.409, allocations: 2.169 MB / 0.7965 GB, free: 160.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004291/1.413, allocations: 6.019 MB / 0.8024 GB, free: 154.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006563/1.42, allocations: 342.8 kB / 0.8027 GB, free: 154.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/1.422, allocations: 0.5402 MB / 0.8033 GB, free: 153.9 MB / 0.6043 GB Warning: Assuming fixed start value for the following 4 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" 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.01037/1.432, allocations: 3.828 MB / 0.807 GB, free: 150.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008606/1.441, allocations: 7.325 MB / 0.8141 GB, free: 142 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02116/1.462, allocations: 12.7 MB / 0.8265 GB, free: 128.6 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.744e-05/1.462, allocations: 16 kB / 0.8266 GB, free: 128.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1126) (initialization_lambda0): time 0.02214/1.484, allocations: 9.711 MB / 0.836 GB, free: 118.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/1.484, allocations: 35.94 kB / 0.8361 GB, free: 118.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01322/1.497, allocations: 6.905 MB / 0.8428 GB, free: 111.9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004742/1.502, allocations: 495.6 kB / 0.8433 GB, free: 111.4 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007094/1.509, allocations: 2.198 MB / 0.8454 GB, free: 109.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/1.513, allocations: 7.796 MB / 0.8531 GB, free: 100.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005956/1.519, allocations: 336.5 kB / 0.8534 GB, free: 100.6 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/1.52, allocations: 0.5394 MB / 0.8539 GB, free: 100.1 MB / 0.6043 GB Warning: Assuming fixed start value for the following 4 variables: hex.tubes.h:VARIABLE(start = hex.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hex.tubes.p:VARIABLE(min = 0.0 start = hex.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" 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: 291 * 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 (1101): * Single equations (assignments): 1097 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,17)} Notification: Performance of prepare postOptimizeDAE: time 0.002391/1.522, allocations: 0.7547 MB / 0.8546 GB, free: 99.34 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002866/1.525, allocations: 0.8036 MB / 0.8554 GB, free: 98.54 MB / 0.6043 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 1314 equation(s) and 1257 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) = ($cse333, $cse334, $cse335, $cse336, $cse337, $cse338, $cse339, $cse340, $cse341, $cse342) has size 9 but 8 variables ($cse156, $cse157, $cse158, $cse159, 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.01562/1.541, allocations: 10.58 MB / 0.8658 GB, free: 88.61 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.79001024493482]