Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_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.008624/0.008624, allocations: 1.795 MB / 21.89 MB, free: 2.633 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.0008008/0.0008008, allocations: 85.2 kB / 25.61 MB, free: 6.965 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.0008762/0.0008762, allocations: 168.9 kB / 29.46 MB, free: 3.164 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.9549/0.9549, allocations: 177.1 MB / 210.3 MB, free: 3.586 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.6173/0.6173, allocations: 102.5 MB / 369.8 MB, free: 336 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_PlateHEXvle2vle_L3_2ph_ntu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|plateHEX.flow_a.h|plateHEX.flow_b.h|plateHEX.thinWall.PI_1ph_in.outputI|plateHEX.thinWall.PI_2ph.outputI|plateHEX.thinWall.nTU.Q_flow_s.[0-9,]+.|plateHEX.thinWall.nTU.T_w_i.[0-9,]+.|plateHEX.thinWall.nTU.T_w_o.[0-9,]+.|plateHEX.thinWall.nTU.yps.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") translateModel(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|plateHEX.flow_a.h|plateHEX.flow_b.h|plateHEX.thinWall.PI_1ph_in.outputI|plateHEX.thinWall.PI_2ph.outputI|plateHEX.thinWall.nTU.Q_flow_s.[0-9,]+.|plateHEX.thinWall.nTU.T_w_i.[0-9,]+.|plateHEX.thinWall.nTU.T_w_o.[0-9,]+.|plateHEX.thinWall.nTU.yps.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 469.9 MB, free: 19.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.424e-05, allocations: 4.938 kB / 469.9 MB, free: 19.04 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_PlateHEXvle2vle_L3_2ph_ntu): time 0.1232/0.1233, allocations: 76.49 MB / 0.5336 GB, free: 11.74 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02927/0.1526, allocations: 26.57 MB / 0.5595 GB, free: 1.094 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003835/0.1564, allocations: 146.9 kB / 0.5597 GB, free: 0.9492 MB / 474.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.00443/0.1608, allocations: 2.808 MB / 0.5624 GB, free: 14.12 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006524/0.1673, allocations: 4.111 MB / 0.5664 GB, free: 9.988 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007239/0.1746, allocations: 5.332 MB / 0.5716 GB, free: 4.648 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01154/0.1861, allocations: 12.32 MB / 0.5837 GB, free: 8.289 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004191/0.1903, allocations: 3.468 MB / 0.587 GB, free: 4.754 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00816/0.1985, allocations: 6.591 MB / 0.5935 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00453/0.203, allocations: 4.035 MB / 0.5974 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.2042, allocations: 0.8711 MB / 0.5983 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.2077, allocations: 2.234 MB / 0.6005 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.2092, allocations: 2.621 MB / 0.603 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00267/0.2119, allocations: 2.685 MB / 0.6056 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.008258/0.2201, allocations: 7.946 MB / 0.6134 GB, free: 9.703 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2201, allocations: 3.938 kB / 0.6134 GB, free: 9.699 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2201, allocations: 0 / 0.6134 GB, free: 9.699 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001669/0.2203, allocations: 0 / 0.6134 GB, free: 9.699 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.009518/0.2298, allocations: 8.479 MB / 0.6217 GB, free: 1.125 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.2299, allocations: 8.031 kB / 0.6217 GB, free: 1.117 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.2319, allocations: 1.305 MB / 0.623 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007201/0.2391, allocations: 5.974 MB / 0.6288 GB, free: 9.734 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.2393, allocations: 303.5 kB / 0.6291 GB, free: 9.438 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/0.2398, allocations: 399.9 kB / 0.6295 GB, free: 9.047 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.253, allocations: 9.928 MB / 0.6392 GB, free: 13.32 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.337e-05/0.2531, allocations: 47.56 kB / 0.6392 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003272/0.2535, allocations: 196 kB / 0.6394 GB, free: 13.08 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003324/0.2538, allocations: 461.8 kB / 0.6398 GB, free: 12.62 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.2644, allocations: 4.865 MB / 0.6446 GB, free: 7.738 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2405/0.5048, allocations: 54.61 MB / 0.6979 GB, free: 101.8 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009525/0.5144, allocations: 4.605 MB / 0.7024 GB, free: 100.5 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.5164, allocations: 1.3 MB / 0.7037 GB, free: 100 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/0.5169, allocations: 274.1 kB / 0.7039 GB, free: 100 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.27e-05/0.517, allocations: 105.2 kB / 0.704 GB, free: 99.92 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=844): time 6.663e-06/0.517, allocations: 0 / 0.704 GB, free: 99.92 MB / 0.5574 GB Notification: Performance of matching and sorting (n=844): time 0.0218/0.5388, allocations: 9.818 MB / 0.7136 GB, free: 98.92 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.539, allocations: 1.086 MB / 0.7147 GB, free: 97.63 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005643/0.5446, allocations: 4.505 MB / 0.7191 GB, free: 95.41 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0005473/0.5452, allocations: 78.67 kB / 0.7192 GB, free: 95.34 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/0.5467, allocations: 2.907 MB / 0.722 GB, free: 93.08 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002239/0.549, allocations: 2.889 MB / 0.7248 GB, free: 90.94 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0026/0.5516, allocations: 1.818 MB / 0.7266 GB, free: 89.88 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.878e-05/0.5516, allocations: 476.8 kB / 0.7271 GB, free: 89.41 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002971/0.5546, allocations: 1.393 MB / 0.7284 GB, free: 88.93 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004186/0.5588, allocations: 5.331 MB / 0.7336 GB, free: 83.29 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009819/0.5686, allocations: 8.009 MB / 0.7414 GB, free: 77.12 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.162e-05/0.5686, allocations: 19.56 kB / 0.7415 GB, free: 77.12 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01335/0.582, allocations: 7.409 MB / 0.7487 GB, free: 74.06 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.582, allocations: 40.56 kB / 0.7487 GB, free: 74.06 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01071/0.5927, allocations: 4.921 MB / 0.7535 GB, free: 71.82 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03812/0.6308, allocations: 6.487 MB / 0.7599 GB, free: 65.59 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/0.6351, allocations: 2.125 MB / 0.762 GB, free: 63.46 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004382/0.6395, allocations: 7.839 MB / 0.7696 GB, free: 55.27 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/0.6434, allocations: 0.8416 MB / 0.7704 GB, free: 54.48 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008367/0.6442, allocations: 0.5699 MB / 0.771 GB, free: 53.91 MB / 0.5574 GB Warning: Assuming fixed start value for the following 6 variables: plateHEX.flow_a.h:VARIABLE(start = plateHEX.flow_a.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.flow_b.h:VARIABLE(start = plateHEX.flow_b.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.thinWall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_i_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] plateHEX.thinWall.nTU.T_w_o[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] plateHEX.thinWall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real plateHEX.thinWall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00476/0.649, allocations: 1.588 MB / 0.7725 GB, free: 52.32 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00388/0.6529, allocations: 5.314 MB / 0.7777 GB, free: 45.37 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009263/0.6621, allocations: 7.939 MB / 0.7855 GB, free: 36 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.033e-05/0.6622, allocations: 27.05 kB / 0.7855 GB, free: 35.97 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.01383/0.676, allocations: 7.328 MB / 0.7927 GB, free: 28.63 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.6761, allocations: 42.03 kB / 0.7927 GB, free: 28.59 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009497/0.6856, allocations: 4.832 MB / 0.7974 GB, free: 23.68 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004462/0.69, allocations: 1.589 MB / 0.799 GB, free: 22.12 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004/0.694, allocations: 2.159 MB / 0.8011 GB, free: 19.96 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004469/0.6985, allocations: 9.54 MB / 0.8104 GB, free: 9.887 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/0.7022, allocations: 0.7061 MB / 0.8111 GB, free: 9.176 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008345/0.703, allocations: 0.5621 MB / 0.8116 GB, free: 8.613 MB / 0.5574 GB Warning: Assuming fixed start value for the following 6 variables: plateHEX.flow_a.h:VARIABLE(start = plateHEX.flow_a.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.flow_b.h:VARIABLE(start = plateHEX.flow_b.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real plateHEX.thinWall.nTU.T_w_i[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_i_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at inner phase\" type: Real [3] plateHEX.thinWall.nTU.T_w_o[1]:VARIABLE(min = 0.0 start = plateHEX.thinWall.nTU.T_w_o_start[3] unit = \"K\" fixed = true nominal = 300.0 protected = true ) \"Wall temperature at outer phase\" type: Real [3] plateHEX.thinWall.PI_2ph.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real plateHEX.thinWall.PI_1ph_in.outputI:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * Number of states: 0 () * Number of discrete variables: 4 (plateHEX.thinWall.nTU.smallShellFlow[2],plateHEX.thinWall.nTU.smallShellFlow[3],plateHEX.thinWall.nTU.smallShellFlow[1],plateHEX.thinWall.nTU.mass) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1109): * Single equations (assignments): 1103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,15), (1,14), (2,8), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001914/0.705, allocations: 0.7961 MB / 0.8124 GB, free: 7.82 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/0.7071, allocations: 0.7609 MB / 0.8132 GB, free: 7.055 MB / 0.5574 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 1148 equation(s) and 1106 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (plateHEX.thinWall.nTU.O1_in.q, plateHEX.thinWall.nTU.O1_in.cp, plateHEX.thinWall.nTU.O1_in.cv, plateHEX.thinWall.nTU.O1_in.beta, plateHEX.thinWall.nTU.O1_in.kappa, plateHEX.thinWall.nTU.O1_in.drhodp_hxi, plateHEX.thinWall.nTU.O1_in.drhodh_pxi, _, plateHEX.thinWall.nTU.O1_in.w, plateHEX.thinWall.nTU.O1_in.gamma) = ($cse364, $cse365, $cse366, $cse367, $cse368, $cse369, $cse370, $cse371, $cse372, $cse373) has size 9 but 6 variables (plateHEX.flow_a.fluidOut.VLEAdditional.cp_l, plateHEX.flow_a.fluidOut.VLEAdditional.cp_v, plateHEX.flow_a.fluidOut.VLEAdditional.beta_l, plateHEX.flow_a.fluidOut.VLEAdditional.beta_v, plateHEX.flow_a.fluidOut.VLEAdditional.kappa_l, plateHEX.flow_a.fluidOut.VLEAdditional.kappa_v) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.7182, allocations: 8.955 MB / 0.8219 GB, free: 14.53 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5898954540025443]