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.008384/0.008384, allocations: 1.777 MB / 22.36 MB, free: 2.109 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.0008726/0.0008726, allocations: 85.19 kB / 26.19 MB, free: 6.066 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.001002/0.001002, allocations: 169.4 kB / 30.12 MB, free: 2.168 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.9813/0.9813, allocations: 177.1 MB / 211.1 MB, free: 3.441 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.5961/0.5961, allocations: 102.5 MB / 370.7 MB, free: 208 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.413e-06/1.413e-06, allocations: 0 / 471.2 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.88e-05, allocations: 3.438 kB / 471.2 MB, free: 18.86 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.1818/0.1818, allocations: 75.85 MB / 0.5343 GB, free: 11.72 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03348/0.2153, allocations: 26.51 MB / 0.5602 GB, free: 1.141 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004673/0.22, allocations: 146.9 kB / 0.5603 GB, free: 0.9961 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.006188/0.2262, allocations: 2.82 MB / 0.5631 GB, free: 14.16 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009495/0.2357, allocations: 4.138 MB / 0.5671 GB, free: 9.996 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009444/0.2451, allocations: 5.333 MB / 0.5723 GB, free: 4.652 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01404/0.2592, allocations: 12.3 MB / 0.5843 GB, free: 8.316 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005625/0.2648, allocations: 3.468 MB / 0.5877 GB, free: 4.781 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1014/0.3662, allocations: 43.17 MB / 0.6299 GB, free: 10.88 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007286/0.3735, allocations: 3.879 MB / 0.6336 GB, free: 6.992 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002497/0.376, allocations: 0.8164 MB / 0.6344 GB, free: 6.176 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005214/0.3812, allocations: 2.156 MB / 0.6365 GB, free: 4.016 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002833/0.3841, allocations: 2.488 MB / 0.639 GB, free: 1.52 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.244/0.628, allocations: 2.586 MB / 0.6415 GB, free: 73.93 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.6405, allocations: 7.793 MB / 0.6491 GB, free: 73.3 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.6405, allocations: 2.844 kB / 0.6491 GB, free: 73.3 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6405, allocations: 0 / 0.6491 GB, free: 73.3 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003562/0.6409, allocations: 0 / 0.6491 GB, free: 73.3 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01181/0.6527, allocations: 8.262 MB / 0.6572 GB, free: 69.76 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.6527, allocations: 11.3 kB / 0.6572 GB, free: 69.76 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.6543, allocations: 1.14 MB / 0.6583 GB, free: 69.28 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00624/0.6606, allocations: 4.991 MB / 0.6632 GB, free: 68.19 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.6607, allocations: 300.3 kB / 0.6635 GB, free: 68.18 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005057/0.6613, allocations: 396.4 kB / 0.6638 GB, free: 68.18 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.6737, allocations: 9.558 MB / 0.6732 GB, free: 62.49 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.6738, allocations: 50.81 kB / 0.6732 GB, free: 62.49 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004094/0.6742, allocations: 194 kB / 0.6734 GB, free: 62.49 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003824/0.6746, allocations: 466.5 kB / 0.6739 GB, free: 62.48 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009611/0.6842, allocations: 4.397 MB / 0.6782 GB, free: 62.38 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03027/0.7145, allocations: 53.76 MB / 0.7307 GB, free: 18.61 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009016/0.7235, allocations: 4.377 MB / 0.7349 GB, free: 16.57 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.7253, allocations: 1.14 MB / 0.736 GB, free: 16.03 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004883/0.7258, allocations: 267.6 kB / 0.7363 GB, free: 15.94 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.914e-05/0.7259, allocations: 103.3 kB / 0.7364 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=844): time 6.613e-06/0.7259, allocations: 1.125 kB / 0.7364 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of matching and sorting (n=844): time 0.01973/0.7456, allocations: 9.232 MB / 0.7454 GB, free: 12.56 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001979/0.7458, allocations: 1.287 MB / 0.7467 GB, free: 11.02 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004265/0.7501, allocations: 4.375 MB / 0.7509 GB, free: 9.273 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0004978/0.7506, allocations: 83.23 kB / 0.751 GB, free: 9.203 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.7519, allocations: 2.939 MB / 0.7539 GB, free: 6.828 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001738/0.7536, allocations: 2.908 MB / 0.7567 GB, free: 4.422 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00188/0.7555, allocations: 1.868 MB / 0.7586 GB, free: 3.504 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.7556, allocations: 479.6 kB / 0.759 GB, free: 3.035 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.7573, allocations: 1.131 MB / 0.7601 GB, free: 2.684 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003264/0.7606, allocations: 5.401 MB / 0.7654 GB, free: 13 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007442/0.768, allocations: 7.395 MB / 0.7726 GB, free: 7.652 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.276e-05/0.7681, allocations: 24.41 kB / 0.7726 GB, free: 7.652 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01304/0.7811, allocations: 6.818 MB / 0.7793 GB, free: 2.188 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.7812, allocations: 43.98 kB / 0.7793 GB, free: 2.145 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008411/0.7896, allocations: 4.478 MB / 0.7837 GB, free: 13.72 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0372/0.8268, allocations: 6.507 MB / 0.7901 GB, free: 7.52 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004491/0.8313, allocations: 2.123 MB / 0.7921 GB, free: 5.531 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.8365, allocations: 7.709 MB / 0.7997 GB, free: 13.58 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004206/0.8407, allocations: 0.8452 MB / 0.8005 GB, free: 12.73 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000923/0.8416, allocations: 0.4957 MB / 0.801 GB, free: 12.23 MB / 0.5887 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.003855/0.8454, allocations: 1.335 MB / 0.8023 GB, free: 10.9 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003793/0.8492, allocations: 5.385 MB / 0.8075 GB, free: 4.051 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007846/0.8571, allocations: 7.348 MB / 0.8147 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7e-05/0.8571, allocations: 24 kB / 0.8147 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.0124/0.8696, allocations: 6.758 MB / 0.8213 GB, free: 5.215 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.8696, allocations: 41.72 kB / 0.8214 GB, free: 5.176 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00825/0.8778, allocations: 4.407 MB / 0.8257 GB, free: 0.707 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03659/0.9144, allocations: 6.311 MB / 0.8318 GB, free: 10.62 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/0.9189, allocations: 2.11 MB / 0.8339 GB, free: 8.508 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005921/0.9248, allocations: 7.704 MB / 0.8414 GB, free: 0.4922 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004315/0.9291, allocations: 0.7105 MB / 0.8421 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001154/0.9303, allocations: 0.4957 MB / 0.8426 GB, free: 15.28 MB / 0.6355 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[3],plateHEX.thinWall.nTU.smallShellFlow[1],plateHEX.thinWall.nTU.mass,plateHEX.thinWall.nTU.smallShellFlow[2]) * 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.002052/0.9323, allocations: 0.7928 MB / 0.8434 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002458/0.9348, allocations: 0.7608 MB / 0.8441 GB, free: 13.72 MB / 0.6355 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.01308/0.9479, allocations: 8.745 MB / 0.8527 GB, free: 5.305 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8339322390966117]