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.01558/0.01558, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.00207/0.00207, allocations: 79.25 kB / 24.02 MB, free: 2.586 MB / 14.72 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.002594/0.002594, allocations: 154.5 kB / 27.71 MB, free: 3.844 MB / 19.63 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.548/1.548, allocations: 177.1 MB / 208.4 MB, free: 7.672 MB / 190.1 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.103/1.103, allocations: 102.5 MB / 367.8 MB, free: 4.582 MB / 334.1 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.3.1 (/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.314e-06/2.314e-06, allocations: 0 / 0.5365 GB, free: 7.078 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.902e-05/4.134e-05, allocations: 2.281 kB / 0.5365 GB, free: 7.074 MB / 446.1 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.2064/0.2064, allocations: 70.47 MB / 0.6053 GB, free: 3.113 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.05325/0.2597, allocations: 25.73 MB / 0.6304 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007758/0.2674, allocations: 146.9 kB / 0.6306 GB, free: 9.164 MB / 0.5294 GB [/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.009657/0.2771, allocations: 2.816 MB / 0.6333 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01505/0.2921, allocations: 4.107 MB / 0.6373 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01622/0.3084, allocations: 5.341 MB / 0.6425 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02409/0.3325, allocations: 12.31 MB / 0.6546 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00957/0.342, allocations: 3.322 MB / 0.6578 GB, free: 13.11 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01871/0.3607, allocations: 6.599 MB / 0.6642 GB, free: 6.492 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.3712, allocations: 4.024 MB / 0.6682 GB, free: 2.457 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.003452/0.3746, allocations: 0.8711 MB / 0.669 GB, free: 1.586 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008991/0.3836, allocations: 2.238 MB / 0.6712 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.005487/0.3891, allocations: 2.613 MB / 0.6738 GB, free: 12.72 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.008737/0.3978, allocations: 2.685 MB / 0.6764 GB, free: 10.03 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.4041/0.8019, allocations: 13.66 MB / 0.6897 GB, free: 49.51 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.8019, allocations: 0 / 0.6897 GB, free: 49.51 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8019, allocations: 0 / 0.6897 GB, free: 49.51 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0004789/0.8024, allocations: 0.8125 kB / 0.6897 GB, free: 49.51 MB / 0.5763 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.02674/0.8292, allocations: 8.18 MB / 0.6977 GB, free: 46.19 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.8292, allocations: 9.438 kB / 0.6977 GB, free: 46.19 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/0.8347, allocations: 0.9992 MB / 0.6987 GB, free: 45.71 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/0.8513, allocations: 6.247 MB / 0.7048 GB, free: 44.54 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003847/0.8517, allocations: 295.6 kB / 0.7051 GB, free: 44.54 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001719/0.8534, allocations: 383.8 kB / 0.7054 GB, free: 44.53 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02752/0.8809, allocations: 11.85 MB / 0.717 GB, free: 40.25 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.8811, allocations: 56.47 kB / 0.7171 GB, free: 40.25 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005973/0.8817, allocations: 186.7 kB / 0.7172 GB, free: 40.25 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004663/0.8821, allocations: 468.9 kB / 0.7177 GB, free: 40.24 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02175/0.9039, allocations: 8.049 MB / 0.7256 GB, free: 40.2 MB / 0.5763 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.05293/0.9568, allocations: 42.15 MB / 0.7667 GB, free: 3.422 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02018/0.977, allocations: 6.568 MB / 0.7731 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006566/0.9836, allocations: 2.316 MB / 0.7754 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/0.9848, allocations: 259.9 kB / 0.7756 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.985, allocations: 103.3 kB / 0.7757 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=844): time 7.685e-06/0.985, allocations: 0 / 0.7757 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=844): time 0.0552/1.04, allocations: 13.59 MB / 0.789 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008261/1.041, allocations: 1.084 MB / 0.7901 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/1.052, allocations: 5.013 MB / 0.795 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002059/1.054, allocations: 77.7 kB / 0.795 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002884/1.056, allocations: 2.739 MB / 0.7977 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.004858/1.061, allocations: 2.827 MB / 0.8005 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003885/1.065, allocations: 1.72 MB / 0.8022 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002153/1.065, allocations: 303.8 kB / 0.8024 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007079/1.073, allocations: 3.316 MB / 0.8057 GB, free: 14.68 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009995/1.083, allocations: 6.206 MB / 0.8117 GB, free: 7.293 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1526/1.235, allocations: 23.35 MB / 0.8345 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.802e-05/1.235, allocations: 24 kB / 0.8346 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03525/1.27, allocations: 11.22 MB / 0.8455 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/1.271, allocations: 36 kB / 0.8456 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0264/1.297, allocations: 8.664 MB / 0.854 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07302/1.37, allocations: 6.116 MB / 0.86 GB, free: 6.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008665/1.379, allocations: 2.127 MB / 0.8621 GB, free: 4.344 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/1.391, allocations: 7.687 MB / 0.8696 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007652/1.398, allocations: 0.8531 MB / 0.8704 GB, free: 11.55 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/1.4, allocations: 0.572 MB / 0.871 GB, free: 10.98 MB / 0.6857 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.01188/1.412, allocations: 4.831 MB / 0.8757 GB, free: 6.145 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0126/1.425, allocations: 6.16 MB / 0.8817 GB, free: 14.8 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1462/1.571, allocations: 22.92 MB / 0.9041 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.672e-05/1.571, allocations: 23.94 kB / 0.9041 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.03345/1.604, allocations: 11.01 MB / 0.9149 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.006e-05/1.604, allocations: 44.95 kB / 0.9149 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02557/1.63, allocations: 8.465 MB / 0.9232 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007456/1.637, allocations: 1.341 MB / 0.9245 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008975/1.646, allocations: 2.16 MB / 0.9266 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.659, allocations: 8.863 MB / 0.9353 GB, free: 6.875 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008893/1.668, allocations: 0.7313 MB / 0.936 GB, free: 6.141 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002433/1.67, allocations: 0.5621 MB / 0.9365 GB, free: 5.578 MB / 0.7482 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.003717/1.674, allocations: 0.7122 MB / 0.9372 GB, free: 4.859 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003966/1.678, allocations: 0.6671 MB / 0.9379 GB, free: 4.188 MB / 0.7482 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.02321/1.701, allocations: 10.25 MB / 0.9479 GB, free: 10.12 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.207870479673147] Failed to read output from testmodel.py, exit status != 0: 2.239410724490881 2.250917627 1.445731145 Calling exit ...