Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestDrum.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.01242/0.01242, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.0008065/0.0008065, allocations: 85.2 kB / 25.61 MB, free: 6.992 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.0008919/0.0008919, allocations: 167.1 kB / 29.46 MB, free: 3.191 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.8814/0.8814, allocations: 177.1 MB / 210.3 MB, free: 3.566 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.5752/0.5752, allocations: 102.5 MB / 369.8 MB, free: 372 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.MechanicalSeparation.Check.TestDrum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|drum.volume.h_liq|drum.volume.h_vap|drum.volume.p_vap|drum.volume.volume_vap|drum.wall.U.[0-9,]+.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestDrum") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestDrum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|drum.volume.h_liq|drum.volume.h_vap|drum.volume.p_vap|drum.volume.volume_vap|drum.wall.U.[0-9,]+.|evaporator.h|evaporator.p",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestDrum") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 469.8 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.743e-05, allocations: 2.312 kB / 469.9 MB, free: 19.01 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.MechanicalSeparation.Check.TestDrum): time 0.1192/0.1192, allocations: 72.91 MB / 0.53 GB, free: 15.36 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02352/0.1427, allocations: 23.37 MB / 0.5529 GB, free: 7.926 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.1447, allocations: 127.1 kB / 0.553 GB, free: 7.801 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003487/0.1482, allocations: 2.702 MB / 0.5556 GB, free: 5.086 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004578/0.1528, allocations: 4.008 MB / 0.5595 GB, free: 1.055 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004472/0.1573, allocations: 3.757 MB / 0.5632 GB, free: 13.29 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.008409/0.1657, allocations: 12.84 MB / 0.5757 GB, free: 428 kB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.1685, allocations: 3.929 MB / 0.5796 GB, free: 12.41 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005067/0.1736, allocations: 6.856 MB / 0.5863 GB, free: 5.543 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003711/0.1773, allocations: 4.471 MB / 0.5906 GB, free: 1.062 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0006812/0.1779, allocations: 0.8008 MB / 0.5914 GB, free: 268 kB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.1809, allocations: 2.456 MB / 0.5938 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001686/0.1826, allocations: 2.741 MB / 0.5965 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.1845, allocations: 2.743 MB / 0.5992 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006772/0.1913, allocations: 8.58 MB / 0.6076 GB, free: 15.69 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1913, allocations: 0 / 0.6076 GB, free: 15.69 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1913, allocations: 0 / 0.6076 GB, free: 15.69 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.18e-05/0.1914, allocations: 0 / 0.6076 GB, free: 15.69 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1607 * Number of variables: 1607 Notification: Performance of Generate backend data structure: time 0.009242/0.2006, allocations: 8.976 MB / 0.6163 GB, free: 6.621 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2007, allocations: 8.031 kB / 0.6163 GB, free: 6.613 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.2026, allocations: 1.358 MB / 0.6177 GB, free: 5.25 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006093/0.2087, allocations: 5.813 MB / 0.6233 GB, free: 15.34 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.2089, allocations: 308.4 kB / 0.6236 GB, free: 15.04 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004578/0.2093, allocations: 436 kB / 0.624 GB, free: 14.61 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/0.224, allocations: 10.87 MB / 0.6347 GB, free: 1.73 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.2241, allocations: 51.5 kB / 0.6347 GB, free: 1.68 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004711/0.2246, allocations: 204 kB / 0.6349 GB, free: 1.48 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003678/0.2249, allocations: 394.3 kB / 0.6353 GB, free: 1.094 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01388/0.2388, allocations: 5.304 MB / 0.6405 GB, free: 11.77 MB / 0.5574 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.217/0.4558, allocations: 53.9 MB / 0.6931 GB, free: 103.3 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009061/0.4648, allocations: 5.099 MB / 0.6981 GB, free: 102.5 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.4666, allocations: 1.418 MB / 0.6995 GB, free: 102.2 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004805/0.4671, allocations: 295.4 kB / 0.6997 GB, free: 102.2 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.4672, allocations: 107.3 kB / 0.6998 GB, free: 102.2 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=816): time 5.951e-06/0.4672, allocations: 4.125 kB / 0.6998 GB, free: 102.2 MB / 0.5574 GB Notification: Performance of matching and sorting (n=817): time 0.03636/0.5035, allocations: 32.87 MB / 0.7319 GB, free: 85.51 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.5037, allocations: 1.144 MB / 0.7331 GB, free: 84.16 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004478/0.5082, allocations: 5.046 MB / 0.738 GB, free: 82.2 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003454/0.5085, allocations: 89.42 kB / 0.7381 GB, free: 82.12 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.5097, allocations: 3.049 MB / 0.7411 GB, free: 79.76 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001188/0.5109, allocations: 2.873 MB / 0.7439 GB, free: 77.44 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/0.5125, allocations: 1.893 MB / 0.7457 GB, free: 76.35 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.025e-05/0.5125, allocations: 477.5 kB / 0.7462 GB, free: 75.88 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/0.5149, allocations: 1.635 MB / 0.7478 GB, free: 75.35 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003419/0.5183, allocations: 5.691 MB / 0.7533 GB, free: 69.63 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008528/0.5268, allocations: 8.862 MB / 0.762 GB, free: 61.96 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/0.5268, allocations: 20.55 kB / 0.762 GB, free: 61.94 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.009282/0.5361, allocations: 7.442 MB / 0.7693 GB, free: 54.49 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.5361, allocations: 36 kB / 0.7693 GB, free: 54.45 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006501/0.5426, allocations: 4.758 MB / 0.7739 GB, free: 49.64 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02361/0.5662, allocations: 3.973 MB / 0.7778 GB, free: 45.84 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.5704, allocations: 2.252 MB / 0.78 GB, free: 43.59 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004545/0.5749, allocations: 13.09 MB / 0.7928 GB, free: 29.79 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/0.5777, allocations: 339.3 kB / 0.7931 GB, free: 29.46 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004918/0.5782, allocations: 0.5426 MB / 0.7937 GB, free: 28.92 MB / 0.5574 GB Warning: Assuming fixed start value for the following 3 variables: drum.volume.h_liq:VARIABLE(start = drum.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real drum.volume.h_vap:VARIABLE(start = drum.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real drum.volume.p_vap:VARIABLE(min = 0.0 start = drum.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003606/0.5818, allocations: 1.836 MB / 0.7954 GB, free: 27.08 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003234/0.585, allocations: 5.665 MB / 0.801 GB, free: 19.81 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008226/0.5932, allocations: 8.826 MB / 0.8096 GB, free: 9.652 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.992e-05/0.5933, allocations: 20 kB / 0.8096 GB, free: 9.633 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.009265/0.6025, allocations: 7.373 MB / 0.8168 GB, free: 2.254 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.6026, allocations: 39.98 kB / 0.8169 GB, free: 2.215 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006719/0.6093, allocations: 4.681 MB / 0.8214 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01667/0.626, allocations: 2.804 MB / 0.8242 GB, free: 10.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/0.6301, allocations: 2.255 MB / 0.8264 GB, free: 8.539 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00617/0.6363, allocations: 13.05 MB / 0.8391 GB, free: 10.8 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/0.6391, allocations: 329.4 kB / 0.8394 GB, free: 10.48 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005678/0.6397, allocations: 0.5413 MB / 0.8399 GB, free: 9.941 MB / 0.5887 GB Warning: Assuming fixed start value for the following 3 variables: drum.volume.h_liq:VARIABLE(start = drum.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real drum.volume.h_vap:VARIABLE(start = drum.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real drum.volume.p_vap:VARIABLE(min = 0.0 start = drum.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 324 * 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 (1115): * Single equations (assignments): 1108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001451/0.6411, allocations: 0.7666 MB / 0.8407 GB, free: 9.168 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/0.6425, allocations: 0.8038 MB / 0.8415 GB, free: 8.359 MB / 0.5887 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 1239 equation(s) and 1186 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (sink.fluidOut.q, sink.fluidOut.cp, sink.fluidOut.cv, sink.fluidOut.beta, sink.fluidOut.kappa, sink.fluidOut.drhodp_hxi, sink.fluidOut.drhodh_pxi, _, sink.fluidOut.w, sink.fluidOut.gamma) = ($cse406, $cse407, $cse408, $cse409, $cse410, $cse411, $cse412, $cse413, $cse414, $cse415) has size 9 but 3 variables (drum.volume.heattransfer.Delta_T_mean[1], drum.volume.summary.fluid.T[1], drum.scalar2VectorHeatPort.heatVector[2].T) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.6528, allocations: 9.48 MB / 0.8507 GB, free: 15.29 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.212210999103263]