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.008568/0.008568, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.001034/0.001034, allocations: 84.83 kB / 25.4 MB, free: 6.5 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.001255/0.001255, allocations: 159.7 kB / 29.33 MB, free: 2.973 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.951/0.951, allocations: 177.2 MB / 210.3 MB, free: 3.453 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.6531/0.6531, allocations: 102.5 MB / 369.9 MB, free: 192 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 2.334e-06/2.334e-06, allocations: 3.938 kB / 470.4 MB, free: 18.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.591e-05, allocations: 4.281 kB / 470.4 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.MechanicalSeparation.Check.TestDrum): time 0.1279/0.1279, allocations: 72.47 MB / 0.5302 GB, free: 15.14 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02762/0.1555, allocations: 23.27 MB / 0.5529 GB, free: 7.809 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003806/0.1594, allocations: 123.1 kB / 0.553 GB, free: 7.688 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005294/0.1646, allocations: 2.713 MB / 0.5557 GB, free: 4.961 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007281/0.1719, allocations: 4.035 MB / 0.5596 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006639/0.1786, allocations: 3.757 MB / 0.5633 GB, free: 13.14 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01148/0.19, allocations: 12.81 MB / 0.5758 GB, free: 296 kB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004845/0.1949, allocations: 3.929 MB / 0.5796 GB, free: 12.29 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09425/0.2891, allocations: 42.75 MB / 0.6214 GB, free: 2.801 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008051/0.2972, allocations: 4.398 MB / 0.6257 GB, free: 14.39 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.2989, allocations: 0.7617 MB / 0.6264 GB, free: 13.63 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005532/0.3045, allocations: 2.421 MB / 0.6288 GB, free: 11.2 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.002167/0.3066, allocations: 2.644 MB / 0.6314 GB, free: 8.551 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004884/0.3115, allocations: 2.661 MB / 0.634 GB, free: 5.883 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2556/0.5671, allocations: 8.484 MB / 0.6423 GB, free: 79.57 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5671, allocations: 2.688 kB / 0.6423 GB, free: 79.57 MB / 0.5418 GB Notification: Performance of FrontEnd: time 9.71e-07/0.5671, allocations: 0 / 0.6423 GB, free: 79.57 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.000413/0.5675, allocations: 0 / 0.6423 GB, free: 79.57 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: 1607 * Number of variables: 1607 Notification: Performance of Generate backend data structure: time 0.01072/0.5782, allocations: 8.729 MB / 0.6508 GB, free: 75.96 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5783, allocations: 8.906 kB / 0.6508 GB, free: 75.96 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.5802, allocations: 1.279 MB / 0.652 GB, free: 75.48 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/0.5848, allocations: 4.717 MB / 0.6567 GB, free: 74.37 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.585, allocations: 306.3 kB / 0.6569 GB, free: 74.36 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004534/0.5854, allocations: 430.7 kB / 0.6574 GB, free: 74.35 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/0.5955, allocations: 10.5 MB / 0.6676 GB, free: 67.8 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.147e-05/0.5956, allocations: 49.28 kB / 0.6677 GB, free: 67.8 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003441/0.5959, allocations: 202.8 kB / 0.6678 GB, free: 67.8 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002495/0.5962, allocations: 396.3 kB / 0.6682 GB, free: 67.79 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007517/0.6037, allocations: 4.728 MB / 0.6728 GB, free: 67.69 MB / 0.5418 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.02974/0.6334, allocations: 53.96 MB / 0.7255 GB, free: 26 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009505/0.6429, allocations: 4.741 MB / 0.7302 GB, free: 24.31 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.6445, allocations: 1.23 MB / 0.7314 GB, free: 23.86 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/0.6451, allocations: 466.6 kB / 0.7318 GB, free: 23.8 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.479e-05/0.6452, allocations: 108.5 kB / 0.7319 GB, free: 23.75 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=816): time 6.502e-06/0.6452, allocations: 0 / 0.7319 GB, free: 23.75 MB / 0.5418 GB Notification: Performance of matching and sorting (n=817): time 0.02899/0.6741, allocations: 13.88 MB / 0.7455 GB, free: 18.96 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002465/0.6744, allocations: 1.494 MB / 0.7469 GB, free: 17.16 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004415/0.6788, allocations: 4.937 MB / 0.7518 GB, free: 15.13 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0003415/0.6791, allocations: 92.95 kB / 0.7518 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.6804, allocations: 3.097 MB / 0.7549 GB, free: 12.58 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/0.6817, allocations: 2.892 MB / 0.7577 GB, free: 10.21 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/0.6836, allocations: 1.947 MB / 0.7596 GB, free: 9.254 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.6836, allocations: 480.7 kB / 0.7601 GB, free: 8.781 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.6852, allocations: 1.324 MB / 0.7613 GB, free: 8.41 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/0.688, allocations: 5.892 MB / 0.7671 GB, free: 1.762 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008281/0.6963, allocations: 8.075 MB / 0.775 GB, free: 8.855 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/0.6963, allocations: 20 kB / 0.775 GB, free: 8.836 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.009381/0.7057, allocations: 6.758 MB / 0.7816 GB, free: 2.539 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.7057, allocations: 38.66 kB / 0.7816 GB, free: 2.504 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006543/0.7123, allocations: 4.227 MB / 0.7858 GB, free: 14.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0216/0.7339, allocations: 4.029 MB / 0.7897 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005424/0.7393, allocations: 2.235 MB / 0.7919 GB, free: 8.348 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007012/0.7463, allocations: 12.93 MB / 0.8045 GB, free: 10.91 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004638/0.7509, allocations: 318 kB / 0.8048 GB, free: 10.6 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/0.752, allocations: 487.6 kB / 0.8053 GB, free: 10.12 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003861/0.7559, allocations: 1.519 MB / 0.8068 GB, free: 8.605 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004546/0.7604, allocations: 5.875 MB / 0.8125 GB, free: 1.219 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008528/0.7689, allocations: 8.016 MB / 0.8203 GB, free: 8.367 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.004e-05/0.769, allocations: 20 kB / 0.8203 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.01054/0.7795, allocations: 6.739 MB / 0.8269 GB, free: 1.965 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.7795, allocations: 36 kB / 0.827 GB, free: 1.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005757/0.7853, allocations: 4.17 MB / 0.831 GB, free: 13.71 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02132/0.8066, allocations: 3.936 MB / 0.8349 GB, free: 9.949 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005176/0.8118, allocations: 2.228 MB / 0.8371 GB, free: 7.723 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007318/0.8191, allocations: 12.91 MB / 0.8497 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/0.8237, allocations: 316.2 kB / 0.85 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006513/0.8244, allocations: 483.6 kB / 0.8504 GB, free: 9.426 MB / 0.6355 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.001888/0.8263, allocations: 0.7707 MB / 0.8512 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/0.8278, allocations: 0.8141 MB / 0.852 GB, free: 7.832 MB / 0.6355 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.01111/0.839, allocations: 9.246 MB / 0.861 GB, free: 15.23 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.836650338023901]