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.01092/0.01092, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001279/0.001279, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.001643/0.001643, allocations: 213.1 kB / 27.9 MB, free: 3.742 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.457/1.457, allocations: 230.6 MB / 262.1 MB, free: 5.848 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.115/1.115, allocations: 130.7 MB / 449.6 MB, free: 6.438 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.06506/0.06506, allocations: 20.99 MB / 0.6363 GB, free: 4.355 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.2323, allocations: 81.9 MB / 0.7163 GB, free: 2.352 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.5163/0.7486, allocations: 55.54 MB / 0.7706 GB, free: 14.17 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0338/0.7824, allocations: 22.11 MB / 0.7921 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007367/0.7897, allocations: 144.9 kB / 0.7923 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009456/0.7992, allocations: 2.561 MB / 0.7948 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01317/0.8123, allocations: 3.684 MB / 0.7984 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.8227, allocations: 3.937 MB / 0.8022 GB, free: 7.109 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01675/0.8395, allocations: 9.892 MB / 0.8119 GB, free: 464 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005853/0.8454, allocations: 3.327 MB / 0.8151 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007936/0.8533, allocations: 4.181 MB / 0.8192 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008087/0.8614, allocations: 3.984 MB / 0.8231 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00237/0.8637, allocations: 0.668 MB / 0.8238 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006817/0.8706, allocations: 1.971 MB / 0.8257 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002678/0.8732, allocations: 2.036 MB / 0.8277 GB, free: 196 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004459/0.8777, allocations: 2.724 MB / 0.8303 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.8938, allocations: 10.56 MB / 0.8406 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.8938, allocations: 8 kB / 0.8407 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.198e-06/0.8939, allocations: 3.984 kB / 0.8407 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002935/0.8941, allocations: 2.688 kB / 0.8407 GB, free: 2.844 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.015/0.9091, allocations: 7.366 MB / 0.8479 GB, free: 11.43 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.9092, allocations: 12.03 kB / 0.8479 GB, free: 11.41 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/0.9117, allocations: 0.8963 MB / 0.8487 GB, free: 10.52 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.9225, allocations: 5.386 MB / 0.854 GB, free: 5.066 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.9227, allocations: 250.4 kB / 0.8542 GB, free: 4.82 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006392/0.9234, allocations: 307.9 kB / 0.8545 GB, free: 4.52 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02038/0.9437, allocations: 10.06 MB / 0.8644 GB, free: 9.078 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.902e-05/0.9438, allocations: 39.62 kB / 0.8644 GB, free: 9.039 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003913/0.9442, allocations: 160 kB / 0.8645 GB, free: 8.883 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002345/0.9445, allocations: 201.4 kB / 0.8647 GB, free: 8.684 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.9625, allocations: 6.536 MB / 0.8711 GB, free: 2.152 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03971/1.002, allocations: 32.95 MB / 0.9033 GB, free: 136 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/1.018, allocations: 5.539 MB / 0.9087 GB, free: 10.43 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004726/1.023, allocations: 1.885 MB / 0.9105 GB, free: 8.492 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007459/1.024, allocations: 173.6 kB / 0.9107 GB, free: 8.32 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/1.024, allocations: 103.5 kB / 0.9108 GB, free: 8.215 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003781/1.028, allocations: 0.6195 MB / 0.9114 GB, free: 7.594 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=712): time 2.077e-05/1.028, allocations: 0 / 0.9114 GB, free: 7.594 MB / 0.6857 GB Notification: Performance of matching and sorting (n=712): time 0.03637/1.064, allocations: 10.97 MB / 0.9221 GB, free: 12.57 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006747/1.065, allocations: 1.025 MB / 0.9231 GB, free: 11.31 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/1.075, allocations: 4.861 MB / 0.9279 GB, free: 6.461 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.001036/1.076, allocations: 69.7 kB / 0.9279 GB, free: 6.387 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.002707/1.079, allocations: 2.474 MB / 0.9304 GB, free: 3.898 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.003263/1.082, allocations: 2.416 MB / 0.9327 GB, free: 1.461 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004468/1.087, allocations: 1.478 MB / 0.9342 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.087, allocations: 305.1 kB / 0.9345 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00632/1.093, allocations: 2.671 MB / 0.9371 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008761/1.102, allocations: 5.234 MB / 0.9422 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1238/1.226, allocations: 20.5 MB / 0.9622 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.071e-05/1.226, allocations: 22.62 kB / 0.9622 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02137/1.247, allocations: 8.443 MB / 0.9705 GB, free: 9.336 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 8.127e-05/1.247, allocations: 36 kB / 0.9705 GB, free: 9.301 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01453/1.262, allocations: 6.158 MB / 0.9765 GB, free: 3.07 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007026/1.262, allocations: 205.6 kB / 0.9767 GB, free: 2.863 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006874/1.269, allocations: 2.007 MB / 0.9787 GB, free: 0.8555 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003218/1.272, allocations: 2.872 MB / 0.9815 GB, free: 13.79 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004816/1.277, allocations: 328 kB / 0.9818 GB, free: 13.46 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.279, allocations: 491.6 kB / 0.9823 GB, free: 12.98 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.009561/1.288, allocations: 3.747 MB / 0.9859 GB, free: 9.234 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008879/1.297, allocations: 5.208 MB / 0.991 GB, free: 2.973 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1255/1.423, allocations: 20.4 MB / 1.011 GB, free: 13.61 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.668e-05/1.423, allocations: 20 kB / 1.011 GB, free: 13.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02184/1.445, allocations: 8.372 MB / 1.019 GB, free: 5.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/1.445, allocations: 32 kB / 1.019 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01471/1.459, allocations: 6.075 MB / 1.025 GB, free: 14.98 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/1.46, allocations: 180.3 kB / 1.025 GB, free: 14.8 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006759/1.467, allocations: 2.012 MB / 1.027 GB, free: 12.78 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/1.47, allocations: 2.818 MB / 1.03 GB, free: 9.77 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/1.474, allocations: 324 kB / 1.03 GB, free: 9.453 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.475, allocations: 487.7 kB / 1.031 GB, free: 8.977 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.002462/1.478, allocations: 0.6216 MB / 1.031 GB, free: 8.348 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002783/1.481, allocations: 0.6284 MB / 1.032 GB, free: 7.715 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.01959/1.5, allocations: 9.167 MB / 1.041 GB, free: 14.72 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.698193840216845] Failed to read output from testmodel.py, exit status != 0: 1.945849816314876 1.962141184 1.064324774 Calling exit ...