Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01346/0.01346, allocations: 1.777 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.001242/0.001242, allocations: 78.2 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.001449/0.001449, allocations: 168.6 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 1.005/1.005, allocations: 177.2 MB / 211.1 MB, free: 3.406 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.6099/0.6099, allocations: 102.4 MB / 370.6 MB, free: 220 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_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_dev_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_dev_ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 471.2 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.26e-05, allocations: 4.875 kB / 471.2 MB, free: 18.84 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.1279/0.128, allocations: 75.85 MB / 0.5343 GB, free: 11.71 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03778/0.1657, allocations: 26.51 MB / 0.5602 GB, free: 1.129 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006526/0.1723, allocations: 146.9 kB / 0.5603 GB, free: 0.9844 MB / 474.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.007534/0.1798, allocations: 2.812 MB / 0.563 GB, free: 14.16 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.1911, allocations: 4.138 MB / 0.5671 GB, free: 9.992 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01045/0.2016, allocations: 5.343 MB / 0.5723 GB, free: 4.641 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01675/0.2183, allocations: 12.3 MB / 0.5843 GB, free: 8.309 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005702/0.224, allocations: 3.468 MB / 0.5877 GB, free: 4.773 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1649/0.3889, allocations: 43.16 MB / 0.6298 GB, free: 10.88 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006867/0.3957, allocations: 3.871 MB / 0.6336 GB, free: 6.992 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002084/0.3978, allocations: 0.8125 MB / 0.6344 GB, free: 6.18 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00494/0.4028, allocations: 2.176 MB / 0.6365 GB, free: 4 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.405, allocations: 2.48 MB / 0.639 GB, free: 1.512 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.2396/0.6446, allocations: 2.587 MB / 0.6415 GB, free: 73.97 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.6571, allocations: 7.795 MB / 0.6491 GB, free: 73.34 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6571, allocations: 0.75 kB / 0.6491 GB, free: 73.34 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6571, allocations: 0 / 0.6491 GB, free: 73.34 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004141/0.6575, allocations: 0 / 0.6491 GB, free: 73.34 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.009674/0.6672, allocations: 8.27 MB / 0.6572 GB, free: 69.8 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.6672, allocations: 8.594 kB / 0.6572 GB, free: 69.8 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.6684, allocations: 1.135 MB / 0.6583 GB, free: 69.32 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004412/0.6728, allocations: 4.995 MB / 0.6632 GB, free: 68.23 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.673, allocations: 292.2 kB / 0.6635 GB, free: 68.23 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000436/0.6734, allocations: 405.5 kB / 0.6638 GB, free: 68.22 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.6837, allocations: 9.556 MB / 0.6732 GB, free: 62.53 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.6838, allocations: 49.16 kB / 0.6732 GB, free: 62.53 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.6842, allocations: 196.5 kB / 0.6734 GB, free: 62.53 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000323/0.6845, allocations: 462.2 kB / 0.6738 GB, free: 62.52 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008458/0.693, allocations: 4.397 MB / 0.6781 GB, free: 62.42 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02564/0.7186, allocations: 53.77 MB / 0.7306 GB, free: 18.65 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009158/0.7278, allocations: 4.372 MB / 0.7349 GB, free: 16.61 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.7295, allocations: 1.143 MB / 0.736 GB, free: 16.07 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005513/0.73, allocations: 268.9 kB / 0.7363 GB, free: 15.98 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.7301, allocations: 103.3 kB / 0.7364 GB, free: 15.9 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=844): time 7.835e-06/0.7301, allocations: 0 / 0.7364 GB, free: 15.9 MB / 0.5418 GB Notification: Performance of matching and sorting (n=844): time 0.01923/0.7494, allocations: 9.233 MB / 0.7454 GB, free: 12.6 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002222/0.7496, allocations: 1.29 MB / 0.7467 GB, free: 11.05 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00444/0.754, allocations: 4.382 MB / 0.7509 GB, free: 9.309 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0004497/0.7545, allocations: 78.05 kB / 0.751 GB, free: 9.238 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.7559, allocations: 2.932 MB / 0.7539 GB, free: 6.867 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001782/0.7576, allocations: 2.917 MB / 0.7567 GB, free: 4.457 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001928/0.7596, allocations: 1.858 MB / 0.7585 GB, free: 3.543 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.7596, allocations: 480.8 kB / 0.759 GB, free: 3.07 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.7613, allocations: 1.134 MB / 0.7601 GB, free: 2.719 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003809/0.7651, allocations: 5.391 MB / 0.7654 GB, free: 13.04 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007552/0.7726, allocations: 7.4 MB / 0.7726 GB, free: 7.691 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-05/0.7727, allocations: 20.06 kB / 0.7726 GB, free: 7.691 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.01167/0.7844, allocations: 6.827 MB / 0.7793 GB, free: 2.223 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.7844, allocations: 38.84 kB / 0.7793 GB, free: 2.188 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007742/0.7922, allocations: 4.476 MB / 0.7837 GB, free: 13.76 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04592/0.8381, allocations: 6.513 MB / 0.7901 GB, free: 7.559 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006504/0.8446, allocations: 2.126 MB / 0.7921 GB, free: 5.566 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006863/0.8514, allocations: 7.706 MB / 0.7997 GB, free: 13.61 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005103/0.8565, allocations: 0.8452 MB / 0.8005 GB, free: 12.76 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.8576, allocations: 0.4996 MB / 0.801 GB, free: 12.26 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.004685/0.8622, allocations: 1.337 MB / 0.8023 GB, free: 10.94 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004094/0.8663, allocations: 5.38 MB / 0.8075 GB, free: 4.086 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00764/0.874, allocations: 7.352 MB / 0.8147 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.014e-05/0.874, allocations: 24 kB / 0.8147 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.01175/0.8858, allocations: 6.763 MB / 0.8213 GB, free: 5.188 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.8858, allocations: 36 kB / 0.8214 GB, free: 5.152 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007393/0.8932, allocations: 4.403 MB / 0.8257 GB, free: 0.6875 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04563/0.9388, allocations: 6.311 MB / 0.8318 GB, free: 10.6 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005862/0.9447, allocations: 2.118 MB / 0.8339 GB, free: 8.48 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006016/0.9507, allocations: 7.698 MB / 0.8414 GB, free: 484 kB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004466/0.9552, allocations: 0.7106 MB / 0.8421 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007746/0.956, allocations: 0.4957 MB / 0.8426 GB, free: 15.26 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.002017/0.958, allocations: 0.7895 MB / 0.8434 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002066/0.96, allocations: 0.7645 MB / 0.8441 GB, free: 13.7 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.01018/0.9702, allocations: 8.742 MB / 0.8527 GB, free: 5.289 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.922978200018406]