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.01268/0.01268, 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.001453/0.001453, allocations: 80 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.002404/0.002404, allocations: 164 kB / 28.26 MB, free: 3.406 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.373/1.373, allocations: 177.2 MB / 209 MB, free: 7.508 MB / 190.1 MB " [Timeout remaining time 179] 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 0.982/0.982, allocations: 102.5 MB / 368.4 MB, free: 4.121 MB / 334.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: 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_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_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.0685/0.0685, allocations: 20.97 MB / 0.5569 GB, free: 4.883 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.234, allocations: 81.88 MB / 0.6369 GB, free: 2.867 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.1537/0.3877, allocations: 48.12 MB / 0.6839 GB, free: 2.75 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3425/0.7302, allocations: 22.1 MB / 0.7055 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006075/0.7363, allocations: 145.2 kB / 0.7056 GB, free: 13.22 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.007661/0.7439, allocations: 2.559 MB / 0.7081 GB, free: 12.08 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.7553, allocations: 3.684 MB / 0.7117 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.009845/0.7652, allocations: 3.926 MB / 0.7155 GB, free: 8.52 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01371/0.7789, allocations: 9.904 MB / 0.7252 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00574/0.7846, allocations: 3.318 MB / 0.7284 GB, free: 0.9609 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008632/0.7933, allocations: 4.178 MB / 0.7325 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009116/0.8024, allocations: 3.991 MB / 0.7364 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002791/0.8052, allocations: 0.6676 MB / 0.7371 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007901/0.8131, allocations: 1.969 MB / 0.739 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003995/0.8171, allocations: 2.035 MB / 0.741 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007116/0.8242, allocations: 2.723 MB / 0.7436 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01808/0.8423, allocations: 10.56 MB / 0.754 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.8423, allocations: 0 / 0.754 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8423, allocations: 0 / 0.754 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000373/0.8427, allocations: 2.719 kB / 0.754 GB, free: 0.6328 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.01959/0.8622, allocations: 7.376 MB / 0.7612 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.8623, allocations: 10.69 kB / 0.7612 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/0.866, allocations: 0.8979 MB / 0.7621 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.8792, allocations: 5.396 MB / 0.7673 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003793/0.8796, allocations: 254.4 kB / 0.7676 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/0.8809, allocations: 311.9 kB / 0.7679 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02605/0.9069, allocations: 10.05 MB / 0.7777 GB, free: 8.09 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001884/0.9071, allocations: 39.62 kB / 0.7777 GB, free: 8.051 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/0.9083, allocations: 160 kB / 0.7779 GB, free: 7.895 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003621/0.9087, allocations: 204.5 kB / 0.7781 GB, free: 7.691 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02206/0.9307, allocations: 6.531 MB / 0.7844 GB, free: 1.168 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04953/0.9802, allocations: 32.96 MB / 0.8166 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/1, allocations: 5.532 MB / 0.822 GB, free: 9.457 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00509/1.006, allocations: 1.885 MB / 0.8239 GB, free: 7.512 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000838/1.006, allocations: 181.7 kB / 0.824 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/1.006, allocations: 87.56 kB / 0.8241 GB, free: 7.242 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00406/1.011, allocations: 0.6195 MB / 0.8247 GB, free: 6.621 MB / 0.67 GB Notification: Performance of pre-optimization done (n=712): time 1.602e-05/1.011, allocations: 0 / 0.8247 GB, free: 6.621 MB / 0.67 GB Notification: Performance of matching and sorting (n=712): time 0.03988/1.05, allocations: 10.98 MB / 0.8355 GB, free: 11.6 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006094/1.051, allocations: 1.032 MB / 0.8365 GB, free: 10.32 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01051/1.062, allocations: 4.858 MB / 0.8412 GB, free: 5.48 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/1.063, allocations: 73.7 kB / 0.8413 GB, free: 5.402 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002581/1.065, allocations: 2.474 MB / 0.8437 GB, free: 2.914 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.00311/1.068, allocations: 2.416 MB / 0.8461 GB, free: 488 kB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004483/1.073, allocations: 1.474 MB / 0.8475 GB, free: 14.99 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.073, allocations: 301.1 kB / 0.8478 GB, free: 14.69 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006475/1.079, allocations: 2.671 MB / 0.8504 GB, free: 12.01 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008913/1.088, allocations: 5.234 MB / 0.8555 GB, free: 5.734 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1372/1.225, allocations: 20.5 MB / 0.8755 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.787e-05/1.226, allocations: 16 kB / 0.8755 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.02296/1.248, allocations: 8.449 MB / 0.8838 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.087e-05/1.249, allocations: 32 kB / 0.8838 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01699/1.266, allocations: 6.156 MB / 0.8898 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008136/1.266, allocations: 217.6 kB / 0.89 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007586/1.274, allocations: 2.012 MB / 0.892 GB, free: 15.82 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/1.277, allocations: 2.86 MB / 0.8948 GB, free: 12.77 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00503/1.282, allocations: 327.8 kB / 0.8951 GB, free: 12.45 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001577/1.284, allocations: 499.6 kB / 0.8956 GB, free: 11.96 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.009917/1.294, allocations: 3.756 MB / 0.8992 GB, free: 8.211 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009074/1.303, allocations: 5.204 MB / 0.9043 GB, free: 1.953 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.135/1.438, allocations: 20.41 MB / 0.9243 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.363e-05/1.438, allocations: 16 kB / 0.9243 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.02078/1.459, allocations: 8.369 MB / 0.9324 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/1.459, allocations: 32 kB / 0.9325 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01434/1.473, allocations: 6.068 MB / 0.9384 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004979/1.473, allocations: 185.7 kB / 0.9386 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00692/1.48, allocations: 2.004 MB / 0.9405 GB, free: 11.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/1.483, allocations: 2.822 MB / 0.9433 GB, free: 8.734 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004639/1.488, allocations: 320 kB / 0.9436 GB, free: 8.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/1.489, allocations: 487.7 kB / 0.9441 GB, free: 7.945 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.002278/1.491, allocations: 0.6309 MB / 0.9447 GB, free: 7.309 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002581/1.494, allocations: 0.6284 MB / 0.9453 GB, free: 6.676 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.01954/1.513, allocations: 9.173 MB / 0.9543 GB, free: 13.67 MB / 0.8107 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.230048588942736] Failed to read output from testmodel.py, exit status != 0: 1.877341976040043 1.887295049 1.042413885 Calling exit ...