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.01004/0.01004, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001376/0.001376, allocations: 102.5 kB / 24.97 MB, free: 2.188 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.001657/0.001657, allocations: 207.2 kB / 28.71 MB, free: 3.461 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.407/1.407, allocations: 230.6 MB / 262.9 MB, free: 6.035 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.049/1.049, allocations: 130.7 MB / 450.4 MB, free: 6.574 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="cs",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="cs",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.031/0.031, allocations: 20.6 MB / 0.6363 GB, free: 5.34 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1994, allocations: 81.91 MB / 0.7163 GB, free: 3.332 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.5496/0.749, allocations: 60.53 MB / 0.7754 GB, free: 9.879 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0467/0.7957, allocations: 27.03 MB / 0.8018 GB, free: 6.484 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0101/0.8058, allocations: 147.1 kB / 0.802 GB, free: 6.418 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.009659/0.8155, allocations: 2.905 MB / 0.8048 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01519/0.8307, allocations: 3.994 MB / 0.8087 GB, free: 1.121 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.8456, allocations: 5.251 MB / 0.8138 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02199/0.8676, allocations: 12.01 MB / 0.8256 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006448/0.8741, allocations: 3.093 MB / 0.8286 GB, free: 340 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01104/0.8851, allocations: 4.738 MB / 0.8332 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.8957, allocations: 4.799 MB / 0.8379 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003362/0.8991, allocations: 0.875 MB / 0.8388 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009065/0.9081, allocations: 2.848 MB / 0.8415 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00483/0.913, allocations: 2.546 MB / 0.844 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009417/0.9224, allocations: 4.335 MB / 0.8483 GB, free: 12.14 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02406/0.9464, allocations: 13.78 MB / 0.8617 GB, free: 14.32 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.9464, allocations: 0 / 0.8617 GB, free: 14.32 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9464, allocations: 0 / 0.8617 GB, free: 14.32 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0004718/0.9469, allocations: 0 / 0.8617 GB, free: 14.32 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.02408/0.971, allocations: 8.275 MB / 0.8698 GB, free: 5.988 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.971, allocations: 8.031 kB / 0.8698 GB, free: 5.98 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001558/0.9712, allocations: 119.8 kB / 0.8699 GB, free: 5.863 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00151/0.9727, allocations: 0.7374 MB / 0.8706 GB, free: 5.117 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/0.976, allocations: 0.9976 MB / 0.8716 GB, free: 4.117 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01448/0.9905, allocations: 6.259 MB / 0.8777 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003476/0.9908, allocations: 299.5 kB / 0.878 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/0.9923, allocations: 382.6 kB / 0.8784 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02751/1.02, allocations: 10.83 MB / 0.8889 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/1.02, allocations: 47.56 kB / 0.889 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006545/1.021, allocations: 196 kB / 0.8892 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005308/1.021, allocations: 468.4 kB / 0.8896 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02394/1.045, allocations: 8.064 MB / 0.8975 GB, free: 8.469 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.06311/1.108, allocations: 45.39 MB / 0.9418 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02077/1.129, allocations: 6.581 MB / 0.9483 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005932/1.135, allocations: 2.32 MB / 0.9505 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/1.136, allocations: 288.2 kB / 0.9508 GB, free: 436 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/1.136, allocations: 98.59 kB / 0.9509 GB, free: 332 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=844): time 5.861e-06/1.136, allocations: 0 / 0.9509 GB, free: 332 kB / 0.7169 GB Notification: Performance of matching and sorting (n=844): time 0.05073/1.187, allocations: 13.62 MB / 0.9642 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007193/1.188, allocations: 1.085 MB / 0.9652 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01393/1.201, allocations: 5.294 MB / 0.9704 GB, free: 12.03 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.002318/1.204, allocations: 84.36 kB / 0.9705 GB, free: 11.95 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.004358/1.208, allocations: 2.704 MB / 0.9731 GB, free: 9.223 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.005574/1.214, allocations: 2.865 MB / 0.9759 GB, free: 6.332 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00545/1.219, allocations: 1.743 MB / 0.9776 GB, free: 4.574 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.219, allocations: 309 kB / 0.9779 GB, free: 4.27 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007565/1.227, allocations: 3.315 MB / 0.9812 GB, free: 0.9375 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01099/1.238, allocations: 5.798 MB / 0.9868 GB, free: 10.08 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1474/1.385, allocations: 23.35 MB / 1.01 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/1.385, allocations: 20 kB / 1.01 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.03726/1.423, allocations: 11.24 MB / 1.021 GB, free: 6.516 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/1.423, allocations: 41.66 kB / 1.021 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02982/1.453, allocations: 8.657 MB / 1.029 GB, free: 13.73 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07311/1.526, allocations: 6.111 MB / 1.035 GB, free: 7.594 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00844/1.534, allocations: 2.125 MB / 1.037 GB, free: 5.465 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/1.546, allocations: 7.776 MB / 1.045 GB, free: 13.35 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007674/1.554, allocations: 0.8957 MB / 1.046 GB, free: 12.45 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002316/1.556, allocations: 0.5699 MB / 1.046 GB, free: 11.88 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.01405/1.57, allocations: 4.823 MB / 1.051 GB, free: 7.055 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01127/1.581, allocations: 5.758 MB / 1.057 GB, free: 176 kB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5487/2.13, allocations: 22.91 MB / 1.079 GB, free: 353.8 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001313/2.13, allocations: 21.69 kB / 1.079 GB, free: 353.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1162) (initialization_lambda0): time 0.03745/2.168, allocations: 11.05 MB / 1.09 GB, free: 350.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/2.168, allocations: 35.47 kB / 1.09 GB, free: 350.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02113/2.189, allocations: 8.468 MB / 1.098 GB, free: 347.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006339/2.195, allocations: 1.339 MB / 1.099 GB, free: 347.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007198/2.202, allocations: 2.16 MB / 1.101 GB, free: 347.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008585/2.211, allocations: 9.004 MB / 1.11 GB, free: 339.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006752/2.218, allocations: 0.7253 MB / 1.111 GB, free: 339.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001722/2.219, allocations: 0.5632 MB / 1.111 GB, free: 339.5 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.002781/2.222, allocations: 0.7026 MB / 1.112 GB, free: 339 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003165/2.225, allocations: 0.701 MB / 1.113 GB, free: 338.7 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.01808/2.244, allocations: 10.17 MB / 1.123 GB, free: 333.7 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.073901811963879] Failed to read output from testmodel.py, exit status != 0: 2.4201017790473998 2.433390628 1.481813606 Calling exit ...