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.01519/0.01519, allocations: 1.792 MB / 21.58 MB, free: 2.891 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.0009972/0.0009972, allocations: 89.41 kB / 25.41 MB, free: 6.062 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.0008892/0.0008892, allocations: 158.3 kB / 29.33 MB, free: 2.773 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.9204/0.9204, allocations: 177.2 MB / 210.3 MB, free: 3.422 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.6483/0.6483, allocations: 102.4 MB / 369.9 MB, free: 168 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.463e-06/1.463e-06, allocations: 0 / 470.4 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.45e-05, allocations: 3.953 kB / 470.4 MB, free: 18.85 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.1219/0.1219, allocations: 60.45 MB / 0.5185 GB, free: 11.13 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.1371, allocations: 16.5 MB / 0.5346 GB, free: 10.59 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006208/0.1377, allocations: 59.56 kB / 0.5346 GB, free: 10.54 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.1399, allocations: 1.42 MB / 0.536 GB, free: 9.109 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001542/0.1415, allocations: 1.569 MB / 0.5375 GB, free: 7.531 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.1436, allocations: 1.799 MB / 0.5393 GB, free: 5.727 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.146, allocations: 3.623 MB / 0.5428 GB, free: 2.09 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006646/0.1467, allocations: 0.9369 MB / 0.5438 GB, free: 1.129 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1108/0.2575, allocations: 47.1 MB / 0.5898 GB, free: 3.23 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.259, allocations: 1.336 MB / 0.5911 GB, free: 1.891 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.2592, allocations: 156 kB / 0.5912 GB, free: 1.738 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.261, allocations: 1.029 MB / 0.5922 GB, free: 0.707 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0007156/0.2617, allocations: 0.7474 MB / 0.5929 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.2622, allocations: 0.6349 MB / 0.5936 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.2646, allocations: 2.666 MB / 0.5962 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2646, allocations: 0 / 0.5962 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2646, allocations: 0 / 0.5962 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.2647, allocations: 0 / 0.5962 GB, free: 12.64 MB / 0.5105 GB 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.002386/0.267, allocations: 2.845 MB / 0.5989 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2671, allocations: 12.03 kB / 0.599 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.2674, allocations: 327.2 kB / 0.5993 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.2687, allocations: 1.439 MB / 0.6007 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.2688, allocations: 82.34 kB / 0.6007 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.2689, allocations: 96.38 kB / 0.6008 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.2715, allocations: 2.353 MB / 0.6031 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.2715, allocations: 11.88 kB / 0.6031 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-05/0.2716, allocations: 51.98 kB / 0.6032 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/0.2716, allocations: 61.3 kB / 0.6033 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.2733, allocations: 1.023 MB / 0.6043 GB, free: 3.777 MB / 0.5105 GB 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.006035/0.2793, allocations: 13.6 MB / 0.6175 GB, free: 5.699 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.2811, allocations: 1.141 MB / 0.6187 GB, free: 4.469 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.2814, allocations: 268.9 kB / 0.6189 GB, free: 4.18 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.2815, allocations: 124 kB / 0.619 GB, free: 4.059 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/0.2833, allocations: 1.051 MB / 0.6201 GB, free: 2.941 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=195): time 2.415e-06/0.2833, allocations: 0 / 0.6201 GB, free: 2.941 MB / 0.5262 GB Notification: Performance of matching and sorting (n=195): time 0.00367/0.287, allocations: 2.223 MB / 0.6222 GB, free: 0.707 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.2871, allocations: 479.2 kB / 0.6227 GB, free: 128 kB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.2884, allocations: 1.748 MB / 0.6244 GB, free: 14.32 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.2884, allocations: 41.7 kB / 0.6244 GB, free: 14.28 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005139/0.2889, allocations: 0.981 MB / 0.6254 GB, free: 13.28 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.2893, allocations: 0.6854 MB / 0.6261 GB, free: 12.59 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/0.2897, allocations: 489.3 kB / 0.6265 GB, free: 12.1 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.000341/0.29, allocations: 480.8 kB / 0.627 GB, free: 11.63 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.2904, allocations: 330.2 kB / 0.6273 GB, free: 11.3 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/0.2912, allocations: 1.397 MB / 0.6287 GB, free: 9.465 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.2928, allocations: 2.004 MB / 0.6306 GB, free: 7.07 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.2928, allocations: 4 kB / 0.6306 GB, free: 7.066 MB / 0.5418 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00178/0.2945, allocations: 1.717 MB / 0.6323 GB, free: 5.324 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.2946, allocations: 37.7 kB / 0.6323 GB, free: 5.281 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001306/0.2959, allocations: 0.9539 MB / 0.6333 GB, free: 4.309 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.2961, allocations: 75.64 kB / 0.6333 GB, free: 4.23 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/0.297, allocations: 0.5499 MB / 0.6339 GB, free: 3.68 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007279/0.2977, allocations: 1.767 MB / 0.6356 GB, free: 1.801 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005213/0.2982, allocations: 230.4 kB / 0.6358 GB, free: 1.574 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.2983, allocations: 115.9 kB / 0.6359 GB, free: 1.461 MB / 0.5418 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.0006208/0.299, allocations: 489.7 kB / 0.6364 GB, free: 0.9727 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007902/0.2997, allocations: 1.385 MB / 0.6378 GB, free: 15.15 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001782/0.3015, allocations: 2.003 MB / 0.6397 GB, free: 12.76 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.402e-06/0.3015, allocations: 4 kB / 0.6397 GB, free: 12.75 MB / 0.5574 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.001772/0.3033, allocations: 1.718 MB / 0.6414 GB, free: 11.01 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.3033, allocations: 45.7 kB / 0.6414 GB, free: 10.96 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001068/0.3044, allocations: 0.9453 MB / 0.6424 GB, free: 9.996 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/0.3045, allocations: 71.64 kB / 0.6424 GB, free: 9.922 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/0.3054, allocations: 0.5501 MB / 0.643 GB, free: 9.371 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000675/0.3061, allocations: 1.779 MB / 0.6447 GB, free: 7.48 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.3066, allocations: 195 kB / 0.6449 GB, free: 7.289 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.3067, allocations: 111.9 kB / 0.645 GB, free: 7.18 MB / 0.5574 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.0002737/0.307, allocations: 416.4 kB / 0.6454 GB, free: 6.766 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.3072, allocations: 258.4 kB / 0.6456 GB, free: 6.512 MB / 0.5574 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.002162/0.3094, allocations: 1.989 MB / 0.6476 GB, free: 4.477 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.143679010681808]