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.01368/0.01368, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001578/0.001578, allocations: 107.3 kB / 24.18 MB, free: 2.184 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.002045/0.002045, allocations: 217.9 kB / 27.9 MB, free: 3.504 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.493/1.493, allocations: 230.6 MB / 262.1 MB, free: 5.863 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.054/1.054, allocations: 130.7 MB / 449.6 MB, free: 6.441 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.06477/0.06477, allocations: 20.99 MB / 0.6358 GB, free: 4.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.2439, allocations: 81.9 MB / 0.7158 GB, free: 2.723 MB / 0.5294 GB 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.5569/0.8008, allocations: 56.79 MB / 0.7713 GB, free: 13.27 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04422/0.845, allocations: 26.09 MB / 0.7968 GB, free: 10.86 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008859/0.8539, allocations: 150.2 kB / 0.7969 GB, free: 10.79 MB / 0.5763 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.009298/0.8632, allocations: 2.8 MB / 0.7996 GB, free: 8.848 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01531/0.8785, allocations: 3.981 MB / 0.8035 GB, free: 5.605 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01433/0.8928, allocations: 5.271 MB / 0.8087 GB, free: 1.52 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02169/0.9145, allocations: 12 MB / 0.8204 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007846/0.9224, allocations: 3.307 MB / 0.8236 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/0.9337, allocations: 4.757 MB / 0.8283 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.9438, allocations: 4.556 MB / 0.8327 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003685/0.9475, allocations: 0.875 MB / 0.8336 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008979/0.9564, allocations: 2.207 MB / 0.8357 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005235/0.9617, allocations: 2.557 MB / 0.8382 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00914/0.9708, allocations: 3.262 MB / 0.8414 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0263/0.9971, allocations: 13.7 MB / 0.8548 GB, free: 4.121 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.9971, allocations: 4 kB / 0.8548 GB, free: 4.117 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9971, allocations: 0 / 0.8548 GB, free: 4.117 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004826/0.9976, allocations: 2.656 kB / 0.8548 GB, free: 4.117 MB / 0.6232 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.02666/1.024, allocations: 8.266 MB / 0.8629 GB, free: 11.79 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.285e-05/1.024, allocations: 12.02 kB / 0.8629 GB, free: 11.78 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002912/1.027, allocations: 0.7347 MB / 0.8636 GB, free: 11.04 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004892/1.032, allocations: 0.9976 MB / 0.8646 GB, free: 10.04 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/1.049, allocations: 6.261 MB / 0.8707 GB, free: 3.703 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004719/1.049, allocations: 303.5 kB / 0.871 GB, free: 3.406 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/1.051, allocations: 375.9 kB / 0.8713 GB, free: 3.039 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/1.084, allocations: 11.84 MB / 0.8829 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002985/1.085, allocations: 47.56 kB / 0.883 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002086/1.087, allocations: 197.3 kB / 0.8831 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000842/1.087, allocations: 461.8 kB / 0.8836 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02635/1.114, allocations: 8.058 MB / 0.8915 GB, free: 13.05 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.09221/1.206, allocations: 43.04 MB / 0.9335 GB, free: 0.7656 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03169/1.238, allocations: 6.555 MB / 0.9399 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008394/1.246, allocations: 2.319 MB / 0.9421 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/1.248, allocations: 256.4 kB / 0.9424 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/1.248, allocations: 97.2 kB / 0.9425 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=844): time 1.218e-05/1.248, allocations: 0 / 0.9425 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=844): time 0.06888/1.317, allocations: 13.62 MB / 0.9558 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000704/1.317, allocations: 1.086 MB / 0.9568 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/1.328, allocations: 5.407 MB / 0.9621 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001437/1.33, allocations: 77.7 kB / 0.9622 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002972/1.333, allocations: 2.704 MB / 0.9648 GB, free: 76 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004446/1.337, allocations: 2.865 MB / 0.9676 GB, free: 13.18 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006489/1.344, allocations: 1.746 MB / 0.9693 GB, free: 11.43 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.344, allocations: 309 kB / 0.9696 GB, free: 11.12 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008155/1.352, allocations: 3.309 MB / 0.9729 GB, free: 7.793 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01146/1.364, allocations: 6.201 MB / 0.9789 GB, free: 380 kB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1417/1.505, allocations: 23.36 MB / 1.002 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.544e-05/1.505, allocations: 24 kB / 1.002 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03471/1.54, allocations: 11.24 MB / 1.013 GB, free: 13.12 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.575e-05/1.54, allocations: 40 kB / 1.013 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02685/1.567, allocations: 8.656 MB / 1.021 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06812/1.635, allocations: 6.112 MB / 1.027 GB, free: 14.21 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007801/1.643, allocations: 2.129 MB / 1.029 GB, free: 12.07 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/1.654, allocations: 7.735 MB / 1.037 GB, free: 3.996 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007349/1.661, allocations: 0.8994 MB / 1.038 GB, free: 3.09 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002175/1.664, allocations: 0.5687 MB / 1.038 GB, free: 2.523 MB / 0.8107 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.01372/1.677, allocations: 4.811 MB / 1.043 GB, free: 13.7 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01176/1.689, allocations: 6.156 MB / 1.049 GB, free: 6.324 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4677/2.157, allocations: 22.93 MB / 1.071 GB, free: 358.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.552e-05/2.157, allocations: 24.89 kB / 1.071 GB, free: 358.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.03062/2.187, allocations: 11.05 MB / 1.082 GB, free: 356.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.52e-05/2.188, allocations: 37.41 kB / 1.082 GB, free: 356.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02335/2.211, allocations: 8.473 MB / 1.09 GB, free: 353.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006288/2.217, allocations: 1.337 MB / 1.092 GB, free: 353.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007195/2.224, allocations: 2.151 MB / 1.094 GB, free: 353.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008335/2.233, allocations: 8.969 MB / 1.103 GB, free: 345.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00685/2.24, allocations: 0.7238 MB / 1.103 GB, free: 345.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001908/2.241, allocations: 0.5616 MB / 1.104 GB, free: 345.6 MB / 0.8419 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.002794/2.244, allocations: 0.714 MB / 1.105 GB, free: 345 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003251/2.248, allocations: 0.6969 MB / 1.105 GB, free: 344.8 MB / 0.8419 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.02017/2.268, allocations: 10.28 MB / 1.115 GB, free: 339.9 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.231123836245388] Failed to read output from testmodel.py, exit status != 0: 2.4355879542417824 2.447004889 1.446965206 Calling exit ...