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.01915/0.01915, allocations: 1.45 MB / 20.8 MB, free: 3.734 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.001415/0.001415, allocations: 91.5 kB / 24.45 MB, free: 88 kB / 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.001537/0.001537, allocations: 155 kB / 28.2 MB, free: 4.875 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.414/1.414, allocations: 177.1 MB / 209 MB, free: 2.816 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.072/1.072, allocations: 102.5 MB / 368.4 MB, free: 1.25 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 0.5.2 (/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 8.82e-07/8.82e-07, allocations: 0 / 468.3 MB, free: 13.53 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.614e-05, allocations: 2.312 kB / 468.3 MB, free: 13.53 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.4069/0.4069, allocations: 70.65 MB / 0.5263 GB, free: 71.1 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03673/0.4436, allocations: 25.74 MB / 0.5515 GB, free: 54.21 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006161/0.4498, allocations: 146.9 kB / 0.5516 GB, free: 54.14 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.008053/0.4578, allocations: 2.814 MB / 0.5544 GB, free: 52.82 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.4695, allocations: 4.097 MB / 0.5584 GB, free: 50.19 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01253/0.482, allocations: 5.33 MB / 0.5636 GB, free: 47.11 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02155/0.5036, allocations: 12.32 MB / 0.5756 GB, free: 40.73 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006284/0.5099, allocations: 3.461 MB / 0.579 GB, free: 38.05 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/0.5241, allocations: 6.615 MB / 0.5854 GB, free: 33.79 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007522/0.5317, allocations: 4.054 MB / 0.5894 GB, free: 30.27 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003119/0.5348, allocations: 0.8828 MB / 0.5903 GB, free: 29.38 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06952/0.6043, allocations: 13.22 MB / 0.6032 GB, free: 18.04 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004057/0.6084, allocations: 2.628 MB / 0.6057 GB, free: 15.4 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007765/0.6161, allocations: 2.703 MB / 0.6084 GB, free: 12.69 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01961/0.6357, allocations: 13.75 MB / 0.6218 GB, free: 14.9 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.6357, allocations: 0 / 0.6218 GB, free: 14.9 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6357, allocations: 0 / 0.6218 GB, free: 14.9 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0003985/0.6361, allocations: 0 / 0.6218 GB, free: 14.9 MB / 0.4949 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.02354/0.6597, allocations: 8.189 MB / 0.6298 GB, free: 6.66 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.6597, allocations: 8.031 kB / 0.6298 GB, free: 6.652 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/0.6638, allocations: 1.291 MB / 0.6311 GB, free: 5.359 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/0.6785, allocations: 6.58 MB / 0.6375 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/0.6788, allocations: 295.5 kB / 0.6378 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001444/0.6803, allocations: 395.9 kB / 0.6382 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0306/0.7109, allocations: 11.88 MB / 0.6498 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002593/0.7112, allocations: 51.5 kB / 0.6498 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0017/0.7129, allocations: 192 kB / 0.65 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007194/0.7136, allocations: 465.8 kB / 0.6504 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/0.7388, allocations: 8.093 MB / 0.6583 GB, free: 7.965 MB / 0.5262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06539/0.8042, allocations: 42.47 MB / 0.6998 GB, free: 12.26 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02111/0.8253, allocations: 6.639 MB / 0.7063 GB, free: 5.438 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005954/0.8312, allocations: 2.336 MB / 0.7086 GB, free: 3.027 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/0.8325, allocations: 265.7 kB / 0.7088 GB, free: 2.766 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.8326, allocations: 103.9 kB / 0.7089 GB, free: 2.656 MB / 0.573 GB Notification: Performance of pre-optimization done (n=844): time 8.165e-06/0.8327, allocations: 0 / 0.7089 GB, free: 2.656 MB / 0.573 GB Notification: Performance of matching and sorting (n=844): time 0.05267/0.8853, allocations: 14.21 MB / 0.7228 GB, free: 4.395 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008084/0.8861, allocations: 1.085 MB / 0.7239 GB, free: 3.059 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/0.8981, allocations: 5.023 MB / 0.7288 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001318/0.8994, allocations: 77.7 kB / 0.7289 GB, free: 13.98 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.003376/0.9028, allocations: 2.741 MB / 0.7315 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004686/0.9074, allocations: 2.822 MB / 0.7343 GB, free: 8.371 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006291/0.9137, allocations: 1.723 MB / 0.736 GB, free: 6.633 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.9139, allocations: 301.1 kB / 0.7363 GB, free: 6.336 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008939/0.9228, allocations: 3.342 MB / 0.7395 GB, free: 2.977 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2103/1.133, allocations: 6.224 MB / 0.7456 GB, free: 186.6 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1452/1.278, allocations: 23.54 MB / 0.7686 GB, free: 179.1 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-05/1.278, allocations: 21.69 kB / 0.7686 GB, free: 179.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.02893/1.307, allocations: 11.5 MB / 0.7798 GB, free: 174.6 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/1.307, allocations: 38.44 kB / 0.7799 GB, free: 174.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01878/1.326, allocations: 8.726 MB / 0.7884 GB, free: 171.2 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07765/1.404, allocations: 7.144 MB / 0.7954 GB, free: 167.6 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006771/1.411, allocations: 2.129 MB / 0.7975 GB, free: 165.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008018/1.419, allocations: 7.769 MB / 0.805 GB, free: 157.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005515/1.424, allocations: 0.8569 MB / 0.8059 GB, free: 157 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008969/1.425, allocations: 0.5665 MB / 0.8064 GB, free: 156.5 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[1] 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[1] 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.00734/1.432, allocations: 4.845 MB / 0.8112 GB, free: 151.6 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005566/1.438, allocations: 6.179 MB / 0.8172 GB, free: 144.2 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1285/1.566, allocations: 23.09 MB / 0.8398 GB, free: 120 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.172e-05/1.566, allocations: 24 kB / 0.8398 GB, free: 120 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.02468/1.591, allocations: 11.37 MB / 0.8509 GB, free: 108.7 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/1.591, allocations: 36 kB / 0.8509 GB, free: 108.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01723/1.608, allocations: 8.568 MB / 0.8593 GB, free: 100 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07222/1.681, allocations: 6.863 MB / 0.866 GB, free: 93.17 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007149/1.688, allocations: 2.125 MB / 0.8681 GB, free: 91.04 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008062/1.696, allocations: 7.739 MB / 0.8756 GB, free: 83.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006889/1.703, allocations: 0.7281 MB / 0.8763 GB, free: 82.44 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001778/1.704, allocations: 0.5621 MB / 0.8769 GB, free: 81.88 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[1] 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[1] 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.003501/1.708, allocations: 0.703 MB / 0.8776 GB, free: 81.23 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003141/1.711, allocations: 0.7686 MB / 0.8783 GB, free: 80.45 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.01664/1.728, allocations: 10.27 MB / 0.8883 GB, free: 70.72 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.562374335946515]