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.01745/0.01745, allocations: 1.792 MB / 21.15 MB, free: 3.246 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.001878/0.001878, allocations: 73.3 kB / 24.88 MB, free: 5.777 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.002018/0.002018, allocations: 161.2 kB / 28.74 MB, free: 3.371 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.529/1.529, allocations: 177.2 MB / 209.6 MB, free: 2.41 MB / 186.7 MB " [Timeout remaining time 178] 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 1.207/1.207, allocations: 102.5 MB / 369.1 MB, free: 0.8828 MB / 330.8 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.1.|plateHEX.thinWall.nTU.Q_flow_s.2.|plateHEX.thinWall.nTU.Q_flow_s.3.|plateHEX.thinWall.nTU.T_w_i.1.|plateHEX.thinWall.nTU.T_w_o.1.|plateHEX.thinWall.nTU.yps.1.|plateHEX.thinWall.nTU.yps.2.|plateHEX.thinWall.nTU.yps.3.",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.1.|plateHEX.thinWall.nTU.Q_flow_s.2.|plateHEX.thinWall.nTU.Q_flow_s.3.|plateHEX.thinWall.nTU.T_w_i.1.|plateHEX.thinWall.nTU.T_w_o.1.|plateHEX.thinWall.nTU.yps.1.|plateHEX.thinWall.nTU.yps.2.|plateHEX.thinWall.nTU.yps.3.",fileNamePrefix="ClaRa_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 469.2 MB, free: 12.98 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.12e-05/5.35e-05, allocations: 2.312 kB / 469.2 MB, free: 12.98 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_PlateHEXvle2vle_L3_2ph_ntu): time 0.4859/0.486, allocations: 74.19 MB / 0.5306 GB, free: 68.76 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03605/0.522, allocations: 26.44 MB / 0.5564 GB, free: 51.12 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006497/0.5285, allocations: 151 kB / 0.5566 GB, free: 51.05 MB / 490.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.007802/0.5363, allocations: 2.81 MB / 0.5593 GB, free: 49.73 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01402/0.5503, allocations: 4.112 MB / 0.5633 GB, free: 47.09 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01512/0.5654, allocations: 5.329 MB / 0.5685 GB, free: 44.01 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02028/0.5857, allocations: 12.32 MB / 0.5806 GB, free: 37.4 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00701/0.5927, allocations: 3.462 MB / 0.584 GB, free: 34.73 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01604/0.6088, allocations: 6.593 MB / 0.5904 GB, free: 29.91 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00815/0.6169, allocations: 4.046 MB / 0.5943 GB, free: 25.86 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.002596/0.6195, allocations: 0.8711 MB / 0.5952 GB, free: 24.98 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007307/0.6268, allocations: 2.231 MB / 0.5974 GB, free: 22.76 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003663/0.6305, allocations: 2.628 MB / 0.5999 GB, free: 20.12 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007442/0.6379, allocations: 2.685 MB / 0.6026 GB, free: 17.43 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02029/0.6582, allocations: 13.7 MB / 0.6159 GB, free: 3.688 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.6582, allocations: 6.625 kB / 0.616 GB, free: 3.684 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6582, allocations: 4 kB / 0.616 GB, free: 3.68 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004857/0.6587, allocations: 0 / 0.616 GB, free: 3.68 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.03025/0.689, allocations: 9.498 MB / 0.6252 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.689, allocations: 8.031 kB / 0.6252 GB, free: 10.11 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003928/0.693, allocations: 1.292 MB / 0.6265 GB, free: 8.812 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/0.7079, allocations: 6.075 MB / 0.6324 GB, free: 2.68 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003527/0.7083, allocations: 291.6 kB / 0.6327 GB, free: 2.395 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/0.7094, allocations: 391.9 kB / 0.6331 GB, free: 2.012 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03089/0.7403, allocations: 12.54 MB / 0.6453 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/0.7404, allocations: 54.19 kB / 0.6454 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005833/0.741, allocations: 196 kB / 0.6456 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006263/0.7416, allocations: 457.8 kB / 0.646 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02365/0.7653, allocations: 7.009 MB / 0.6529 GB, free: 11.96 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09919/0.8645, allocations: 76.02 MB / 0.7271 GB, free: 12.87 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0196/0.8841, allocations: 6.14 MB / 0.7331 GB, free: 6.461 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005696/0.8898, allocations: 1.995 MB / 0.735 GB, free: 4.371 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.8909, allocations: 269.8 kB / 0.7353 GB, free: 4.105 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.891, allocations: 104 kB / 0.7354 GB, free: 3.992 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=844): time 7.343e-06/0.891, allocations: 0 / 0.7354 GB, free: 3.992 MB / 0.6043 GB Notification: Performance of matching and sorting (n=844): time 0.3231/1.214, allocations: 13.06 MB / 0.7481 GB, free: 187.2 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002667/1.214, allocations: 1.087 MB / 0.7492 GB, free: 185.9 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.225, allocations: 6.722 MB / 0.7558 GB, free: 185.2 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.00157/1.227, allocations: 79.92 kB / 0.7558 GB, free: 185.2 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.002881/1.229, allocations: 3.302 MB / 0.7591 GB, free: 182.9 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004575/1.234, allocations: 3.228 MB / 0.7622 GB, free: 180.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004125/1.238, allocations: 2.287 MB / 0.7645 GB, free: 179.9 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/1.238, allocations: 481.3 kB / 0.7649 GB, free: 179.4 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005666/1.244, allocations: 2.817 MB / 0.7677 GB, free: 178.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008997/1.253, allocations: 7.247 MB / 0.7747 GB, free: 172.1 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01967/1.273, allocations: 12.59 MB / 0.787 GB, free: 163.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001017/1.273, allocations: 19.25 kB / 0.7871 GB, free: 163.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.02591/1.299, allocations: 10.41 MB / 0.7972 GB, free: 158.8 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.912e-05/1.299, allocations: 36.78 kB / 0.7973 GB, free: 158.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01749/1.316, allocations: 7.458 MB / 0.8045 GB, free: 152.2 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07524/1.391, allocations: 6.68 MB / 0.8111 GB, free: 147.4 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00766/1.399, allocations: 2.123 MB / 0.8131 GB, free: 145.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00829/1.407, allocations: 8.76 MB / 0.8217 GB, free: 136.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007229/1.415, allocations: 0.8374 MB / 0.8225 GB, free: 135.3 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/1.416, allocations: 0.5744 MB / 0.8231 GB, free: 134.7 MB / 0.6043 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.009925/1.426, allocations: 3.82 MB / 0.8268 GB, free: 130.9 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006741/1.433, allocations: 7.212 MB / 0.8338 GB, free: 122.1 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0145/1.448, allocations: 12.49 MB / 0.846 GB, free: 108.1 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.517e-05/1.448, allocations: 20 kB / 0.8461 GB, free: 108.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.02259/1.47, allocations: 10.25 MB / 0.8561 GB, free: 97.86 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/1.47, allocations: 37.25 kB / 0.8561 GB, free: 97.83 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01759/1.488, allocations: 7.299 MB / 0.8632 GB, free: 90.46 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008811/1.497, allocations: 1.731 MB / 0.8649 GB, free: 88.77 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008114/1.505, allocations: 2.154 MB / 0.867 GB, free: 86.61 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009656/1.515, allocations: 10.46 MB / 0.8772 GB, free: 75.62 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007813/1.522, allocations: 0.7138 MB / 0.8779 GB, free: 74.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002313/1.525, allocations: 0.566 MB / 0.8785 GB, free: 74.34 MB / 0.6043 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.004301/1.529, allocations: 0.7864 MB / 0.8793 GB, free: 73.55 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00361/1.533, allocations: 0.7648 MB / 0.88 GB, free: 72.79 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 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.01749/1.55, allocations: 9.694 MB / 0.8895 GB, free: 63.64 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.7307753540808335]