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.008749/0.008749, allocations: 1.781 MB / 22.36 MB, free: 2.117 MB / 18.57 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.0007563/0.0007563, allocations: 83.19 kB / 26.19 MB, free: 6.082 MB / 18.57 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.0008561/0.0008561, allocations: 167.7 kB / 30.12 MB, free: 2.188 MB / 18.57 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 0.9254/0.9254, allocations: 177.2 MB / 211.1 MB, free: 3.43 MB / 186.7 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.5863/0.5863, allocations: 102.5 MB / 370.7 MB, free: 172 kB / 330.7 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 1.0.0 (/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: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 471.3 MB, free: 18.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.459e-05, allocations: 3.016 kB / 471.3 MB, free: 18.8 MB / 410.8 MB 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.1172/0.1172, allocations: 74.3 MB / 0.5328 GB, free: 13.23 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02463/0.1418, allocations: 22.5 MB / 0.5547 GB, free: 6.668 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.1444, allocations: 143 kB / 0.5549 GB, free: 6.527 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003484/0.1479, allocations: 2.582 MB / 0.5574 GB, free: 3.93 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004929/0.1528, allocations: 3.804 MB / 0.5611 GB, free: 104 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005186/0.158, allocations: 4.003 MB / 0.565 GB, free: 12.09 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.007854/0.1658, allocations: 10.16 MB / 0.575 GB, free: 1.895 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.1691, allocations: 3.493 MB / 0.5784 GB, free: 14.34 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1165/0.2856, allocations: 51.03 MB / 0.6282 GB, free: 12.49 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004781/0.2904, allocations: 3.408 MB / 0.6315 GB, free: 9.074 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0008883/0.2913, allocations: 0.625 MB / 0.6321 GB, free: 8.449 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003282/0.2945, allocations: 1.926 MB / 0.634 GB, free: 6.52 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.2957, allocations: 1.954 MB / 0.6359 GB, free: 4.559 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.2975, allocations: 2.127 MB / 0.638 GB, free: 2.426 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.1905/0.488, allocations: 6.665 MB / 0.6445 GB, free: 85.7 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.488, allocations: 3.141 kB / 0.6445 GB, free: 85.7 MB / 0.5418 GB Notification: Performance of FrontEnd: time 8.22e-07/0.488, allocations: 0 / 0.6445 GB, free: 85.7 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002113/0.4882, allocations: 0 / 0.6445 GB, free: 85.7 MB / 0.5418 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.006978/0.4952, allocations: 7.318 MB / 0.6517 GB, free: 82.41 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4952, allocations: 14.59 kB / 0.6517 GB, free: 82.41 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.4965, allocations: 1.044 MB / 0.6527 GB, free: 81.98 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/0.5003, allocations: 4.049 MB / 0.6566 GB, free: 80.91 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.5004, allocations: 249 kB / 0.6569 GB, free: 80.91 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.5007, allocations: 350.3 kB / 0.6572 GB, free: 80.9 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008295/0.509, allocations: 9.049 MB / 0.6661 GB, free: 75.07 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.298e-05/0.5091, allocations: 42.78 kB / 0.6661 GB, free: 75.07 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.5094, allocations: 166.5 kB / 0.6663 GB, free: 75.07 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/0.5095, allocations: 201.6 kB / 0.6664 GB, free: 75.06 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006712/0.5162, allocations: 3.892 MB / 0.6702 GB, free: 74.98 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01783/0.5341, allocations: 43.13 MB / 0.7124 GB, free: 40 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006712/0.5408, allocations: 3.915 MB / 0.7162 GB, free: 38.76 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.5419, allocations: 0.9241 MB / 0.7171 GB, free: 38.39 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.5422, allocations: 204.2 kB / 0.7173 GB, free: 38.34 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/0.5423, allocations: 92.45 kB / 0.7174 GB, free: 38.3 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002/0.5443, allocations: 0.6709 MB / 0.718 GB, free: 37.96 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=712): time 1.095e-05/0.5443, allocations: 2.812 kB / 0.718 GB, free: 37.96 MB / 0.5418 GB Notification: Performance of matching and sorting (n=712): time 0.01452/0.5588, allocations: 8 MB / 0.7258 GB, free: 35.46 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/0.559, allocations: 1.389 MB / 0.7272 GB, free: 33.8 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/0.5623, allocations: 4.329 MB / 0.7314 GB, free: 32.42 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0002791/0.5625, allocations: 76.3 kB / 0.7315 GB, free: 32.39 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.5637, allocations: 2.671 MB / 0.7341 GB, free: 31.12 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.5648, allocations: 2.456 MB / 0.7365 GB, free: 29.3 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/0.5663, allocations: 1.592 MB / 0.7381 GB, free: 28.84 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.5664, allocations: 482.6 kB / 0.7385 GB, free: 28.37 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.5678, allocations: 1.113 MB / 0.7396 GB, free: 28.05 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/0.5703, allocations: 5.084 MB / 0.7446 GB, free: 22.8 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005832/0.5761, allocations: 6.803 MB / 0.7512 GB, free: 18.2 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.541e-05/0.5761, allocations: 19.59 kB / 0.7512 GB, free: 18.2 MB / 0.5418 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.007043/0.5832, allocations: 5.648 MB / 0.7568 GB, free: 15.44 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.5832, allocations: 38.28 kB / 0.7568 GB, free: 15.41 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003982/0.5872, allocations: 3.399 MB / 0.7601 GB, free: 11.97 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005272/0.5877, allocations: 245.1 kB / 0.7603 GB, free: 11.73 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/0.5908, allocations: 1.977 MB / 0.7623 GB, free: 9.875 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.5923, allocations: 3.639 MB / 0.7658 GB, free: 6.082 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.595, allocations: 287.8 kB / 0.7661 GB, free: 5.801 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000451/0.5955, allocations: 431.2 kB / 0.7665 GB, free: 5.383 MB / 0.5418 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.002583/0.598, allocations: 1.297 MB / 0.7678 GB, free: 4.086 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002787/0.6008, allocations: 5.065 MB / 0.7727 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006997/0.6078, allocations: 6.769 MB / 0.7793 GB, free: 6.16 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.726e-05/0.6078, allocations: 20 kB / 0.7794 GB, free: 6.141 MB / 0.5574 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.007685/0.6155, allocations: 5.616 MB / 0.7848 GB, free: 0.9102 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.6156, allocations: 32 kB / 0.7849 GB, free: 0.8789 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004794/0.6204, allocations: 3.354 MB / 0.7881 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.6207, allocations: 231.7 kB / 0.7884 GB, free: 13.26 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/0.6242, allocations: 1.969 MB / 0.7903 GB, free: 11.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.6263, allocations: 3.609 MB / 0.7938 GB, free: 7.641 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.6291, allocations: 283.2 kB / 0.7941 GB, free: 7.367 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000484/0.6296, allocations: 433.8 kB / 0.7945 GB, free: 6.945 MB / 0.573 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00143/0.631, allocations: 0.7143 MB / 0.7952 GB, free: 6.355 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/0.6324, allocations: 0.7181 MB / 0.7959 GB, free: 5.637 MB / 0.573 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.009439/0.6419, allocations: 8.008 MB / 0.8037 GB, free: 14.5 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.376627766061574]