Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01421/0.01421, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001191/0.001191, allocations: 84.91 kB / 25.4 MB, free: 7 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.001351/0.001351, allocations: 156.3 kB / 29.33 MB, free: 3.137 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.9418/0.9418, allocations: 177.1 MB / 210.3 MB, free: 3.449 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6372/0.6372, allocations: 102.4 MB / 369.8 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 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.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_dev_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_dev_ClaRa.Components.MechanicalSeparation.Check.TestDrum") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.049e-05, allocations: 2.859 kB / 470.4 MB, free: 18.84 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.1503/0.1503, allocations: 72.47 MB / 0.5302 GB, free: 15.15 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02905/0.1794, allocations: 23.28 MB / 0.5529 GB, free: 7.809 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004162/0.1835, allocations: 119.1 kB / 0.553 GB, free: 7.691 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004748/0.1883, allocations: 2.706 MB / 0.5557 GB, free: 4.973 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007572/0.1958, allocations: 4.031 MB / 0.5596 GB, free: 0.918 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006036/0.2019, allocations: 3.769 MB / 0.5633 GB, free: 13.14 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0104/0.2123, allocations: 12.8 MB / 0.5758 GB, free: 312 kB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004503/0.2168, allocations: 3.933 MB / 0.5796 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0929/0.3097, allocations: 42.76 MB / 0.6214 GB, free: 2.809 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006264/0.3159, allocations: 4.394 MB / 0.6257 GB, free: 14.4 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001067/0.317, allocations: 0.7617 MB / 0.6264 GB, free: 13.64 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003854/0.3209, allocations: 2.413 MB / 0.6288 GB, free: 11.22 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.3223, allocations: 2.648 MB / 0.6313 GB, free: 8.566 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002461/0.3248, allocations: 2.665 MB / 0.634 GB, free: 5.895 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2335/0.5583, allocations: 8.476 MB / 0.6422 GB, free: 79.63 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.5583, allocations: 0 / 0.6422 GB, free: 79.63 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5583, allocations: 0.6562 kB / 0.6422 GB, free: 79.63 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004248/0.5587, allocations: 2.688 kB / 0.6422 GB, free: 79.63 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.01579/0.5745, allocations: 8.73 MB / 0.6508 GB, free: 76.02 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.5746, allocations: 12.62 kB / 0.6508 GB, free: 76.02 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.5768, allocations: 1.277 MB / 0.652 GB, free: 75.54 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006378/0.5832, allocations: 4.714 MB / 0.6566 GB, free: 74.42 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.5834, allocations: 304.6 kB / 0.6569 GB, free: 74.41 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005571/0.5839, allocations: 432.1 kB / 0.6573 GB, free: 74.41 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.5961, allocations: 10.5 MB / 0.6676 GB, free: 67.86 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.5962, allocations: 51.42 kB / 0.6676 GB, free: 67.86 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004822/0.5967, allocations: 203.5 kB / 0.6678 GB, free: 67.86 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002806/0.5969, allocations: 395.9 kB / 0.6682 GB, free: 67.85 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.608, allocations: 4.722 MB / 0.6728 GB, free: 67.74 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.04373/0.6517, allocations: 53.98 MB / 0.7255 GB, free: 26.04 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.6626, allocations: 4.744 MB / 0.7301 GB, free: 24.34 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002561/0.6652, allocations: 1.225 MB / 0.7313 GB, free: 23.9 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000712/0.6659, allocations: 456 kB / 0.7318 GB, free: 23.84 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.768e-05/0.666, allocations: 109.3 kB / 0.7319 GB, free: 23.79 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=816): time 7.804e-06/0.666, allocations: 2.625 kB / 0.7319 GB, free: 23.79 MB / 0.5418 GB Notification: Performance of matching and sorting (n=817): time 0.03571/0.7017, allocations: 13.89 MB / 0.7454 GB, free: 19.01 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002645/0.7019, allocations: 1.497 MB / 0.7469 GB, free: 17.21 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005765/0.7077, allocations: 4.935 MB / 0.7517 GB, free: 15.18 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.001351/0.7091, allocations: 93.27 kB / 0.7518 GB, free: 15.11 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001502/0.7106, allocations: 3.098 MB / 0.7548 GB, free: 12.63 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002762/0.7133, allocations: 2.898 MB / 0.7577 GB, free: 10.26 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00273/0.716, allocations: 1.94 MB / 0.7596 GB, free: 9.305 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.7161, allocations: 480.7 kB / 0.76 GB, free: 8.832 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.718, allocations: 1.327 MB / 0.7613 GB, free: 8.461 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003252/0.7213, allocations: 5.893 MB / 0.7671 GB, free: 1.777 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009678/0.731, allocations: 8.064 MB / 0.775 GB, free: 8.879 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-05/0.731, allocations: 26.66 kB / 0.775 GB, free: 8.855 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01302/0.744, allocations: 6.763 MB / 0.7816 GB, free: 2.555 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/0.7441, allocations: 36 kB / 0.7816 GB, free: 2.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007211/0.7513, allocations: 4.233 MB / 0.7857 GB, free: 14.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0216/0.7729, allocations: 4.013 MB / 0.7897 GB, free: 10.47 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005767/0.7787, allocations: 2.242 MB / 0.7919 GB, free: 8.363 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007693/0.7864, allocations: 12.93 MB / 0.8045 GB, free: 10.93 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004902/0.7913, allocations: 319.3 kB / 0.8048 GB, free: 10.61 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001684/0.7929, allocations: 487.6 kB / 0.8053 GB, free: 10.14 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.004995/0.7979, allocations: 1.512 MB / 0.8067 GB, free: 8.617 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004958/0.8029, allocations: 5.879 MB / 0.8125 GB, free: 1.238 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0117/0.8146, allocations: 8.017 MB / 0.8203 GB, free: 8.387 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-05/0.8147, allocations: 20 kB / 0.8203 GB, free: 8.367 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.01425/0.8289, allocations: 6.729 MB / 0.8269 GB, free: 1.969 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.8289, allocations: 32 kB / 0.8269 GB, free: 1.938 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007803/0.8368, allocations: 4.184 MB / 0.831 GB, free: 13.71 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0214/0.8581, allocations: 3.937 MB / 0.8348 GB, free: 9.949 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006273/0.8644, allocations: 2.236 MB / 0.837 GB, free: 7.715 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009004/0.8734, allocations: 12.9 MB / 0.8496 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007065/0.8805, allocations: 321.5 kB / 0.8499 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00225/0.8827, 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.003494/0.8862, allocations: 0.7725 MB / 0.8512 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003924/0.8902, allocations: 0.8037 MB / 0.8519 GB, free: 7.836 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.01574/0.9059, allocations: 9.256 MB / 0.861 GB, free: 15.24 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8005491602234542]