Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA.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.01258/0.01258, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001272/0.001272, allocations: 105.9 kB / 24.19 MB, free: 2.652 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.001547/0.001547, allocations: 210.4 kB / 27.92 MB, free: 4 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.437/1.437, allocations: 230.6 MB / 262.1 MB, free: 6.219 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.059/1.059, allocations: 130.7 MB / 449.7 MB, free: 6.805 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_HEXvle2vle_L3_1ph_kA,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,fileNamePrefix="ClaRa_ClaRa_Components_HeatExchangers_Check_Test_HEXvle2vle_L3_1ph_kA",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.03142/0.03142, allocations: 20.78 MB / 0.6358 GB, free: 5.016 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1992, allocations: 81.9 MB / 0.7157 GB, free: 3.016 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_HEXvle2vle_L3_1ph_kA): time 0.5308/0.73, allocations: 59 MB / 0.7734 GB, free: 10.87 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03954/0.7695, allocations: 22.96 MB / 0.7958 GB, free: 10.45 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008726/0.7783, allocations: 142 kB / 0.7959 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008898/0.7872, allocations: 2.644 MB / 0.7985 GB, free: 8.863 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.014/0.8012, allocations: 3.683 MB / 0.8021 GB, free: 5.891 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01159/0.8128, allocations: 3.915 MB / 0.8059 GB, free: 2.918 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01897/0.8317, allocations: 9.911 MB / 0.8156 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006157/0.8379, allocations: 3.087 MB / 0.8186 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009083/0.847, allocations: 4.175 MB / 0.8227 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009072/0.856, allocations: 4.273 MB / 0.8269 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002839/0.8589, allocations: 0.668 MB / 0.8275 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008363/0.8672, allocations: 2.58 MB / 0.83 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003997/0.8712, allocations: 2.038 MB / 0.832 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007231/0.8785, allocations: 3.552 MB / 0.8355 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02036/0.8988, allocations: 10.64 MB / 0.8459 GB, free: 13.64 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.8988, allocations: 0 / 0.8459 GB, free: 13.64 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8988, allocations: 0 / 0.8459 GB, free: 13.64 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003787/0.8992, allocations: 0 / 0.8459 GB, free: 13.64 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: 1318 * Number of variables: 1318 Notification: Performance of Generate backend data structure: time 0.02003/0.9193, allocations: 7.375 MB / 0.8531 GB, free: 6.227 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.9193, allocations: 8.031 kB / 0.8531 GB, free: 6.219 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001243/0.9205, allocations: 0.6055 MB / 0.8537 GB, free: 5.602 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.9234, allocations: 0.8979 MB / 0.8546 GB, free: 4.699 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.9361, allocations: 5.386 MB / 0.8598 GB, free: 15.25 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.9364, allocations: 250.4 kB / 0.8601 GB, free: 15 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.9375, allocations: 312 kB / 0.8604 GB, free: 14.7 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/0.9589, allocations: 8.532 MB / 0.8687 GB, free: 5.242 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.582e-05/0.959, allocations: 39.62 kB / 0.8687 GB, free: 5.203 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004558/0.9595, allocations: 164 kB / 0.8689 GB, free: 5.043 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.9597, allocations: 203.1 kB / 0.8691 GB, free: 4.844 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01937/0.9791, allocations: 6.556 MB / 0.8755 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04916/1.028, allocations: 35.27 MB / 0.9099 GB, free: 9.91 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/1.045, allocations: 5.545 MB / 0.9153 GB, free: 4.227 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004859/1.05, allocations: 1.895 MB / 0.9172 GB, free: 2.277 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008164/1.051, allocations: 204.2 kB / 0.9174 GB, free: 2.078 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/1.051, allocations: 91.48 kB / 0.9175 GB, free: 1.984 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003919/1.055, allocations: 0.6315 MB / 0.9181 GB, free: 1.355 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 1.603e-05/1.055, allocations: 0 / 0.9181 GB, free: 1.355 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.0373/1.092, allocations: 10.99 MB / 0.9288 GB, free: 6.32 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006726/1.093, allocations: 1.034 MB / 0.9298 GB, free: 5.047 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01103/1.104, allocations: 4.864 MB / 0.9346 GB, free: 212 kB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001236/1.105, allocations: 69.7 kB / 0.9346 GB, free: 136 kB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002722/1.108, allocations: 2.444 MB / 0.937 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003307/1.111, allocations: 2.416 MB / 0.9394 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004504/1.115, allocations: 1.473 MB / 0.9408 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.116, allocations: 305.1 kB / 0.9411 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006533/1.122, allocations: 2.671 MB / 0.9437 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008931/1.131, allocations: 4.778 MB / 0.9484 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1282/1.259, allocations: 20.49 MB / 0.9684 GB, free: 11.96 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.121e-05/1.259, allocations: 16 kB / 0.9684 GB, free: 11.94 MB / 0.7482 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02233/1.282, allocations: 8.454 MB / 0.9767 GB, free: 3.426 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/1.282, allocations: 32 kB / 0.9767 GB, free: 3.395 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0159/1.298, allocations: 6.165 MB / 0.9827 GB, free: 13.16 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007211/1.298, allocations: 201.6 kB / 0.9829 GB, free: 12.96 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007176/1.306, allocations: 2.016 MB / 0.9849 GB, free: 10.94 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/1.309, allocations: 2.911 MB / 0.9877 GB, free: 7.809 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004753/1.314, allocations: 331.9 kB / 0.988 GB, free: 7.484 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/1.315, allocations: 491.6 kB / 0.9885 GB, free: 7.004 MB / 0.7638 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009812/1.325, allocations: 3.759 MB / 0.9922 GB, free: 3.242 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009164/1.334, allocations: 4.751 MB / 0.9968 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.126/1.46, allocations: 20.4 MB / 1.017 GB, free: 8.191 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.183e-05/1.46, allocations: 20 kB / 1.017 GB, free: 8.172 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02205/1.482, allocations: 8.372 MB / 1.025 GB, free: 15.73 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/1.482, allocations: 36.03 kB / 1.025 GB, free: 15.7 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01525/1.497, allocations: 6.078 MB / 1.031 GB, free: 9.547 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/1.498, allocations: 177.7 kB / 1.031 GB, free: 9.367 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007259/1.505, allocations: 2.008 MB / 1.033 GB, free: 7.355 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/1.508, allocations: 2.876 MB / 1.036 GB, free: 4.258 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00486/1.513, allocations: 320 kB / 1.036 GB, free: 3.945 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/1.515, allocations: 487.6 kB / 1.037 GB, free: 3.469 MB / 0.8107 GB Warning: Assuming fixed start value for the following 4 variables: hEXvle2vle_L3_1ph_BU_ntu.tubes.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.tubes.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.tubes.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.tubes.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.h:VARIABLE(start = hEXvle2vle_L3_1ph_BU_ntu.shell.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real hEXvle2vle_L3_1ph_BU_ntu.shell.p:VARIABLE(min = 0.0 start = hEXvle2vle_L3_1ph_BU_ntu.shell.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 286 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (991): * Single equations (assignments): 989 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002832/1.518, allocations: 0.6185 MB / 1.037 GB, free: 2.852 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002919/1.521, allocations: 0.6517 MB / 1.038 GB, free: 2.195 MB / 0.8107 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 1136 equation(s) and 1082 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (valve_shell1.fluidIn.q, valve_shell1.fluidIn.cp, valve_shell1.fluidIn.cv, valve_shell1.fluidIn.beta, valve_shell1.fluidIn.kappa, valve_shell1.fluidIn.drhodp_hxi, valve_shell1.fluidIn.drhodh_pxi, _, valve_shell1.fluidIn.w, valve_shell1.fluidIn.gamma) = ($cse432, $cse433, $cse434, $cse435, $cse436, $cse437, $cse438, $cse439, $cse440, $cse441) has size 9 but 8 variables ($cse189, $cse190, $cse191, $cse192, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.Pr, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.lambda, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.eta, hEXvle2vle_L3_1ph_BU_ntu.tubes.bulk.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02069/1.541, allocations: 9.126 MB / 1.047 GB, free: 9.238 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.575190134000877] Failed to read output from testmodel.py, exit status != 0: 1.9352419000024383 1.947580579 1.045986284 Calling exit ...