Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple.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.02244/0.02244, allocations: 1.792 MB / 21.15 MB, free: 3.246 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.002388/0.002388, allocations: 77.73 kB / 24.88 MB, free: 5.766 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.002776/0.002776, allocations: 162.8 kB / 28.74 MB, free: 3.359 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.537/1.537, allocations: 177.2 MB / 209.6 MB, free: 2.41 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.186/1.186, allocations: 102.5 MB / 369.1 MB, free: 0.8711 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.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tubeBundle_L2_Simple.h.1.|tubeBundle_L2_Simple.p.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") translateModel(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tubeBundle_L2_Simple.h.1.|tubeBundle_L2_Simple.p.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 469.1 MB, free: 12.95 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.441e-05/3.625e-05, allocations: 2.312 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.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.2057/0.2057, allocations: 58.32 MB / 0.5151 GB, free: 2.613 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.327/0.5328, allocations: 16.45 MB / 0.5312 GB, free: 68.81 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.535, allocations: 56.03 kB / 0.5312 GB, free: 68.79 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.5387, allocations: 1.412 MB / 0.5326 GB, free: 68.19 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.5424, allocations: 1.559 MB / 0.5341 GB, free: 67.29 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00415/0.5465, allocations: 1.789 MB / 0.5359 GB, free: 66.38 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.004532/0.5511, allocations: 3.631 MB / 0.5394 GB, free: 64.7 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.5525, allocations: 0.9365 MB / 0.5403 GB, free: 64.1 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/0.5551, allocations: 1.88 MB / 0.5422 GB, free: 63.31 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.5573, allocations: 1.446 MB / 0.5436 GB, free: 62.85 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004048/0.5577, allocations: 200.1 kB / 0.5438 GB, free: 62.85 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.5608, allocations: 1.09 MB / 0.5448 GB, free: 62.54 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0009363/0.5618, allocations: 0.8472 MB / 0.5457 GB, free: 62.1 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.5629, allocations: 0.7166 MB / 0.5464 GB, free: 61.77 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.007268/0.5702, allocations: 3.861 MB / 0.5501 GB, free: 60.41 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.5702, allocations: 0.75 kB / 0.5501 GB, free: 60.41 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5702, allocations: 0.6562 kB / 0.5501 GB, free: 60.41 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.781e-05/0.5702, allocations: 2.188 kB / 0.5501 GB, free: 60.41 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.007665/0.5779, allocations: 3.226 MB / 0.5533 GB, free: 58.39 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.578, allocations: 9.531 kB / 0.5533 GB, free: 58.39 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.5792, allocations: 401.2 kB / 0.5537 GB, free: 58.21 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/0.5841, allocations: 2.275 MB / 0.5559 GB, free: 57.12 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/0.5842, allocations: 73.44 kB / 0.556 GB, free: 57.09 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.5844, allocations: 110 kB / 0.5561 GB, free: 57.05 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005345/0.5897, allocations: 2.877 MB / 0.5589 GB, free: 55.05 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.5898, allocations: 17.94 kB / 0.5589 GB, free: 55.04 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.5899, allocations: 49.39 kB / 0.559 GB, free: 55.01 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.59, allocations: 63.14 kB / 0.559 GB, free: 55.01 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004268/0.5942, allocations: 1.608 MB / 0.5606 GB, free: 54.61 MB / 490.8 MB 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.01109/0.6053, allocations: 14.83 MB / 0.5751 GB, free: 41.13 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/0.6097, allocations: 1.53 MB / 0.5766 GB, free: 40.29 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000982/0.6107, allocations: 479.7 kB / 0.577 GB, free: 40.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/0.611, allocations: 75.73 kB / 0.5771 GB, free: 40.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003184/0.6141, allocations: 1.457 MB / 0.5785 GB, free: 39.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=195): time 3.386e-06/0.6141, allocations: 1 kB / 0.5785 GB, free: 39.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=195): time 0.008125/0.6223, allocations: 3.074 MB / 0.5815 GB, free: 37.8 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.6224, allocations: 435.8 kB / 0.5819 GB, free: 37.27 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002737/0.6251, allocations: 2.298 MB / 0.5842 GB, free: 34.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.6252, allocations: 41.7 kB / 0.5842 GB, free: 34.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006101/0.6259, allocations: 1.039 MB / 0.5852 GB, free: 33.83 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004854/0.6263, allocations: 0.7169 MB / 0.5859 GB, free: 33.11 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006733/0.627, allocations: 0.5327 MB / 0.5864 GB, free: 32.56 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.6271, allocations: 481.7 kB / 0.5869 GB, free: 32.09 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.6281, allocations: 0.709 MB / 0.5876 GB, free: 31.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.6297, allocations: 1.762 MB / 0.5893 GB, free: 29.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003625/0.6333, allocations: 3.176 MB / 0.5924 GB, free: 25.66 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.6333, allocations: 4 kB / 0.5924 GB, free: 25.66 MB / 490.8 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004239/0.6375, allocations: 2.502 MB / 0.5949 GB, free: 23.15 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.6376, allocations: 41.7 kB / 0.5949 GB, free: 23.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002466/0.64, allocations: 1.586 MB / 0.5965 GB, free: 21.49 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003793/0.6404, allocations: 85.2 kB / 0.5965 GB, free: 21.41 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.6419, allocations: 0.5537 MB / 0.5971 GB, free: 20.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.643, allocations: 1.868 MB / 0.5989 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.6448, allocations: 223.4 kB / 0.5991 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.645, allocations: 136.5 kB / 0.5992 GB, free: 18.52 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] tubeBundle_L2_Simple.p[1]:VARIABLE(min = 0.0 start = tubeBundle_L2_Simple.p_start_internal[1] unit = \"Pa\" fixed = true nominal = 1e5 protected = true ) \"Cell pressure\" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002256/0.6473, allocations: 1.045 MB / 0.6003 GB, free: 17.47 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001662/0.6489, allocations: 1.758 MB / 0.602 GB, free: 15.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003904/0.6529, allocations: 3.166 MB / 0.6051 GB, free: 11.78 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.457e-05/0.6529, allocations: 4 kB / 0.6051 GB, free: 11.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.00456/0.6574, allocations: 2.499 MB / 0.6075 GB, free: 9.266 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.6575, allocations: 38.48 kB / 0.6076 GB, free: 9.223 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002617/0.6601, allocations: 1.581 MB / 0.6091 GB, free: 7.621 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/0.6605, allocations: 86.28 kB / 0.6092 GB, free: 7.535 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.662, allocations: 0.5499 MB / 0.6097 GB, free: 6.984 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.6632, allocations: 1.869 MB / 0.6115 GB, free: 5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.6651, allocations: 189.5 kB / 0.6117 GB, free: 4.816 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/0.6654, allocations: 135.9 kB / 0.6119 GB, free: 4.684 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.h_start[1] unit = \"J/kg\" fixed = true nominal = 1000.0 stateSelect=StateSelect.prefer protected = true ) \"Cell enthalpy\" type: Real [1] tubeBundle_L2_Simple.p[1]:VARIABLE(min = 0.0 start = tubeBundle_L2_Simple.p_start_internal[1] unit = \"Pa\" fixed = true nominal = 1e5 protected = true ) \"Cell pressure\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.MassFlow.count,$PRE.MassFlow.T_start,MassFlow.count,MassFlow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007994/0.6662, allocations: 417.2 kB / 0.6123 GB, free: 4.277 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/0.6674, allocations: 254.4 kB / 0.6125 GB, free: 4.027 MB / 490.8 MB 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 286 equation(s) and 271 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (tubeBundle_L2_Simple.fluidInlet.VLE.d_l, tubeBundle_L2_Simple.fluidInlet.VLE.h_l, tubeBundle_L2_Simple.fluidInlet.VLE.p_l, tubeBundle_L2_Simple.fluidInlet.VLE.s_l, tubeBundle_L2_Simple.fluidInlet.VLE.T_l, _, tubeBundle_L2_Simple.fluidInlet.VLE.d_v, tubeBundle_L2_Simple.fluidInlet.VLE.h_v, tubeBundle_L2_Simple.fluidInlet.VLE.p_v, tubeBundle_L2_Simple.fluidInlet.VLE.s_v, tubeBundle_L2_Simple.fluidInlet.VLE.T_v, _) = ($cse81, $cse82, $cse83, $cse84, $cse85, $cse86, $cse87, $cse88, $cse89, $cse90, $cse91, $cse92) has size 10 but 2 variables (massFlowSink.fluidOut.T, massFlowSink.eye_int[1].T) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/0.6719, allocations: 2.215 MB / 0.6147 GB, free: 1.914 MB / 490.8 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.613343902048655]