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.00797/0.00797, allocations: 1.798 MB / 21.35 MB, free: 3.191 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.0008122/0.0008122, allocations: 84.94 kB / 25.15 MB, free: 7.473 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.0008739/0.0008739, allocations: 165.7 kB / 29.06 MB, free: 3.664 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 0.9188/0.9188, allocations: 177.2 MB / 210 MB, free: 3.555 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6045/0.6045, allocations: 102.5 MB / 369.5 MB, free: 352 kB / 330.7 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 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_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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 3.938 kB / 470 MB, free: 19.03 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.376e-05, allocations: 3.969 kB / 470 MB, free: 19.02 MB / 410.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_ntu): time 0.1152/0.1152, allocations: 76.91 MB / 0.5341 GB, free: 10.94 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03226/0.1475, allocations: 25.34 MB / 0.5588 GB, free: 1.523 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005032/0.1525, allocations: 146.9 kB / 0.559 GB, free: 1.379 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004755/0.1573, allocations: 2.637 MB / 0.5615 GB, free: 14.73 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009647/0.1669, allocations: 4.784 MB / 0.5662 GB, free: 9.914 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007169/0.1741, allocations: 4.619 MB / 0.5707 GB, free: 5.285 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01327/0.1874, allocations: 12.05 MB / 0.5825 GB, free: 9.199 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005095/0.1925, allocations: 4.096 MB / 0.5865 GB, free: 5.035 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1334/0.3259, allocations: 52.05 MB / 0.6373 GB, free: 2.16 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2408/0.5666, allocations: 3.996 MB / 0.6412 GB, free: 75.89 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003238/0.5699, allocations: 0.8053 MB / 0.642 GB, free: 75.89 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00613/0.576, allocations: 2.545 MB / 0.6445 GB, free: 75.89 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001454/0.5775, allocations: 2.267 MB / 0.6467 GB, free: 75.89 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002653/0.5801, allocations: 2.552 MB / 0.6492 GB, free: 75.89 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.5954, allocations: 8.074 MB / 0.6571 GB, free: 75.25 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5954, allocations: 0 / 0.6571 GB, free: 75.25 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5954, allocations: 0 / 0.6571 GB, free: 75.25 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002171/0.5957, allocations: 0 / 0.6571 GB, free: 75.25 MB / 0.5418 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.00982/0.6055, allocations: 8.119 MB / 0.665 GB, free: 71.71 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.6055, allocations: 12 kB / 0.665 GB, free: 71.71 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.6072, allocations: 1.146 MB / 0.6661 GB, free: 71.25 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005634/0.6128, allocations: 4.847 MB / 0.6709 GB, free: 70.14 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/0.6131, allocations: 393.4 kB / 0.6713 GB, free: 70 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004334/0.6135, allocations: 385.2 kB / 0.6716 GB, free: 70 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.6254, allocations: 10.45 MB / 0.6818 GB, free: 63.63 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.642e-05/0.6255, allocations: 43.44 kB / 0.6819 GB, free: 63.63 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003379/0.6259, allocations: 181.1 kB / 0.682 GB, free: 63.63 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/0.626, allocations: 213 kB / 0.6822 GB, free: 63.62 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00984/0.6359, allocations: 4.881 MB / 0.687 GB, free: 63.18 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02208/0.658, allocations: 45.56 MB / 0.7315 GB, free: 22.37 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008521/0.6665, allocations: 5.126 MB / 0.7365 GB, free: 19.98 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.6684, allocations: 1.444 MB / 0.7379 GB, free: 19.34 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/0.6689, allocations: 279.3 kB / 0.7382 GB, free: 19.25 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.796e-05/0.669, allocations: 110.4 kB / 0.7383 GB, free: 19.16 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002488/0.6714, allocations: 0.7253 MB / 0.739 GB, free: 18.67 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=812): time 1.078e-05/0.6715, allocations: 0 / 0.739 GB, free: 18.67 MB / 0.5418 GB Notification: Performance of matching and sorting (n=812): time 0.0172/0.6887, allocations: 9.953 MB / 0.7487 GB, free: 15.07 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/0.6889, allocations: 1.779 MB / 0.7504 GB, free: 12.92 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/0.693, allocations: 4.669 MB / 0.755 GB, free: 10.35 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003773/0.6934, allocations: 85.27 kB / 0.7551 GB, free: 10.28 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.6945, allocations: 2.724 MB / 0.7578 GB, free: 7.91 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.6957, allocations: 2.769 MB / 0.7605 GB, free: 5.5 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/0.6973, allocations: 1.733 MB / 0.7621 GB, free: 4.512 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.818e-05/0.6973, allocations: 479.4 kB / 0.7626 GB, free: 4.043 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/0.6995, allocations: 1.604 MB / 0.7642 GB, free: 3.527 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004006/0.7035, allocations: 6.044 MB / 0.7701 GB, free: 11.88 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009718/0.7132, allocations: 8.271 MB / 0.7782 GB, free: 2.691 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.982e-05/0.7133, allocations: 16 kB / 0.7782 GB, free: 2.676 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01068/0.7239, allocations: 7.056 MB / 0.7851 GB, free: 12.01 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.724, allocations: 32.94 kB / 0.7851 GB, free: 11.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006897/0.7309, allocations: 4.589 MB / 0.7896 GB, free: 7.367 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03376/0.7647, allocations: 6.076 MB / 0.7955 GB, free: 1.617 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/0.7697, allocations: 2.089 MB / 0.7975 GB, free: 15.65 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/0.7725, allocations: 3.175 MB / 0.8006 GB, free: 12.36 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/0.7763, allocations: 329.8 kB / 0.801 GB, free: 12.05 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007167/0.777, allocations: 0.5386 MB / 0.8015 GB, free: 11.51 MB / 0.5887 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.003855/0.7808, allocations: 1.774 MB / 0.8032 GB, free: 9.73 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004525/0.7854, allocations: 6.004 MB / 0.8091 GB, free: 2.07 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009287/0.7946, allocations: 8.16 MB / 0.817 GB, free: 8.992 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.747e-05/0.7947, allocations: 23.94 kB / 0.8171 GB, free: 8.969 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.01045/0.8051, allocations: 6.943 MB / 0.8239 GB, free: 2.41 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.8051, allocations: 32 kB / 0.8239 GB, free: 2.379 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00656/0.8117, allocations: 4.486 MB / 0.8283 GB, free: 13.87 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01264/0.8243, allocations: 2.509 MB / 0.8307 GB, free: 11.48 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003918/0.8283, allocations: 2.088 MB / 0.8328 GB, free: 9.52 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.8305, allocations: 3.1 MB / 0.8358 GB, free: 6.305 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003657/0.8342, allocations: 339.5 kB / 0.8361 GB, free: 5.977 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006091/0.8348, allocations: 0.523 MB / 0.8366 GB, free: 5.453 MB / 0.6199 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,34), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00171/0.8365, allocations: 0.7564 MB / 0.8374 GB, free: 4.824 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001667/0.8381, allocations: 0.7869 MB / 0.8381 GB, free: 4.035 MB / 0.6199 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 1284 equation(s) and 1227 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) = ($cse330, $cse331, $cse332, $cse333, $cse334, $cse335, $cse336, $cse337, $cse338, $cse339) 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.01044/0.8486, allocations: 9.165 MB / 0.8471 GB, free: 11.5 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.729615439660847]