Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01736/0.01736, 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.001908/0.001908, allocations: 111.5 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.002735/0.002735, allocations: 207.9 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.484/1.484, allocations: 230.6 MB / 262.1 MB, free: 6.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.1/1.1, allocations: 130.7 MB / 449.6 MB, free: 6.609 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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: translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") translateModel(ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hEXvle2vle_L3_1ph_BU_ntu.shell.h|hEXvle2vle_L3_1ph_BU_ntu.shell.p|hEXvle2vle_L3_1ph_BU_ntu.tubes.h|hEXvle2vle_L3_1ph_BU_ntu.tubes.p|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_a|hEXvle2vle_L3_1ph_BU_ntu.wall.T_w_i",fileNamePrefix="ClaRa_dev_ClaRa.Components.HeatExchangers.Check.Test_HEXvle2vle_L3_1ph_kA") [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.03393/0.03393, allocations: 20.78 MB / 0.6362 GB, free: 4.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.2081, allocations: 81.91 MB / 0.7162 GB, free: 2.648 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.5054/0.7134, allocations: 59 MB / 0.7738 GB, free: 10.84 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03965/0.7531, allocations: 22.95 MB / 0.7962 GB, free: 10.44 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009546/0.7626, allocations: 146.2 kB / 0.7964 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009032/0.7717, allocations: 2.65 MB / 0.799 GB, free: 8.762 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01467/0.7863, allocations: 3.682 MB / 0.8026 GB, free: 5.793 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0122/0.7985, allocations: 3.923 MB / 0.8064 GB, free: 2.816 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02423/0.8228, allocations: 9.899 MB / 0.8161 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007823/0.8306, allocations: 3.099 MB / 0.8191 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01092/0.8415, allocations: 4.169 MB / 0.8232 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01148/0.853, allocations: 4.269 MB / 0.8273 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00399/0.857, allocations: 0.668 MB / 0.828 GB, free: 272 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01234/0.8693, allocations: 2.593 MB / 0.8305 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00484/0.8742, allocations: 2.028 MB / 0.8325 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008689/0.8828, allocations: 3.552 MB / 0.836 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02235/0.9052, allocations: 10.64 MB / 0.8464 GB, free: 13.4 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.9052, allocations: 0 / 0.8464 GB, free: 13.4 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9052, allocations: 0 / 0.8464 GB, free: 13.4 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004322/0.9056, allocations: 2.625 kB / 0.8464 GB, free: 13.4 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.01957/0.9252, allocations: 7.378 MB / 0.8536 GB, free: 5.973 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.9253, allocations: 8.031 kB / 0.8536 GB, free: 5.965 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/0.928, allocations: 0.8966 MB / 0.8544 GB, free: 5.066 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.9386, allocations: 5.382 MB / 0.8597 GB, free: 15.61 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.9389, allocations: 250.4 kB / 0.8599 GB, free: 15.37 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000544/0.9394, allocations: 311.9 kB / 0.8602 GB, free: 15.07 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.9589, allocations: 8.528 MB / 0.8686 GB, free: 5.609 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.419e-05/0.9589, allocations: 43.62 kB / 0.8686 GB, free: 5.566 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004091/0.9594, allocations: 164 kB / 0.8688 GB, free: 5.406 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/0.9596, allocations: 207.1 kB / 0.869 GB, free: 5.203 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/0.9781, allocations: 6.557 MB / 0.8754 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04178/1.02, allocations: 35.26 MB / 0.9098 GB, free: 10.27 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01569/1.036, allocations: 5.55 MB / 0.9152 GB, free: 4.582 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004498/1.04, allocations: 1.897 MB / 0.9171 GB, free: 2.637 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007093/1.041, allocations: 201.6 kB / 0.9173 GB, free: 2.438 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/1.041, allocations: 94.2 kB / 0.9174 GB, free: 2.344 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003847/1.045, allocations: 0.6259 MB / 0.918 GB, free: 1.719 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 8.957e-06/1.045, allocations: 0 / 0.918 GB, free: 1.719 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03464/1.079, allocations: 10.99 MB / 0.9287 GB, free: 6.684 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006247/1.08, allocations: 1.028 MB / 0.9297 GB, free: 5.414 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008013/1.088, allocations: 4.867 MB / 0.9345 GB, free: 0.5742 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/1.089, allocations: 69.7 kB / 0.9345 GB, free: 0.5 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002151/1.091, allocations: 2.444 MB / 0.9369 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.003005/1.094, allocations: 2.412 MB / 0.9393 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002576/1.097, allocations: 1.474 MB / 0.9407 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.097, allocations: 307.7 kB / 0.941 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005416/1.102, allocations: 2.673 MB / 0.9436 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007502/1.11, allocations: 4.774 MB / 0.9483 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1231/1.233, allocations: 20.5 MB / 0.9683 GB, free: 12.35 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.533e-05/1.233, allocations: 16 kB / 0.9683 GB, free: 12.33 MB / 0.7482 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01882/1.252, allocations: 8.45 MB / 0.9766 GB, free: 3.82 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/1.252, allocations: 32 kB / 0.9766 GB, free: 3.789 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01304/1.265, allocations: 6.169 MB / 0.9826 GB, free: 13.55 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006537/1.266, allocations: 210.6 kB / 0.9828 GB, free: 13.34 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006932/1.273, allocations: 2.008 MB / 0.9848 GB, free: 11.33 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/1.275, allocations: 2.912 MB / 0.9876 GB, free: 8.191 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/1.28, allocations: 331.8 kB / 0.9879 GB, free: 7.867 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.281, allocations: 495.6 kB / 0.9884 GB, free: 7.383 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.008445/1.29, allocations: 3.745 MB / 0.9921 GB, free: 3.633 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007544/1.297, allocations: 4.751 MB / 0.9967 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1216/1.419, allocations: 20.4 MB / 1.017 GB, free: 8.586 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.071e-05/1.419, allocations: 20 kB / 1.017 GB, free: 8.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01757/1.436, allocations: 8.376 MB / 1.025 GB, free: 128 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/1.436, allocations: 35.98 kB / 1.025 GB, free: 92 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01217/1.449, allocations: 6.074 MB / 1.031 GB, free: 9.941 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004355/1.449, allocations: 181.7 kB / 1.031 GB, free: 9.758 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006359/1.455, allocations: 2.004 MB / 1.033 GB, free: 7.75 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/1.458, allocations: 2.876 MB / 1.036 GB, free: 4.652 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/1.462, allocations: 313.8 kB / 1.036 GB, free: 4.348 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.463, allocations: 491.6 kB / 1.036 GB, free: 3.867 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.001884/1.465, allocations: 0.6233 MB / 1.037 GB, free: 3.242 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002092/1.467, allocations: 0.6439 MB / 1.038 GB, free: 2.594 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.01697/1.484, allocations: 9.129 MB / 1.047 GB, free: 9.633 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.635002061957493] Failed to read output from testmodel.py, exit status != 0: 1.8585014468990266 1.869751235 0.961687672 Calling exit ...