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.01021/0.01021, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001401/0.001401, allocations: 108.2 kB / 24.19 MB, free: 2.688 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.001881/0.001881, allocations: 210.7 kB / 27.92 MB, free: 4.027 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.497/1.497, allocations: 230.6 MB / 262.1 MB, free: 6.004 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.091/1.091, allocations: 130.7 MB / 449.7 MB, free: 6.902 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.03647/0.03647, allocations: 20.79 MB / 0.6357 GB, free: 5.195 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2604, allocations: 81.91 MB / 0.7157 GB, free: 3.199 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.6091/0.8696, allocations: 60.52 MB / 0.7748 GB, free: 9.844 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04896/0.9185, allocations: 27.04 MB / 0.8012 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00961/0.9281, allocations: 146.1 kB / 0.8014 GB, free: 6.375 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.00985/0.938, allocations: 2.906 MB / 0.8042 GB, free: 4.34 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01556/0.9535, allocations: 3.996 MB / 0.8081 GB, free: 1.078 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01474/0.9683, allocations: 5.246 MB / 0.8132 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0235/0.9918, allocations: 12.01 MB / 0.825 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007043/0.9988, allocations: 3.089 MB / 0.828 GB, free: 204 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/1.012, allocations: 4.738 MB / 0.8326 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01164/1.023, allocations: 4.804 MB / 0.8373 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.005473/1.029, allocations: 0.8711 MB / 0.8382 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/1.039, allocations: 2.849 MB / 0.8409 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005614/1.045, allocations: 2.55 MB / 0.8434 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01126/1.056, allocations: 4.327 MB / 0.8477 GB, free: 12.01 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.03052/1.087, allocations: 13.78 MB / 0.8611 GB, free: 14.18 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/1.087, allocations: 6.688 kB / 0.8611 GB, free: 14.18 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.823e-06/1.087, allocations: 0 / 0.8611 GB, free: 14.18 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0005266/1.087, allocations: 0 / 0.8611 GB, free: 14.18 MB / 0.6388 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.02925/1.117, allocations: 8.27 MB / 0.8692 GB, free: 5.852 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/1.117, allocations: 16.78 kB / 0.8692 GB, free: 5.84 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002945/1.12, allocations: 0.7309 MB / 0.8699 GB, free: 5.098 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003906/1.123, allocations: 0.995 MB / 0.8709 GB, free: 4.098 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01724/1.141, allocations: 6.265 MB / 0.877 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/1.141, allocations: 290.2 kB / 0.8773 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0018/1.143, allocations: 380 kB / 0.8777 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/1.172, allocations: 10.84 MB / 0.8882 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/1.172, allocations: 50.22 kB / 0.8883 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006659/1.173, allocations: 192 kB / 0.8885 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005928/1.173, allocations: 465.8 kB / 0.8889 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02565/1.199, allocations: 8.066 MB / 0.8968 GB, free: 8.461 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.06797/1.267, allocations: 45.39 MB / 0.9411 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01976/1.287, allocations: 6.587 MB / 0.9475 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005934/1.292, allocations: 2.315 MB / 0.9498 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/1.294, allocations: 283.3 kB / 0.9501 GB, free: 424 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/1.294, allocations: 106.5 kB / 0.9502 GB, free: 312 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=844): time 7.203e-06/1.294, allocations: 2.656 kB / 0.9502 GB, free: 312 kB / 0.7169 GB Notification: Performance of matching and sorting (n=844): time 0.04858/1.342, allocations: 13.61 MB / 0.9635 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007751/1.343, allocations: 1.088 MB / 0.9645 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/1.354, allocations: 5.298 MB / 0.9697 GB, free: 12.01 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.001632/1.356, allocations: 81.7 kB / 0.9698 GB, free: 11.93 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.00283/1.358, allocations: 2.712 MB / 0.9724 GB, free: 9.195 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.005032/1.363, allocations: 2.857 MB / 0.9752 GB, free: 6.312 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003984/1.367, allocations: 1.742 MB / 0.9769 GB, free: 4.559 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.368, allocations: 305.1 kB / 0.9772 GB, free: 4.258 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007247/1.375, allocations: 3.316 MB / 0.9805 GB, free: 0.9258 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/1.386, allocations: 5.794 MB / 0.9861 GB, free: 10.07 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1461/1.532, allocations: 23.35 MB / 1.009 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.599e-05/1.532, allocations: 24 kB / 1.009 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03172/1.564, allocations: 11.23 MB / 1.02 GB, free: 6.504 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.877e-05/1.564, allocations: 43.94 kB / 1.02 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02418/1.588, allocations: 8.655 MB / 1.028 GB, free: 13.71 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07438/1.662, allocations: 6.114 MB / 1.034 GB, free: 7.582 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007703/1.67, allocations: 2.125 MB / 1.036 GB, free: 5.453 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/1.681, allocations: 7.768 MB / 1.044 GB, free: 13.34 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006542/1.688, allocations: 0.8995 MB / 1.045 GB, free: 12.44 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/1.689, allocations: 0.5699 MB / 1.045 GB, free: 11.87 MB / 0.8263 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.01157/1.701, allocations: 4.826 MB / 1.05 GB, free: 7.035 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01074/1.712, allocations: 5.753 MB / 1.056 GB, free: 164 kB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5062/2.218, allocations: 22.91 MB / 1.078 GB, free: 354.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001741/2.218, allocations: 21.28 kB / 1.078 GB, free: 354.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.03242/2.251, allocations: 11.05 MB / 1.089 GB, free: 351.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/2.251, allocations: 35.69 kB / 1.089 GB, free: 351.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01956/2.27, allocations: 8.47 MB / 1.097 GB, free: 348.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006457/2.277, allocations: 1.344 MB / 1.099 GB, free: 348.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007105/2.284, allocations: 2.158 MB / 1.101 GB, free: 347.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008382/2.292, allocations: 9.003 MB / 1.11 GB, free: 340.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006926/2.299, allocations: 0.7237 MB / 1.11 GB, free: 340.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/2.301, allocations: 0.5655 MB / 1.111 GB, free: 340.3 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.002543/2.303, allocations: 0.7071 MB / 1.111 GB, free: 339.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002736/2.306, allocations: 0.7019 MB / 1.112 GB, free: 339.6 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.01738/2.324, allocations: 10.18 MB / 1.122 GB, free: 333.8 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.425395538000885] Failed to read output from testmodel.py, exit status != 0: 2.5037631089981005 2.51380205 1.424395192 Calling exit ...