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.01698/0.01698, allocations: 1.765 MB / 18.12 MB, free: 4.906 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.001485/0.001485, allocations: 99.72 kB / 21.35 MB, free: 1.699 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.00157/0.00157, allocations: 213.1 kB / 24.75 MB, free: 3.719 MB / 14.72 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.614/1.614, allocations: 230.6 MB / 258.5 MB, free: 13.12 MB / 206.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.145/1.145, allocations: 130.6 MB / 445.6 MB, free: 14.65 MB / 350.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: "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_PlateHEXvle2vle_L3_2ph_ntu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_PlateHEXvle2vle_L3_2ph_ntu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: ClaRa 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 uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.4474/0.4474, allocations: 46.15 MB / 0.6545 GB, free: 30.22 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.6619, allocations: 89.05 MB / 0.7414 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.HeatExchangers.Check.Test_PlateHEXvle2vle_L3_2ph_ntu): time 0.03331/0.6952, allocations: 27.55 MB / 0.7684 GB, free: 7.027 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.06187/0.757, allocations: 26.68 MB / 0.7944 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008268/0.7653, allocations: 146.9 kB / 0.7945 GB, free: 12.12 MB / 0.6075 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.009821/0.7751, allocations: 2.898 MB / 0.7974 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01433/0.7895, allocations: 3.928 MB / 0.8012 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0144/0.8039, allocations: 5.179 MB / 0.8063 GB, free: 76 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02169/0.8255, allocations: 12.02 MB / 0.818 GB, free: 4.023 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007701/0.8332, allocations: 3.163 MB / 0.8211 GB, free: 0.793 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01171/0.845, allocations: 4.742 MB / 0.8257 GB, free: 12.04 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.8557, allocations: 4.783 MB / 0.8304 GB, free: 7.234 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003754/0.8594, allocations: 0.875 MB / 0.8313 GB, free: 6.359 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009417/0.8688, allocations: 2.71 MB / 0.8339 GB, free: 3.648 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.005659/0.8745, allocations: 2.554 MB / 0.8364 GB, free: 1.086 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01067/0.8852, allocations: 4.327 MB / 0.8406 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02657/0.9117, allocations: 13.75 MB / 0.854 GB, free: 14.95 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.9118, allocations: 0 / 0.854 GB, free: 14.95 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9118, allocations: 0 / 0.854 GB, free: 14.95 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000483/0.9122, allocations: 0 / 0.854 GB, free: 14.95 MB / 0.67 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.02739/0.9396, allocations: 8.344 MB / 0.8622 GB, free: 6.496 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.9397, allocations: 16.02 kB / 0.8622 GB, free: 6.48 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003081/0.9428, allocations: 0.7309 MB / 0.8629 GB, free: 5.738 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005176/0.9479, allocations: 1.003 MB / 0.8639 GB, free: 4.73 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4924/1.44, allocations: 6.414 MB / 0.8702 GB, free: 109.4 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/1.441, allocations: 294.2 kB / 0.8704 GB, free: 109.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/1.442, allocations: 375.7 kB / 0.8708 GB, free: 109.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02454/1.467, allocations: 10.84 MB / 0.8814 GB, free: 104.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/1.467, allocations: 49.19 kB / 0.8814 GB, free: 104.2 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005266/1.467, allocations: 189.4 kB / 0.8816 GB, free: 104.1 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004893/1.468, allocations: 468.6 kB / 0.8821 GB, free: 104 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02291/1.491, allocations: 8.072 MB / 0.8899 GB, free: 101.4 MB / 0.67 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.0525/1.543, allocations: 45.49 MB / 0.9344 GB, free: 62.69 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02183/1.565, allocations: 6.818 MB / 0.941 GB, free: 58.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006608/1.571, allocations: 2.325 MB / 0.9433 GB, free: 57.34 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/1.573, allocations: 0.5746 MB / 0.9439 GB, free: 56.87 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/1.573, allocations: 98.2 kB / 0.944 GB, free: 56.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=844): time 1.043e-05/1.573, allocations: 0 / 0.944 GB, free: 56.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=844): time 0.04856/1.622, allocations: 13.93 MB / 0.9576 GB, free: 49.77 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003216/1.622, allocations: 1.083 MB / 0.9586 GB, free: 48.48 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01328/1.635, allocations: 5.295 MB / 0.9638 GB, free: 45.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001509/1.637, allocations: 78.36 kB / 0.9639 GB, free: 45.61 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00262/1.639, allocations: 2.72 MB / 0.9665 GB, free: 43.38 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003751/1.643, allocations: 2.859 MB / 0.9693 GB, free: 40.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006381/1.65, allocations: 1.739 MB / 0.971 GB, free: 39.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.964e-05/1.65, allocations: 301.1 kB / 0.9713 GB, free: 38.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006853/1.656, allocations: 3.314 MB / 0.9745 GB, free: 35.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008579/1.665, allocations: 5.795 MB / 0.9802 GB, free: 28.61 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1377/1.803, allocations: 23.35 MB / 1.003 GB, free: 5.027 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.754e-05/1.803, allocations: 24 kB / 1.003 GB, free: 5.004 MB / 0.67 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03538/1.838, allocations: 11.24 MB / 1.014 GB, free: 9.695 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/1.838, allocations: 40 kB / 1.014 GB, free: 9.656 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02817/1.867, allocations: 8.659 MB / 1.022 GB, free: 0.9219 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07367/1.94, allocations: 6.102 MB / 1.028 GB, free: 10.83 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008106/1.948, allocations: 2.133 MB / 1.031 GB, free: 8.691 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/1.961, allocations: 7.971 MB / 1.038 GB, free: 344 kB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007391/1.968, allocations: 0.9035 MB / 1.039 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002168/1.97, allocations: 0.5699 MB / 1.04 GB, free: 14.85 MB / 0.7169 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.01378/1.984, allocations: 4.809 MB / 1.044 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01144/1.995, allocations: 5.75 MB / 1.05 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1602/2.156, allocations: 22.92 MB / 1.072 GB, free: 11.12 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001016/2.156, allocations: 24 kB / 1.072 GB, free: 11.1 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.03743/2.193, allocations: 11.05 MB / 1.083 GB, free: 15.96 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/2.193, allocations: 39.94 kB / 1.083 GB, free: 15.92 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02801/2.221, allocations: 8.471 MB / 1.092 GB, free: 7.355 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007541/2.229, allocations: 1.339 MB / 1.093 GB, free: 6.004 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008726/2.238, allocations: 2.165 MB / 1.095 GB, free: 3.836 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/2.251, allocations: 9.417 MB / 1.104 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008069/2.259, allocations: 0.7256 MB / 1.105 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002489/2.262, allocations: 0.5659 MB / 1.105 GB, free: 8.516 MB / 0.7794 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.004277/2.266, allocations: 0.6982 MB / 1.106 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00479/2.271, allocations: 0.6982 MB / 1.107 GB, free: 7.113 MB / 0.7794 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.02814/2.299, allocations: 10.19 MB / 1.117 GB, free: 13.12 MB / 0.795 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.226229819993023] Failed to read output from testmodel.py, exit status != 0: 2.3098337940027704 2.330313475 1.411922728 Calling exit ...