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.01357/0.01357, allocations: 1.795 MB / 21.89 MB, free: 2.633 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.001336/0.001336, allocations: 84.5 kB / 25.62 MB, free: 6.578 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.001653/0.001653, allocations: 168.9 kB / 29.46 MB, free: 3.02 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.8621/0.8621, allocations: 177.2 MB / 210.3 MB, free: 1.699 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.6909/0.6909, allocations: 102.5 MB / 369.8 MB, free: 0.9297 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 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.703e-06/1.703e-06, allocations: 0 / 469.9 MB, free: 12.97 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.848e-05, allocations: 8.641 kB / 469.9 MB, free: 12.96 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.1215/0.1216, allocations: 60.62 MB / 0.5181 GB, free: 288 kB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.184/0.3056, allocations: 16.54 MB / 0.5342 GB, free: 67.61 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.3067, allocations: 55.03 kB / 0.5343 GB, free: 67.59 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002879/0.3095, allocations: 1.406 MB / 0.5357 GB, free: 66.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.312, allocations: 1.562 MB / 0.5372 GB, free: 66.09 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.3149, allocations: 1.787 MB / 0.5389 GB, free: 65.18 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.003183/0.3181, allocations: 3.635 MB / 0.5425 GB, free: 63.5 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.3193, allocations: 0.9318 MB / 0.5434 GB, free: 62.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.3216, allocations: 1.889 MB / 0.5452 GB, free: 62.11 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.3236, allocations: 1.447 MB / 0.5467 GB, free: 61.65 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005094/0.3241, allocations: 203.8 kB / 0.5469 GB, free: 61.64 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.3265, allocations: 1.088 MB / 0.5479 GB, free: 61.34 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0007886/0.3273, allocations: 0.8398 MB / 0.5487 GB, free: 60.91 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.3284, allocations: 0.7233 MB / 0.5494 GB, free: 60.57 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.3328, allocations: 2.798 MB / 0.5522 GB, free: 59.46 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3328, allocations: 4.453 kB / 0.5522 GB, free: 59.46 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3328, allocations: 0 / 0.5522 GB, free: 59.46 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.228e-05/0.3329, allocations: 0 / 0.5522 GB, free: 59.46 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.005149/0.338, allocations: 3.052 MB / 0.5552 GB, free: 57.53 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3381, allocations: 11.88 kB / 0.5552 GB, free: 57.53 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009773/0.339, allocations: 404.3 kB / 0.5556 GB, free: 57.35 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.3428, allocations: 2.26 MB / 0.5578 GB, free: 56.26 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.3429, allocations: 75.09 kB / 0.5578 GB, free: 56.22 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.343, allocations: 104.6 kB / 0.5579 GB, free: 56.19 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004053/0.3471, allocations: 2.42 MB / 0.5603 GB, free: 54.42 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.3471, allocations: 17.28 kB / 0.5603 GB, free: 54.41 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.3472, allocations: 50.33 kB / 0.5604 GB, free: 54.38 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.663e-05/0.3473, allocations: 64.86 kB / 0.5604 GB, free: 54.38 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/0.3506, allocations: 1.113 MB / 0.5615 GB, free: 54.22 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.006969/0.3576, allocations: 13.93 MB / 0.5751 GB, free: 41.43 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.3607, allocations: 1.211 MB / 0.5763 GB, free: 40.83 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.3612, allocations: 307.1 kB / 0.5766 GB, free: 40.68 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.3614, allocations: 81.33 kB / 0.5767 GB, free: 40.65 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002554/0.364, allocations: 1.086 MB / 0.5777 GB, free: 40.04 MB / 490.8 MB Notification: Performance of pre-optimization done (n=195): time 4.959e-06/0.364, allocations: 0.8438 kB / 0.5777 GB, free: 40.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=195): time 0.00651/0.3705, allocations: 2.377 MB / 0.5801 GB, free: 39.14 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.3705, allocations: 431.4 kB / 0.5805 GB, free: 38.63 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.3726, allocations: 1.815 MB / 0.5822 GB, free: 37.56 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.3728, allocations: 41.83 kB / 0.5823 GB, free: 37.52 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005832/0.3733, allocations: 0.9528 MB / 0.5832 GB, free: 36.68 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004336/0.3738, allocations: 0.6784 MB / 0.5839 GB, free: 36.08 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000591/0.3744, allocations: 480.9 kB / 0.5843 GB, free: 35.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.374e-05/0.3744, allocations: 486 kB / 0.5848 GB, free: 35.32 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007724/0.3752, allocations: 397.8 kB / 0.5852 GB, free: 35.03 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/0.376, allocations: 1.391 MB / 0.5865 GB, free: 33.22 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.3779, allocations: 2.177 MB / 0.5887 GB, free: 30.69 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.3779, allocations: 11 kB / 0.5887 GB, free: 30.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002307/0.3802, allocations: 1.853 MB / 0.5905 GB, free: 28.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.3802, allocations: 42.33 kB / 0.5905 GB, free: 28.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001364/0.3816, allocations: 1.07 MB / 0.5916 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.3818, allocations: 78.3 kB / 0.5916 GB, free: 27.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009231/0.3827, allocations: 0.5498 MB / 0.5922 GB, free: 27.06 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006471/0.3834, allocations: 1.796 MB / 0.5939 GB, free: 25.15 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008666/0.3843, allocations: 218.4 kB / 0.5941 GB, free: 24.93 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.3844, allocations: 138.5 kB / 0.5943 GB, free: 24.8 MB / 490.8 MB 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.0009586/0.3853, allocations: 0.5393 MB / 0.5948 GB, free: 24.25 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007802/0.3861, allocations: 1.381 MB / 0.5961 GB, free: 22.46 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001815/0.3879, allocations: 2.163 MB / 0.5983 GB, free: 19.93 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.955e-06/0.388, allocations: 7.391 kB / 0.5983 GB, free: 19.93 MB / 490.8 MB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.00218/0.3901, allocations: 1.855 MB / 0.6001 GB, free: 18.07 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.3902, allocations: 47.09 kB / 0.6001 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001311/0.3915, allocations: 1.062 MB / 0.6012 GB, free: 16.94 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.3916, allocations: 74.84 kB / 0.6012 GB, free: 16.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/0.3925, allocations: 0.546 MB / 0.6018 GB, free: 16.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005104/0.393, allocations: 1.794 MB / 0.6035 GB, free: 14.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.3938, allocations: 194.7 kB / 0.6037 GB, free: 14.21 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.3939, allocations: 130.6 kB / 0.6038 GB, free: 14.09 MB / 490.8 MB 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.0003351/0.3942, allocations: 412.5 kB / 0.6042 GB, free: 13.68 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.3945, allocations: 274.4 kB / 0.6045 GB, free: 13.42 MB / 490.8 MB 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.002091/0.3966, allocations: 2.045 MB / 0.6065 GB, free: 11.47 MB / 490.8 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.7952617830596864]