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.01619/0.01619, allocations: 1.454 MB / 20.8 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.01001/0.01001, allocations: 79.31 kB / 24.44 MB, free: 7.539 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.002199/0.002199, allocations: 154.6 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.486/1.486, allocations: 177.2 MB / 209 MB, free: 2.785 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.092/1.092, allocations: 102.5 MB / 368.3 MB, free: 1.227 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 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_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 3.026e-06/3.026e-06, allocations: 0 / 468.3 MB, free: 13.45 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.14e-05/4.442e-05, allocations: 2.312 kB / 468.3 MB, free: 13.45 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.2125/0.2126, allocations: 57.14 MB / 0.5131 GB, free: 4.289 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2451/0.4577, allocations: 15.91 MB / 0.5287 GB, free: 70.73 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002647/0.4603, allocations: 58.41 kB / 0.5287 GB, free: 70.71 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004121/0.4644, allocations: 1.404 MB / 0.5301 GB, free: 70.12 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004877/0.4693, allocations: 1.559 MB / 0.5316 GB, free: 69.22 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005626/0.475, allocations: 1.79 MB / 0.5334 GB, free: 68.31 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.004618/0.4796, allocations: 3.635 MB / 0.5369 GB, free: 66.63 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.4814, allocations: 0.9266 MB / 0.5378 GB, free: 66.04 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.4853, allocations: 1.896 MB / 0.5397 GB, free: 65.24 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002577/0.4879, allocations: 1.472 MB / 0.5411 GB, free: 64.77 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0007347/0.4886, allocations: 202.1 kB / 0.5413 GB, free: 64.77 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09244/0.5811, allocations: 16.53 MB / 0.5574 GB, free: 55.55 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.5825, allocations: 0.8431 MB / 0.5583 GB, free: 55.13 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.584, allocations: 0.7256 MB / 0.559 GB, free: 54.8 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.006982/0.591, allocations: 3.868 MB / 0.5628 GB, free: 53.43 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.591, allocations: 1.469 kB / 0.5628 GB, free: 53.43 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.472e-06/0.591, allocations: 0 / 0.5628 GB, free: 53.43 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.778e-05/0.591, allocations: 0 / 0.5628 GB, free: 53.43 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.005994/0.597, allocations: 2.893 MB / 0.5656 GB, free: 51.65 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5971, allocations: 9.875 kB / 0.5656 GB, free: 51.65 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.5982, allocations: 393.1 kB / 0.566 GB, free: 51.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/0.6027, allocations: 2.636 MB / 0.5685 GB, free: 50.2 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.6028, allocations: 73.39 kB / 0.5686 GB, free: 50.17 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.603, allocations: 106.4 kB / 0.5687 GB, free: 50.13 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004921/0.6079, allocations: 2.683 MB / 0.5713 GB, free: 48.32 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.6079, allocations: 15.25 kB / 0.5713 GB, free: 48.31 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.608, allocations: 48.91 kB / 0.5714 GB, free: 48.29 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.572e-05/0.6081, allocations: 62.59 kB / 0.5715 GB, free: 48.27 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/0.6123, allocations: 1.808 MB / 0.5732 GB, free: 47.39 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.007884/0.6202, allocations: 10.38 MB / 0.5834 GB, free: 37.91 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004147/0.6243, allocations: 1.741 MB / 0.5851 GB, free: 36.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000976/0.6253, allocations: 0.6012 MB / 0.5856 GB, free: 35.5 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.6255, allocations: 72.61 kB / 0.5857 GB, free: 35.43 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003155/0.6286, allocations: 1.469 MB / 0.5872 GB, free: 33.92 MB / 490.8 MB Notification: Performance of pre-optimization done (n=195): time 3.436e-06/0.6286, allocations: 0 / 0.5872 GB, free: 33.92 MB / 490.8 MB Notification: Performance of matching and sorting (n=195): time 0.008562/0.6372, allocations: 3.494 MB / 0.5906 GB, free: 30.42 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.6373, allocations: 431.8 kB / 0.591 GB, free: 29.9 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.64, allocations: 1.935 MB / 0.5929 GB, free: 27.92 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.6402, allocations: 41.7 kB / 0.5929 GB, free: 27.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005883/0.6408, allocations: 0.8476 MB / 0.5937 GB, free: 27.02 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/0.6412, allocations: 0.6647 MB / 0.5944 GB, free: 26.35 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000607/0.6418, allocations: 443.5 kB / 0.5948 GB, free: 25.91 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.6419, allocations: 301.1 kB / 0.5951 GB, free: 25.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.6432, allocations: 0.8856 MB / 0.596 GB, free: 24.71 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.6449, allocations: 1.599 MB / 0.5975 GB, free: 22.81 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007198/0.6521, allocations: 4.1 MB / 0.6015 GB, free: 18.46 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-05/0.6521, allocations: 4 kB / 0.6015 GB, free: 18.46 MB / 490.8 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005134/0.6573, allocations: 2.82 MB / 0.6043 GB, free: 15.63 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.6573, allocations: 41.7 kB / 0.6043 GB, free: 15.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003264/0.6606, allocations: 1.96 MB / 0.6062 GB, free: 13.61 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004342/0.661, allocations: 103.4 kB / 0.6063 GB, free: 13.51 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.6627, allocations: 0.5538 MB / 0.6069 GB, free: 12.95 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.664, allocations: 1.527 MB / 0.6084 GB, free: 11.33 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.6657, allocations: 241 kB / 0.6086 GB, free: 11.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/0.6659, allocations: 135.9 kB / 0.6087 GB, free: 10.96 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.002281/0.6682, allocations: 1.345 MB / 0.61 GB, free: 9.613 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001584/0.6697, allocations: 1.577 MB / 0.6116 GB, free: 7.727 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006693/0.6764, allocations: 4.05 MB / 0.6155 GB, free: 3.434 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.83e-05/0.6765, allocations: 7.938 kB / 0.6155 GB, free: 3.426 MB / 490.8 MB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.004724/0.6812, allocations: 2.816 MB / 0.6183 GB, free: 0.5977 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.6812, allocations: 37.7 kB / 0.6183 GB, free: 0.5547 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003887/0.6851, allocations: 1.933 MB / 0.6202 GB, free: 14.61 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.6855, allocations: 111.4 kB / 0.6203 GB, free: 14.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.6875, allocations: 0.5538 MB / 0.6209 GB, free: 13.94 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.6894, allocations: 1.512 MB / 0.6223 GB, free: 12.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.6912, allocations: 205.4 kB / 0.6225 GB, free: 12.12 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/0.6916, allocations: 135.9 kB / 0.6227 GB, free: 11.99 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.0007861/0.6923, allocations: 327 kB / 0.623 GB, free: 11.67 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009875/0.6933, allocations: 250.4 kB / 0.6232 GB, free: 11.42 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.005553/0.6989, allocations: 2.4 MB / 0.6256 GB, free: 9.121 MB / 0.4949 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.412545353989117]