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.0118/0.0118, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.001207/0.001207, allocations: 81.88 kB / 25.15 MB, free: 7.465 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.001012/0.001012, allocations: 164 kB / 29.05 MB, free: 3.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 0.9827/0.9827, allocations: 177.2 MB / 210 MB, free: 3.586 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6206/0.6206, allocations: 102.5 MB / 369.5 MB, free: 376 kB / 330.7 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 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.[0-9,]+.|tubeBundle_L2_Simple.p.[0-9,]+.",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.[0-9,]+.|tubeBundle_L2_Simple.p.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 470 MB, free: 19.01 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.974e-05, allocations: 2.312 kB / 470 MB, free: 19 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.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.109/0.109, allocations: 60.7 MB / 0.5182 GB, free: 11.25 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01849/0.1275, allocations: 16.58 MB / 0.5344 GB, free: 10.63 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.1287, allocations: 51.62 kB / 0.5345 GB, free: 10.58 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002465/0.1312, allocations: 1.416 MB / 0.5359 GB, free: 9.164 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.1333, allocations: 1.554 MB / 0.5374 GB, free: 7.602 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.1364, allocations: 1.799 MB / 0.5391 GB, free: 5.797 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002925/0.1393, allocations: 3.631 MB / 0.5427 GB, free: 2.152 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.1404, allocations: 0.9408 MB / 0.5436 GB, free: 1.188 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.1421, allocations: 1.886 MB / 0.5454 GB, free: 15.3 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.1436, allocations: 1.447 MB / 0.5469 GB, free: 13.85 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002196/0.1438, allocations: 200 kB / 0.547 GB, free: 13.65 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.146, allocations: 1.099 MB / 0.5481 GB, free: 12.55 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.1465, allocations: 0.845 MB / 0.5489 GB, free: 11.7 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.1471, allocations: 0.7246 MB / 0.5497 GB, free: 10.98 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.1498, allocations: 2.803 MB / 0.5524 GB, free: 8.164 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1498, allocations: 0 / 0.5524 GB, free: 8.164 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1498, allocations: 0 / 0.5524 GB, free: 8.164 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.1498, allocations: 0 / 0.5524 GB, free: 8.164 MB / 474.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.003128/0.1529, allocations: 3.052 MB / 0.5554 GB, free: 5.055 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.153, allocations: 12.03 kB / 0.5554 GB, free: 5.043 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005874/0.1536, allocations: 391.1 kB / 0.5558 GB, free: 4.66 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.1563, allocations: 2.294 MB / 0.558 GB, free: 2.328 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/0.1564, allocations: 82.36 kB / 0.5581 GB, free: 2.246 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.1565, allocations: 100.4 kB / 0.5582 GB, free: 2.148 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.1592, allocations: 2.415 MB / 0.5605 GB, free: 15.26 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.1593, allocations: 15.88 kB / 0.5605 GB, free: 15.24 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.1593, allocations: 51.98 kB / 0.5606 GB, free: 15.19 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/0.1594, allocations: 61.28 kB / 0.5607 GB, free: 15.13 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.1614, allocations: 1.116 MB / 0.5617 GB, free: 14.02 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.007138/0.1685, allocations: 13.93 MB / 0.5753 GB, free: 15.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.1707, allocations: 1.204 MB / 0.5765 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.1711, allocations: 308.9 kB / 0.5768 GB, free: 13.97 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.1713, allocations: 80.55 kB / 0.5769 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/0.1731, allocations: 1.086 MB / 0.578 GB, free: 12.74 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=195): time 2.945e-06/0.1731, allocations: 0 / 0.578 GB, free: 12.74 MB / 0.4949 GB Notification: Performance of matching and sorting (n=195): time 0.004429/0.1775, allocations: 2.377 MB / 0.5803 GB, free: 10.36 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.1776, allocations: 435.8 kB / 0.5807 GB, free: 9.832 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.1793, allocations: 1.807 MB / 0.5825 GB, free: 7.977 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/0.1793, allocations: 41.7 kB / 0.5825 GB, free: 7.93 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005746/0.1799, allocations: 0.953 MB / 0.5834 GB, free: 6.961 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003933/0.1803, allocations: 0.6778 MB / 0.5841 GB, free: 6.277 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000461/0.1808, allocations: 477.5 kB / 0.5845 GB, free: 5.801 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002971/0.1811, allocations: 484.7 kB / 0.585 GB, free: 5.324 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005725/0.1816, allocations: 402.6 kB / 0.5854 GB, free: 4.922 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.1827, allocations: 1.386 MB / 0.5867 GB, free: 3.117 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.1848, allocations: 2.175 MB / 0.5889 GB, free: 0.5508 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.1848, allocations: 4 kB / 0.5889 GB, free: 0.5469 MB / 0.4949 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002343/0.1871, allocations: 1.87 MB / 0.5907 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.1872, allocations: 41.7 kB / 0.5907 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001698/0.1889, allocations: 1.066 MB / 0.5918 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.1892, allocations: 72 kB / 0.5918 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009854/0.1901, allocations: 0.5537 MB / 0.5924 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009849/0.1911, allocations: 1.791 MB / 0.5941 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/0.1918, allocations: 226.4 kB / 0.5944 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.1919, allocations: 144 kB / 0.5945 GB, free: 10.62 MB / 0.5105 GB 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.0008685/0.1928, allocations: 0.5367 MB / 0.595 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001037/0.1938, allocations: 1.379 MB / 0.5964 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00224/0.1961, allocations: 2.167 MB / 0.5985 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.422e-06/0.1961, allocations: 7.938 kB / 0.5985 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.002216/0.1983, allocations: 1.862 MB / 0.6003 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.1983, allocations: 37.7 kB / 0.6003 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00141/0.1997, allocations: 1.063 MB / 0.6014 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.1999, allocations: 75.59 kB / 0.6014 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009321/0.2008, allocations: 0.5421 MB / 0.602 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008349/0.2017, allocations: 1.794 MB / 0.6037 GB, free: 168 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/0.2023, allocations: 190.8 kB / 0.6039 GB, free: 15.97 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.2024, allocations: 135.9 kB / 0.604 GB, free: 15.84 MB / 0.5262 GB 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.0004735/0.2029, allocations: 417.1 kB / 0.6044 GB, free: 15.43 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004634/0.2034, allocations: 262.3 kB / 0.6047 GB, free: 15.17 MB / 0.5262 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.002227/0.2056, allocations: 2.053 MB / 0.6067 GB, free: 13.08 MB / 0.5262 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.169158047065139]