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.01059/0.01059, allocations: 1.748 MB / 21.38 MB, free: 480 kB / 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.001285/0.001285, allocations: 99.41 kB / 24.96 MB, free: 2.066 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.001619/0.001619, allocations: 212.5 kB / 28.68 MB, free: 3.348 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.48/1.48, allocations: 230.6 MB / 262.9 MB, free: 5.82 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.117/1.117, allocations: 130.7 MB / 450.4 MB, free: 6.434 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="cs",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="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.06378/0.06378, allocations: 20.6 MB / 0.6362 GB, free: 5.082 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.2382, allocations: 81.91 MB / 0.7162 GB, free: 3.082 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.5541/0.7923, allocations: 55.51 MB / 0.7704 GB, free: 14.14 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03956/0.8318, allocations: 22.1 MB / 0.792 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009632/0.8415, allocations: 141.2 kB / 0.7921 GB, free: 14.58 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009069/0.8506, allocations: 2.582 MB / 0.7947 GB, free: 13.16 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01401/0.8646, allocations: 3.694 MB / 0.7983 GB, free: 10.2 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01055/0.8751, allocations: 3.923 MB / 0.8021 GB, free: 7.219 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0175/0.8926, allocations: 9.899 MB / 0.8118 GB, free: 0.9375 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006734/0.8993, allocations: 3.089 MB / 0.8148 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/0.9097, allocations: 4.184 MB / 0.8189 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009212/0.9189, allocations: 4.266 MB / 0.823 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002956/0.9219, allocations: 0.668 MB / 0.8237 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008119/0.93, allocations: 2.004 MB / 0.8257 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004072/0.934, allocations: 2.032 MB / 0.8276 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007528/0.9416, allocations: 2.724 MB / 0.8303 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02123/0.9628, allocations: 10.57 MB / 0.8406 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.9628, allocations: 0 / 0.8406 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9628, allocations: 2.625 kB / 0.8406 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003969/0.9632, allocations: 0 / 0.8406 GB, free: 3.262 MB / 0.6075 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.02065/0.9839, allocations: 7.372 MB / 0.8478 GB, free: 11.84 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.9839, allocations: 15.97 kB / 0.8478 GB, free: 11.82 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001357/0.984, allocations: 98.58 kB / 0.8479 GB, free: 11.72 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002003/0.986, allocations: 0.5977 MB / 0.8485 GB, free: 11.11 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003941/0.99, allocations: 0.9026 MB / 0.8494 GB, free: 10.21 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01391/1.004, allocations: 5.382 MB / 0.8546 GB, free: 4.766 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004252/1.004, allocations: 254.4 kB / 0.8549 GB, free: 4.516 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/1.006, allocations: 312 kB / 0.8552 GB, free: 4.211 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02634/1.032, allocations: 10.06 MB / 0.865 GB, free: 8.77 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/1.032, allocations: 39.62 kB / 0.865 GB, free: 8.73 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00128/1.034, allocations: 164 kB / 0.8652 GB, free: 8.57 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003559/1.034, allocations: 200.4 kB / 0.8654 GB, free: 8.371 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/1.056, allocations: 6.559 MB / 0.8718 GB, free: 1.816 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04901/1.105, allocations: 33.47 MB / 0.9045 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/1.122, allocations: 5.541 MB / 0.9099 GB, free: 9.574 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005005/1.127, allocations: 1.883 MB / 0.9117 GB, free: 7.633 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008426/1.128, allocations: 173.7 kB / 0.9119 GB, free: 7.461 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/1.128, allocations: 95.61 kB / 0.912 GB, free: 7.363 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00412/1.132, allocations: 0.6311 MB / 0.9126 GB, free: 6.73 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 1.609e-05/1.132, allocations: 0 / 0.9126 GB, free: 6.73 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.04008/1.172, allocations: 10.99 MB / 0.9233 GB, free: 11.7 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006336/1.173, allocations: 1.028 MB / 0.9243 GB, free: 10.43 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.185, allocations: 4.86 MB / 0.9291 GB, free: 5.59 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/1.186, allocations: 69.7 kB / 0.9292 GB, free: 5.516 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002883/1.189, allocations: 2.448 MB / 0.9315 GB, free: 3.051 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.003389/1.192, allocations: 2.415 MB / 0.9339 GB, free: 0.6172 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004629/1.197, allocations: 1.474 MB / 0.9353 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.197, allocations: 307.3 kB / 0.9356 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006434/1.203, allocations: 2.667 MB / 0.9382 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009001/1.212, allocations: 5.242 MB / 0.9434 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1356/1.348, allocations: 20.49 MB / 0.9634 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-05/1.348, allocations: 20 kB / 0.9634 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02291/1.371, allocations: 8.461 MB / 0.9717 GB, free: 8.445 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 9.53e-05/1.371, allocations: 32 kB / 0.9717 GB, free: 8.414 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01602/1.387, allocations: 6.162 MB / 0.9777 GB, free: 2.184 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008158/1.388, allocations: 209.6 kB / 0.9779 GB, free: 1.973 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007711/1.396, allocations: 2.012 MB / 0.9799 GB, free: 15.95 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/1.399, allocations: 2.901 MB / 0.9827 GB, free: 12.83 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005131/1.404, allocations: 319.8 kB / 0.983 GB, free: 12.52 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/1.406, allocations: 496.5 kB / 0.9835 GB, free: 12.03 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.01097/1.417, allocations: 3.753 MB / 0.9871 GB, free: 8.277 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01139/1.428, allocations: 5.2 MB / 0.9922 GB, free: 2.023 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1315/1.56, allocations: 20.41 MB / 1.012 GB, free: 12.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001072/1.56, allocations: 20 kB / 1.012 GB, free: 12.64 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02266/1.582, allocations: 8.376 MB / 1.02 GB, free: 4.191 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-05/1.582, allocations: 32 kB / 1.02 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01522/1.598, allocations: 6.075 MB / 1.026 GB, free: 14.02 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/1.598, allocations: 181.6 kB / 1.026 GB, free: 13.83 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00716/1.605, allocations: 2.008 MB / 1.028 GB, free: 11.82 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002869/1.608, allocations: 2.859 MB / 1.031 GB, free: 8.738 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004846/1.613, allocations: 317.2 kB / 1.032 GB, free: 8.43 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001558/1.615, allocations: 487.6 kB / 1.032 GB, free: 7.953 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.002757/1.617, allocations: 0.6261 MB / 1.033 GB, free: 7.324 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003049/1.62, allocations: 0.6439 MB / 1.033 GB, free: 6.676 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.02068/1.641, allocations: 9.132 MB / 1.042 GB, free: 13.71 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.833908408996649] Failed to read output from testmodel.py, exit status != 0: 2.0656645980197936 2.077162927 1.1111033 Calling exit ...