Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01204/0.01204, allocations: 1.454 MB / 20.81 MB, free: 3.617 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.007195/0.007195, allocations: 73.47 kB / 24.44 MB, free: 7.531 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.001484/0.001484, allocations: 159.9 kB / 28.19 MB, free: 4.672 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.453/1.453, allocations: 177.2 MB / 209 MB, free: 2.812 MB / 186.7 MB " [Timeout remaining time 178] 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 1.088/1.088, allocations: 102.5 MB / 368.3 MB, free: 1.324 MB / 330.8 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 0.5.2 (/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_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_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 468.3 MB, free: 13.54 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.301e-05, allocations: 2.312 kB / 468.3 MB, free: 13.54 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.1787/0.1787, allocations: 57.15 MB / 0.5131 GB, free: 4.336 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2751/0.4538, allocations: 15.91 MB / 0.5287 GB, free: 70.56 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.4555, allocations: 52.53 kB / 0.5287 GB, free: 70.54 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00317/0.4587, allocations: 1.414 MB / 0.5301 GB, free: 69.94 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003139/0.4619, allocations: 1.549 MB / 0.5316 GB, free: 69.05 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.4658, allocations: 1.792 MB / 0.5334 GB, free: 68.14 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.004137/0.4699, allocations: 3.636 MB / 0.5369 GB, free: 66.45 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.4712, allocations: 0.9321 MB / 0.5378 GB, free: 65.85 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.4737, allocations: 1.886 MB / 0.5397 GB, free: 65.07 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.4758, allocations: 1.472 MB / 0.5411 GB, free: 64.59 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.000452/0.4763, allocations: 203.6 kB / 0.5413 GB, free: 64.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0927/0.569, allocations: 16.53 MB / 0.5575 GB, free: 55.35 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.571, allocations: 0.842 MB / 0.5583 GB, free: 54.93 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003532/0.5746, allocations: 0.7251 MB / 0.559 GB, free: 54.59 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009867/0.5844, allocations: 3.867 MB / 0.5628 GB, free: 53.22 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.5844, allocations: 0.9375 kB / 0.5628 GB, free: 53.22 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5844, allocations: 0 / 0.5628 GB, free: 53.22 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001548/0.5846, allocations: 2.25 kB / 0.5628 GB, free: 53.22 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.009922/0.5945, allocations: 2.893 MB / 0.5656 GB, free: 51.44 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5946, allocations: 9.219 kB / 0.5656 GB, free: 51.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.5965, allocations: 396.6 kB / 0.566 GB, free: 51.27 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006131/0.6026, allocations: 2.641 MB / 0.5686 GB, free: 49.99 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.445e-05/0.6027, allocations: 73.83 kB / 0.5686 GB, free: 49.96 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.6029, allocations: 105 kB / 0.5687 GB, free: 49.92 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005274/0.6081, allocations: 2.682 MB / 0.5714 GB, free: 48.13 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.349e-05/0.6082, allocations: 19.25 kB / 0.5714 GB, free: 48.12 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.6083, allocations: 45.59 kB / 0.5714 GB, free: 48.09 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.852e-05/0.6084, allocations: 62.06 kB / 0.5715 GB, free: 48.08 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004212/0.6126, allocations: 1.815 MB / 0.5732 GB, free: 47.19 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.009324/0.6219, allocations: 10.38 MB / 0.5834 GB, free: 37.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004376/0.6263, allocations: 1.744 MB / 0.5851 GB, free: 36.04 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.6273, allocations: 0.5973 MB / 0.5857 GB, free: 35.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.6275, allocations: 68.61 kB / 0.5857 GB, free: 35.36 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003289/0.6308, allocations: 1.469 MB / 0.5872 GB, free: 33.85 MB / 490.8 MB Notification: Performance of pre-optimization done (n=195): time 4.949e-06/0.6308, allocations: 0 / 0.5872 GB, free: 33.85 MB / 490.8 MB Notification: Performance of matching and sorting (n=195): time 0.008751/0.6396, allocations: 3.493 MB / 0.5906 GB, free: 30.35 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.6397, allocations: 431.8 kB / 0.591 GB, free: 29.83 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/0.6432, allocations: 1.935 MB / 0.5929 GB, free: 27.85 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.6433, allocations: 41.7 kB / 0.5929 GB, free: 27.8 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/0.644, allocations: 0.8541 MB / 0.5938 GB, free: 26.94 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005719/0.6446, allocations: 0.6582 MB / 0.5944 GB, free: 26.28 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007551/0.6453, allocations: 443.5 kB / 0.5948 GB, free: 25.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.6454, allocations: 301.1 kB / 0.5951 GB, free: 25.54 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.6468, allocations: 0.8856 MB / 0.596 GB, free: 24.64 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.6485, allocations: 1.599 MB / 0.5975 GB, free: 22.74 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007112/0.6556, allocations: 4.093 MB / 0.6015 GB, free: 18.39 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.022e-05/0.6556, allocations: 4 kB / 0.6015 GB, free: 18.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00491/0.6605, allocations: 2.828 MB / 0.6043 GB, free: 15.56 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.6606, allocations: 41.7 kB / 0.6043 GB, free: 15.51 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003096/0.6637, allocations: 1.956 MB / 0.6062 GB, free: 13.54 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003957/0.6641, allocations: 103.4 kB / 0.6063 GB, free: 13.44 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.6657, allocations: 0.5602 MB / 0.6069 GB, free: 12.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.6668, allocations: 1.52 MB / 0.6084 GB, free: 11.26 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.6688, allocations: 237 kB / 0.6086 GB, free: 11.03 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/0.669, allocations: 131.9 kB / 0.6087 GB, free: 10.9 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.mechanicalEquilibrium.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.002465/0.6715, allocations: 1.349 MB / 0.61 GB, free: 9.547 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001717/0.6732, allocations: 1.589 MB / 0.6116 GB, free: 7.648 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006784/0.68, allocations: 4.042 MB / 0.6155 GB, free: 3.367 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.003e-05/0.68, allocations: 10.66 kB / 0.6156 GB, free: 3.359 MB / 490.8 MB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.004915/0.6849, allocations: 2.817 MB / 0.6183 GB, free: 0.5273 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.685, allocations: 37.7 kB / 0.6183 GB, free: 496 kB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003882/0.6889, allocations: 1.933 MB / 0.6202 GB, free: 14.53 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003895/0.6892, allocations: 107.4 kB / 0.6203 GB, free: 14.43 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/0.6912, allocations: 0.5564 MB / 0.6209 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.693, allocations: 1.514 MB / 0.6224 GB, free: 12.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.6949, allocations: 201.4 kB / 0.6225 GB, free: 12.05 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/0.6952, allocations: 135.9 kB / 0.6227 GB, free: 11.92 MB / 0.4949 GB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.mechanicalEquilibrium.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.000803/0.696, allocations: 326.1 kB / 0.623 GB, free: 11.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/0.6971, allocations: 250.5 kB / 0.6232 GB, free: 11.36 MB / 0.4949 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 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.0054/0.7025, allocations: 2.412 MB / 0.6256 GB, free: 9.043 MB / 0.4949 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.383518329937942]