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.01713/0.01713, allocations: 1.8 MB / 21.15 MB, free: 3.242 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.001685/0.001685, allocations: 79.19 kB / 24.88 MB, free: 6.824 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.001864/0.001864, allocations: 166.2 kB / 28.74 MB, free: 3.641 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 1.483/1.483, allocations: 177.1 MB / 209.6 MB, free: 2.379 MB / 186.7 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.15/1.15, allocations: 102.5 MB / 369.1 MB, free: 0.7891 MB / 330.8 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 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_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: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 469.1 MB, free: 12.95 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.346e-05/4.61e-05, allocations: 3.719 kB / 469.1 MB, free: 12.95 MB / 442.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.4907/0.4907, allocations: 72.55 MB / 0.529 GB, free: 69.76 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03452/0.5252, allocations: 22.45 MB / 0.5509 GB, free: 54.93 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007767/0.533, allocations: 141.7 kB / 0.551 GB, free: 54.87 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.008417/0.5414, allocations: 2.574 MB / 0.5536 GB, free: 53.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01434/0.5558, allocations: 3.802 MB / 0.5573 GB, free: 51.24 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01225/0.568, allocations: 3.977 MB / 0.5612 GB, free: 49.09 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.02105/0.589, allocations: 10.17 MB / 0.5711 GB, free: 43.97 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009435/0.5985, allocations: 3.503 MB / 0.5745 GB, free: 41.68 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01835/0.6168, allocations: 5.676 MB / 0.5801 GB, free: 38.23 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/0.627, allocations: 3.485 MB / 0.5835 GB, free: 36.29 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004308/0.6313, allocations: 0.6692 MB / 0.5841 GB, free: 36.25 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/0.6426, allocations: 1.99 MB / 0.5861 GB, free: 34.26 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003938/0.6465, allocations: 2.071 MB / 0.5881 GB, free: 32.18 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007774/0.6543, allocations: 2.197 MB / 0.5902 GB, free: 29.98 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01996/0.6743, allocations: 10.51 MB / 0.6005 GB, free: 19.43 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.6743, allocations: 2.656 kB / 0.6005 GB, free: 19.43 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6743, allocations: 0 / 0.6005 GB, free: 19.43 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0004302/0.6747, allocations: 4 kB / 0.6005 GB, free: 19.43 MB / 490.8 MB 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.02004/0.6948, allocations: 8.147 MB / 0.6084 GB, free: 11.22 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.6948, allocations: 10.69 kB / 0.6085 GB, free: 11.21 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.6979, allocations: 1.148 MB / 0.6096 GB, free: 10.06 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.708, allocations: 5.158 MB / 0.6146 GB, free: 4.84 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.7083, allocations: 246.4 kB / 0.6149 GB, free: 4.598 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.7095, allocations: 341.4 kB / 0.6152 GB, free: 4.266 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02519/0.7347, allocations: 11.11 MB / 0.626 GB, free: 7.406 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.7348, allocations: 42.28 kB / 0.6261 GB, free: 7.367 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005095/0.7353, allocations: 164 kB / 0.6262 GB, free: 7.207 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002851/0.7356, allocations: 196.5 kB / 0.6264 GB, free: 7.012 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/0.7566, allocations: 6.161 MB / 0.6324 GB, free: 0.8477 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0703/0.8269, allocations: 48.31 MB / 0.6796 GB, free: 14.95 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01915/0.8461, allocations: 5.449 MB / 0.6849 GB, free: 9.285 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005596/0.8517, allocations: 1.717 MB / 0.6866 GB, free: 7.477 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009899/0.8527, allocations: 189.7 kB / 0.6868 GB, free: 7.293 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.8528, allocations: 94.44 kB / 0.6869 GB, free: 7.191 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004865/0.8577, allocations: 0.6272 MB / 0.6875 GB, free: 6.562 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=712): time 3.192e-05/0.8577, allocations: 0 / 0.6875 GB, free: 6.562 MB / 0.5574 GB Notification: Performance of matching and sorting (n=712): time 0.04667/0.9044, allocations: 11.37 MB / 0.6986 GB, free: 11.14 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008429/0.9052, allocations: 1.034 MB / 0.6996 GB, free: 9.867 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01799/0.9232, allocations: 6.013 MB / 0.7055 GB, free: 3.852 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001581/0.9248, allocations: 69.7 kB / 0.7055 GB, free: 3.777 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004668/0.9295, allocations: 2.918 MB / 0.7084 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005289/0.9348, allocations: 2.639 MB / 0.711 GB, free: 14.18 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007668/0.9424, allocations: 1.812 MB / 0.7127 GB, free: 12.35 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0002703/0.9427, allocations: 476.8 kB / 0.7132 GB, free: 11.88 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00719/0.9499, allocations: 2.557 MB / 0.7157 GB, free: 9.316 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/0.9633, allocations: 6.291 MB / 0.7218 GB, free: 1.625 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02763/0.9909, allocations: 11.3 MB / 0.7329 GB, free: 5.129 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001263/0.9911, allocations: 20 kB / 0.7329 GB, free: 5.109 MB / 0.6043 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.3617/1.353, allocations: 8.577 MB / 0.7413 GB, free: 180.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.05e-05/1.353, allocations: 31.66 kB / 0.7413 GB, free: 180.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01246/1.365, allocations: 5.913 MB / 0.7471 GB, free: 180.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007716/1.366, allocations: 228.6 kB / 0.7473 GB, free: 180.6 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006552/1.373, allocations: 1.965 MB / 0.7492 GB, free: 180.6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/1.375, allocations: 3.913 MB / 0.753 GB, free: 177.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004887/1.38, allocations: 279.8 kB / 0.7533 GB, free: 177.2 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/1.381, allocations: 491.7 kB / 0.7538 GB, free: 177.2 MB / 0.6043 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.007968/1.389, allocations: 3.303 MB / 0.757 GB, free: 177.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007537/1.397, allocations: 6.263 MB / 0.7631 GB, free: 172.4 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01826/1.415, allocations: 11.22 MB / 0.7741 GB, free: 165.5 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.116e-05/1.415, allocations: 19.56 kB / 0.7741 GB, free: 165.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=993) (initialization_lambda0): time 0.01816/1.433, allocations: 8.488 MB / 0.7824 GB, free: 162.8 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.703e-05/1.433, allocations: 32.34 kB / 0.7824 GB, free: 162.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01132/1.445, allocations: 5.812 MB / 0.7881 GB, free: 160.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/1.445, allocations: 200.1 kB / 0.7883 GB, free: 160.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00634/1.452, allocations: 1.965 MB / 0.7902 GB, free: 159.3 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/1.454, allocations: 3.874 MB / 0.794 GB, free: 155.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004781/1.458, allocations: 279.4 kB / 0.7942 GB, free: 155 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/1.459, allocations: 486.3 kB / 0.7947 GB, free: 154.7 MB / 0.6043 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.00234/1.462, allocations: 0.707 MB / 0.7954 GB, free: 154 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002562/1.464, allocations: 0.7199 MB / 0.7961 GB, free: 153.6 MB / 0.6043 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.01519/1.48, allocations: 9.252 MB / 0.8051 GB, free: 146.8 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.202425709925592]