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.00886/0.00886, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.000975/0.000975, allocations: 79.33 kB / 26.19 MB, free: 6.078 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.001179/0.001179, allocations: 168.8 kB / 30.12 MB, free: 2.184 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.9613/0.9613, allocations: 177.2 MB / 211.1 MB, free: 3.441 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6161/0.6161, allocations: 102.4 MB / 370.6 MB, free: 172 kB / 330.7 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_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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 471.2 MB, free: 18.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.896e-05, allocations: 2.844 kB / 471.2 MB, free: 18.8 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.1838/0.1838, allocations: 76.17 MB / 0.5346 GB, free: 11.38 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.0359/0.2197, allocations: 25.23 MB / 0.5592 GB, free: 2.078 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006071/0.2258, allocations: 146.9 kB / 0.5594 GB, free: 1.934 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007031/0.2328, allocations: 2.629 MB / 0.5619 GB, free: 15.29 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.245, allocations: 4.788 MB / 0.5666 GB, free: 10.47 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008665/0.2536, allocations: 4.623 MB / 0.5711 GB, free: 5.844 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01457/0.2682, allocations: 12.06 MB / 0.5829 GB, free: 9.75 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006152/0.2744, allocations: 4.092 MB / 0.5869 GB, free: 5.59 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1395/0.4138, allocations: 52.04 MB / 0.6377 GB, free: 2.723 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2348/0.6486, allocations: 3.999 MB / 0.6416 GB, free: 76.11 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002624/0.6512, allocations: 0.8071 MB / 0.6424 GB, free: 76.11 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006564/0.6578, allocations: 2.544 MB / 0.6449 GB, free: 76.11 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002393/0.6602, allocations: 2.273 MB / 0.6471 GB, free: 76.11 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004975/0.6651, allocations: 2.544 MB / 0.6496 GB, free: 76.11 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.6777, allocations: 8.073 MB / 0.6575 GB, free: 75.46 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.6777, allocations: 0 / 0.6575 GB, free: 75.46 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6777, allocations: 0 / 0.6575 GB, free: 75.46 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003984/0.6781, allocations: 0.75 kB / 0.6575 GB, free: 75.46 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.01404/0.6922, allocations: 8.198 MB / 0.6655 GB, free: 71.92 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.6922, allocations: 11.31 kB / 0.6655 GB, free: 71.92 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.6943, allocations: 1.142 MB / 0.6666 GB, free: 71.46 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007599/0.7019, allocations: 4.743 MB / 0.6712 GB, free: 70.34 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003493/0.7023, allocations: 401.1 kB / 0.6716 GB, free: 70.21 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007978/0.7031, allocations: 382 kB / 0.672 GB, free: 70.21 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.7161, allocations: 10.07 MB / 0.6818 GB, free: 63.84 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/0.7162, allocations: 41.19 kB / 0.6819 GB, free: 63.84 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004262/0.7166, allocations: 179.8 kB / 0.682 GB, free: 63.84 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002631/0.7169, allocations: 215.7 kB / 0.6822 GB, free: 63.83 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0092/0.7261, allocations: 4.372 MB / 0.6865 GB, free: 63.51 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/0.7539, allocations: 44.77 MB / 0.7302 GB, free: 24.88 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008653/0.7625, allocations: 4.765 MB / 0.7349 GB, free: 22.72 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.7646, allocations: 1.248 MB / 0.7361 GB, free: 22.19 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005415/0.7651, allocations: 278.8 kB / 0.7364 GB, free: 22.09 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.404e-05/0.7652, allocations: 103.9 kB / 0.7365 GB, free: 22.01 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003187/0.7684, allocations: 0.7257 MB / 0.7372 GB, free: 21.52 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=812): time 1.508e-05/0.7684, allocations: 2.375 kB / 0.7372 GB, free: 21.52 MB / 0.5418 GB Notification: Performance of matching and sorting (n=812): time 0.02023/0.7887, allocations: 9.194 MB / 0.7462 GB, free: 18.3 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/0.7889, allocations: 1.775 MB / 0.7479 GB, free: 16.15 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004961/0.7938, allocations: 4.57 MB / 0.7523 GB, free: 14.33 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0009414/0.7948, allocations: 87.55 kB / 0.7524 GB, free: 14.25 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.7961, allocations: 2.776 MB / 0.7551 GB, free: 12.02 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002009/0.7981, allocations: 2.79 MB / 0.7579 GB, free: 9.715 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001834/0.7999, allocations: 1.771 MB / 0.7596 GB, free: 8.859 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.8, allocations: 476.8 kB / 0.7601 GB, free: 8.391 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.8017, allocations: 1.285 MB / 0.7613 GB, free: 8.031 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002908/0.8046, allocations: 5.755 MB / 0.7669 GB, free: 2.121 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007153/0.8118, allocations: 7.444 MB / 0.7742 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.221e-05/0.8118, allocations: 20 kB / 0.7742 GB, free: 10.14 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01049/0.8223, allocations: 6.365 MB / 0.7804 GB, free: 4.184 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.8224, allocations: 35.98 kB / 0.7805 GB, free: 4.148 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01377/0.8361, allocations: 4.018 MB / 0.7844 GB, free: 112 kB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07869/0.9148, allocations: 6.054 MB / 0.7903 GB, free: 10.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005132/0.92, allocations: 2.092 MB / 0.7923 GB, free: 8.418 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003131/0.9231, allocations: 3.109 MB / 0.7954 GB, free: 5.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005054/0.9282, allocations: 329.8 kB / 0.7957 GB, free: 4.914 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001314/0.9295, allocations: 479.6 kB / 0.7962 GB, free: 4.445 MB / 0.573 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.003977/0.9334, allocations: 1.454 MB / 0.7976 GB, free: 2.984 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003702/0.9371, allocations: 5.73 MB / 0.8032 GB, free: 11.79 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007397/0.9445, allocations: 7.361 MB / 0.8104 GB, free: 3.703 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.204e-05/0.9446, allocations: 20 kB / 0.8104 GB, free: 3.684 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1092) (initialization_lambda0): time 0.009238/0.9538, allocations: 6.27 MB / 0.8165 GB, free: 13.81 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.9539, allocations: 32 kB / 0.8165 GB, free: 13.78 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005385/0.9592, allocations: 3.924 MB / 0.8204 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01331/0.9726, allocations: 2.504 MB / 0.8228 GB, free: 7.457 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004698/0.9773, allocations: 2.078 MB / 0.8248 GB, free: 5.496 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.9793, allocations: 3.046 MB / 0.8278 GB, free: 2.371 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/0.9836, allocations: 335.5 kB / 0.8281 GB, free: 2.047 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/0.9847, allocations: 471.6 kB / 0.8286 GB, free: 1.586 MB / 0.6043 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.002055/0.9868, allocations: 0.7567 MB / 0.8293 GB, free: 0.957 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002749/0.9895, allocations: 0.7837 MB / 0.8301 GB, free: 176 kB / 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 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.0106/1, allocations: 8.919 MB / 0.8388 GB, free: 8.23 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.928091230802238]