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.01248/0.01248, allocations: 1.349 MB / 21.03 MB, free: 0.7617 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.0014/0.0014, allocations: 79.3 kB / 24.58 MB, free: 2.145 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.001796/0.001796, allocations: 164.4 kB / 28.25 MB, free: 3.41 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.425/1.425, allocations: 177.2 MB / 209 MB, free: 7.531 MB / 190.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.008/1.008, allocations: 102.5 MB / 368.3 MB, free: 4.152 MB / 334.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.0657/0.0657, allocations: 20.96 MB / 0.5569 GB, free: 4.91 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.2099, allocations: 81.88 MB / 0.6369 GB, free: 2.895 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.1459/0.3558, allocations: 48.12 MB / 0.6839 GB, free: 2.762 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3327/0.6884, allocations: 22.1 MB / 0.7054 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003831/0.6923, allocations: 145.1 kB / 0.7056 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.005619/0.6979, allocations: 2.564 MB / 0.7081 GB, free: 12.09 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.008447/0.7063, allocations: 3.688 MB / 0.7117 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.007764/0.7141, allocations: 3.923 MB / 0.7155 GB, free: 8.512 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01156/0.7256, allocations: 9.907 MB / 0.7252 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005166/0.7308, allocations: 3.321 MB / 0.7284 GB, free: 0.9531 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00792/0.7387, allocations: 4.178 MB / 0.7325 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008549/0.7473, allocations: 3.996 MB / 0.7364 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002376/0.7497, allocations: 0.6677 MB / 0.7371 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007352/0.757, allocations: 1.967 MB / 0.739 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003582/0.7606, allocations: 2.033 MB / 0.741 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006912/0.7675, allocations: 2.73 MB / 0.7436 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.7847, allocations: 10.56 MB / 0.754 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7847, allocations: 0 / 0.754 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7847, allocations: 0 / 0.754 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003487/0.7851, allocations: 0 / 0.754 GB, free: 0.625 MB / 0.5919 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.01855/0.8036, allocations: 7.376 MB / 0.7612 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.8037, allocations: 14.67 kB / 0.7612 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.807, allocations: 0.8901 MB / 0.762 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.8194, allocations: 5.393 MB / 0.7673 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/0.8198, allocations: 254.4 kB / 0.7675 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.8208, allocations: 308 kB / 0.7678 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02415/0.845, allocations: 10.05 MB / 0.7777 GB, free: 8.105 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001604/0.8452, allocations: 39.62 kB / 0.7777 GB, free: 8.066 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009502/0.8461, allocations: 164 kB / 0.7779 GB, free: 7.906 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003374/0.8464, allocations: 196.5 kB / 0.778 GB, free: 7.711 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02137/0.8678, allocations: 6.536 MB / 0.7844 GB, free: 1.18 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04749/0.9153, allocations: 32.95 MB / 0.8166 GB, free: 15.16 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01723/0.9325, allocations: 5.539 MB / 0.822 GB, free: 9.473 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00484/0.9374, allocations: 1.884 MB / 0.8239 GB, free: 7.531 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007219/0.9381, allocations: 185.6 kB / 0.824 GB, free: 7.348 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.9382, allocations: 88.92 kB / 0.8241 GB, free: 7.254 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00359/0.9418, allocations: 0.6182 MB / 0.8247 GB, free: 6.637 MB / 0.67 GB Notification: Performance of pre-optimization done (n=712): time 1.321e-05/0.9418, allocations: 0 / 0.8247 GB, free: 6.637 MB / 0.67 GB Notification: Performance of matching and sorting (n=712): time 0.03796/0.9798, allocations: 10.99 MB / 0.8354 GB, free: 11.61 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006323/0.9804, allocations: 1.024 MB / 0.8364 GB, free: 10.34 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/0.9904, allocations: 4.861 MB / 0.8412 GB, free: 5.492 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/0.9914, allocations: 69.7 kB / 0.8413 GB, free: 5.418 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002571/0.994, allocations: 2.471 MB / 0.8437 GB, free: 2.93 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.003057/0.9971, allocations: 2.419 MB / 0.846 GB, free: 0.4922 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004278/1.001, allocations: 1.474 MB / 0.8475 GB, free: 15 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.001, allocations: 305.1 kB / 0.8478 GB, free: 14.7 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006438/1.008, allocations: 2.667 MB / 0.8504 GB, free: 12.03 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008948/1.017, allocations: 5.238 MB / 0.8555 GB, free: 5.746 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1383/1.155, allocations: 20.49 MB / 0.8755 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-05/1.155, allocations: 20 kB / 0.8755 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02097/1.176, allocations: 8.449 MB / 0.8838 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/1.176, allocations: 32 kB / 0.8838 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01478/1.191, allocations: 6.163 MB / 0.8898 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000668/1.192, allocations: 205.7 kB / 0.89 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006981/1.199, allocations: 2.012 MB / 0.892 GB, free: 15.85 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/1.202, allocations: 2.861 MB / 0.8948 GB, free: 12.79 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004481/1.206, allocations: 323.7 kB / 0.8951 GB, free: 12.47 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.207, allocations: 495.7 kB / 0.8956 GB, free: 11.99 MB / 0.7482 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.008912/1.216, allocations: 3.761 MB / 0.8992 GB, free: 8.23 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008366/1.225, allocations: 5.199 MB / 0.9043 GB, free: 1.977 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1328/1.357, allocations: 20.41 MB / 0.9242 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.055e-05/1.358, allocations: 22.66 kB / 0.9243 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02115/1.379, allocations: 8.362 MB / 0.9324 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/1.379, allocations: 32 kB / 0.9325 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01467/1.393, allocations: 6.076 MB / 0.9384 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005172/1.394, allocations: 181.6 kB / 0.9386 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007058/1.401, allocations: 2.005 MB / 0.9405 GB, free: 11.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/1.404, allocations: 2.821 MB / 0.9433 GB, free: 8.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00464/1.409, allocations: 322.5 kB / 0.9436 GB, free: 8.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.41, allocations: 491.6 kB / 0.944 GB, free: 7.957 MB / 0.795 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.002146/1.412, allocations: 0.6152 MB / 0.9446 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002546/1.414, allocations: 0.6323 MB / 0.9453 GB, free: 6.695 MB / 0.795 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.01909/1.434, allocations: 9.17 MB / 0.9542 GB, free: 13.68 MB / 0.8107 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.236188017996028] Failed to read output from testmodel.py, exit status != 0: 1.8048731669550762 1.815199143 1.028070087 Calling exit ...