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.008319/0.008319, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0008467/0.0008467, allocations: 87.67 kB / 25.15 MB, free: 6.316 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.001443/0.001443, allocations: 163.2 kB / 29.05 MB, free: 3.352 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.9334/0.9334, allocations: 177.1 MB / 210 MB, free: 3.602 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.5889/0.5889, allocations: 102.4 MB / 369.5 MB, free: 396 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.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_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.[0-9,]+.|tubeBundle_L2_Simple.p.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 469.9 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.8e-05, allocations: 4.094 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.1117/0.1117, allocations: 60.7 MB / 0.5182 GB, free: 11.26 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.1281, allocations: 16.58 MB / 0.5344 GB, free: 10.64 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009323/0.1291, allocations: 55.56 kB / 0.5345 GB, free: 10.59 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.1315, allocations: 1.409 MB / 0.5358 GB, free: 9.172 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.1334, allocations: 1.561 MB / 0.5374 GB, free: 7.602 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.1363, allocations: 1.795 MB / 0.5391 GB, free: 5.801 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.1389, allocations: 3.637 MB / 0.5427 GB, free: 2.152 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007465/0.1397, allocations: 0.9369 MB / 0.5436 GB, free: 1.191 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.141, allocations: 1.882 MB / 0.5454 GB, free: 15.3 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.1422, allocations: 1.449 MB / 0.5468 GB, free: 13.85 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.1424, allocations: 200 kB / 0.547 GB, free: 13.65 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.144, allocations: 1.098 MB / 0.5481 GB, free: 12.55 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004945/0.1445, allocations: 0.8412 MB / 0.5489 GB, free: 11.71 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006588/0.1452, allocations: 0.7285 MB / 0.5496 GB, free: 10.98 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.1475, allocations: 2.81 MB / 0.5524 GB, free: 8.16 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1475, allocations: 0 / 0.5524 GB, free: 8.16 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1475, allocations: 0 / 0.5524 GB, free: 8.16 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.1475, allocations: 0 / 0.5524 GB, free: 8.16 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.002895/0.1504, allocations: 3.049 MB / 0.5553 GB, free: 5.055 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1505, allocations: 15.97 kB / 0.5554 GB, free: 5.039 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/0.151, allocations: 391.1 kB / 0.5557 GB, free: 4.656 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.1538, allocations: 2.291 MB / 0.558 GB, free: 2.324 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.1538, allocations: 82.36 kB / 0.558 GB, free: 2.242 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.1539, allocations: 96.38 kB / 0.5581 GB, free: 2.148 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.1566, allocations: 2.423 MB / 0.5605 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.1567, allocations: 19.88 kB / 0.5605 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.1567, allocations: 44 kB / 0.5606 GB, free: 15.19 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/0.1568, allocations: 65.27 kB / 0.5606 GB, free: 15.12 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.1587, allocations: 1.12 MB / 0.5617 GB, free: 14 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.006386/0.1651, allocations: 13.92 MB / 0.5753 GB, free: 15.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.1672, allocations: 1.208 MB / 0.5765 GB, free: 14.3 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000412/0.1676, allocations: 308.9 kB / 0.5768 GB, free: 13.97 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.1677, allocations: 80.55 kB / 0.5769 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/0.1696, allocations: 1.09 MB / 0.5779 GB, free: 12.74 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=195): time 2.334e-06/0.1696, allocations: 0 / 0.5779 GB, free: 12.74 MB / 0.4949 GB Notification: Performance of matching and sorting (n=195): time 0.004113/0.1737, allocations: 2.377 MB / 0.5803 GB, free: 10.36 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.1738, allocations: 439.8 kB / 0.5807 GB, free: 9.824 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.1753, allocations: 1.803 MB / 0.5824 GB, free: 7.973 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 7.305e-05/0.1754, allocations: 45.69 kB / 0.5825 GB, free: 7.922 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.000548/0.176, allocations: 0.953 MB / 0.5834 GB, free: 6.953 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/0.1763, allocations: 0.6779 MB / 0.5841 GB, free: 6.27 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006155/0.177, allocations: 481.5 kB / 0.5845 GB, free: 5.789 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1771, allocations: 480.7 kB / 0.585 GB, free: 5.316 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.1776, allocations: 402.6 kB / 0.5854 GB, free: 4.914 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.1787, allocations: 1.386 MB / 0.5867 GB, free: 3.109 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.1808, allocations: 2.171 MB / 0.5888 GB, free: 0.5469 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.1808, allocations: 4 kB / 0.5889 GB, free: 0.543 MB / 0.4949 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002419/0.1832, allocations: 1.866 MB / 0.5907 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.1832, allocations: 41.7 kB / 0.5907 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001451/0.1847, allocations: 1.062 MB / 0.5918 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/0.185, allocations: 76.02 kB / 0.5918 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009605/0.1859, allocations: 0.5537 MB / 0.5924 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009426/0.1869, allocations: 1.787 MB / 0.5941 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.1875, allocations: 230.4 kB / 0.5943 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.1876, allocations: 136 kB / 0.5945 GB, free: 10.63 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.0008647/0.1885, allocations: 0.5426 MB / 0.595 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/0.1895, allocations: 1.375 MB / 0.5963 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002263/0.1918, allocations: 2.175 MB / 0.5985 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.564e-06/0.1918, allocations: 4 kB / 0.5985 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.002224/0.194, allocations: 1.858 MB / 0.6003 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.194, allocations: 37.7 kB / 0.6003 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00136/0.1954, allocations: 1.059 MB / 0.6013 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.1955, allocations: 79.64 kB / 0.6014 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/0.1964, allocations: 0.5421 MB / 0.6019 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007677/0.1972, allocations: 1.806 MB / 0.6037 GB, free: 164 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007087/0.1979, allocations: 186.8 kB / 0.6039 GB, free: 15.97 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.198, allocations: 139.8 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.0003721/0.1984, allocations: 410.5 kB / 0.6044 GB, free: 15.43 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.1987, allocations: 262.3 kB / 0.6047 GB, free: 15.18 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.002037/0.2007, allocations: 2.043 MB / 0.6067 GB, free: 13.09 MB / 0.5262 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.114189418964088]