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.008663/0.008663, 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.00127/0.00127, allocations: 79.17 kB / 26.19 MB, free: 6.078 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.001551/0.001551, allocations: 168.8 kB / 30.12 MB, free: 2.184 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.9577/0.9577, allocations: 177.2 MB / 211.1 MB, free: 3.441 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.6536/0.6536, allocations: 102.4 MB / 370.6 MB, free: 168 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 1.683e-06/1.683e-06, allocations: 0 / 471.2 MB, free: 18.85 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.134e-05, allocations: 4.656 kB / 471.2 MB, free: 18.85 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.1417/0.1417, allocations: 72.45 MB / 0.5309 GB, free: 15.15 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03208/0.1738, allocations: 23.29 MB / 0.5537 GB, free: 7.801 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005282/0.1791, allocations: 127.1 kB / 0.5538 GB, free: 7.676 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006262/0.1853, allocations: 2.706 MB / 0.5564 GB, free: 4.957 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009553/0.1949, allocations: 4.02 MB / 0.5603 GB, free: 0.9141 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007501/0.2024, allocations: 3.769 MB / 0.564 GB, free: 13.14 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01353/0.2159, allocations: 12.81 MB / 0.5765 GB, free: 300 kB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005976/0.2219, allocations: 3.929 MB / 0.5804 GB, free: 12.29 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1005/0.3224, allocations: 42.75 MB / 0.6221 GB, free: 2.82 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008289/0.3307, allocations: 4.406 MB / 0.6264 GB, free: 14.4 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003481/0.3342, allocations: 0.7617 MB / 0.6272 GB, free: 13.64 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008107/0.3423, allocations: 2.409 MB / 0.6295 GB, free: 11.23 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.004666/0.3469, allocations: 2.648 MB / 0.6321 GB, free: 8.57 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.007164/0.3541, allocations: 2.669 MB / 0.6347 GB, free: 5.895 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2564/0.6105, allocations: 8.477 MB / 0.643 GB, free: 79.48 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.6105, allocations: 0 / 0.643 GB, free: 79.48 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6105, allocations: 2.719 kB / 0.643 GB, free: 79.48 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.000353/0.6109, allocations: 0 / 0.643 GB, free: 79.48 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.01334/0.6242, allocations: 8.732 MB / 0.6515 GB, free: 75.87 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.6243, allocations: 8.812 kB / 0.6515 GB, free: 75.87 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.6265, allocations: 1.277 MB / 0.6528 GB, free: 75.39 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006442/0.6329, allocations: 4.711 MB / 0.6574 GB, free: 74.27 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.6331, allocations: 309.9 kB / 0.6577 GB, free: 74.26 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007018/0.6338, allocations: 432.1 kB / 0.6581 GB, free: 74.26 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01355/0.6474, allocations: 10.5 MB / 0.6683 GB, free: 67.71 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.6475, allocations: 47.06 kB / 0.6684 GB, free: 67.71 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004624/0.6479, allocations: 203.8 kB / 0.6686 GB, free: 67.71 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002917/0.6482, allocations: 395 kB / 0.6689 GB, free: 67.7 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.6583, allocations: 4.729 MB / 0.6736 GB, free: 67.59 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.0337/0.6919, allocations: 53.97 MB / 0.7263 GB, free: 25.92 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.7027, allocations: 4.749 MB / 0.7309 GB, free: 24.23 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/0.7055, allocations: 1.224 MB / 0.7321 GB, free: 23.79 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/0.7061, allocations: 292.5 kB / 0.7324 GB, free: 23.72 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.015e-05/0.7062, allocations: 109.2 kB / 0.7325 GB, free: 23.67 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=816): time 5.992e-06/0.7062, allocations: 0 / 0.7325 GB, free: 23.67 MB / 0.5418 GB Notification: Performance of matching and sorting (n=817): time 0.03823/0.7444, allocations: 13.86 MB / 0.746 GB, free: 18.86 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002221/0.7446, allocations: 1.501 MB / 0.7475 GB, free: 17.05 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005858/0.7505, allocations: 4.939 MB / 0.7523 GB, free: 15.02 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.001458/0.7519, allocations: 90.83 kB / 0.7524 GB, free: 14.95 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.7535, allocations: 3.101 MB / 0.7554 GB, free: 12.47 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002902/0.7564, allocations: 2.896 MB / 0.7583 GB, free: 10.1 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002763/0.7592, allocations: 1.945 MB / 0.7602 GB, free: 9.145 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.263e-05/0.7592, allocations: 480.7 kB / 0.7606 GB, free: 8.672 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.7614, allocations: 1.329 MB / 0.7619 GB, free: 8.301 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003604/0.765, allocations: 5.897 MB / 0.7677 GB, free: 1.707 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009983/0.775, allocations: 8.056 MB / 0.7755 GB, free: 8.809 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.953e-05/0.775, allocations: 20 kB / 0.7756 GB, free: 8.789 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01482/0.7898, allocations: 6.759 MB / 0.7822 GB, free: 2.496 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.7899, allocations: 36 kB / 0.7822 GB, free: 2.461 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007135/0.797, allocations: 4.22 MB / 0.7863 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02278/0.8198, allocations: 4.014 MB / 0.7902 GB, free: 10.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005906/0.8257, allocations: 2.24 MB / 0.7924 GB, free: 8.316 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007716/0.8334, allocations: 12.92 MB / 0.805 GB, free: 10.88 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005611/0.839, allocations: 321.9 kB / 0.8053 GB, free: 10.57 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001885/0.8409, allocations: 491.6 kB / 0.8058 GB, free: 10.09 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.005039/0.846, allocations: 1.514 MB / 0.8073 GB, free: 8.574 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004423/0.8504, allocations: 5.877 MB / 0.813 GB, free: 1.191 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01129/0.8617, allocations: 8.012 MB / 0.8209 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.035e-05/0.8617, allocations: 20 kB / 0.8209 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.01048/0.8722, allocations: 6.729 MB / 0.8274 GB, free: 1.965 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.8722, allocations: 32 kB / 0.8275 GB, free: 1.934 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00603/0.8783, allocations: 4.171 MB / 0.8316 GB, free: 13.71 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02298/0.9012, allocations: 3.929 MB / 0.8354 GB, free: 9.957 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004499/0.9057, allocations: 2.239 MB / 0.8376 GB, free: 7.723 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00659/0.9123, allocations: 12.9 MB / 0.8502 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004086/0.9164, allocations: 320.1 kB / 0.8505 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000659/0.9171, allocations: 479.6 kB / 0.8509 GB, free: 9.441 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.0021/0.9192, allocations: 0.774 MB / 0.8517 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/0.9213, allocations: 0.8076 MB / 0.8525 GB, free: 7.848 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.01069/0.932, allocations: 9.247 MB / 0.8615 GB, free: 15.31 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.009423302020878]