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.008417/0.008417, allocations: 1.781 MB / 22.36 MB, free: 2.105 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.001248/0.001248, allocations: 80.53 kB / 26.19 MB, free: 6.09 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.0009122/0.0009122, allocations: 174.6 kB / 30.13 MB, free: 2.184 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.9634/0.9634, allocations: 177.2 MB / 211.1 MB, free: 3.406 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.6319/0.6319, allocations: 102.4 MB / 370.6 MB, free: 196 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.243e-06/1.243e-06, allocations: 0 / 471.2 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.213e-05, allocations: 5.734 kB / 471.2 MB, free: 18.82 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.1064/0.1064, allocations: 60.44 MB / 0.5192 GB, free: 11.18 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01744/0.1239, allocations: 16.5 MB / 0.5353 GB, free: 10.64 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009841/0.1249, allocations: 51.62 kB / 0.5354 GB, free: 10.59 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.1272, allocations: 1.417 MB / 0.5368 GB, free: 9.168 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.1291, allocations: 1.573 MB / 0.5383 GB, free: 7.586 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.132, allocations: 1.795 MB / 0.54 GB, free: 5.785 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002614/0.1346, allocations: 3.63 MB / 0.5436 GB, free: 2.145 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009225/0.1355, allocations: 0.9369 MB / 0.5445 GB, free: 1.184 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.114/0.2496, allocations: 47.1 MB / 0.5905 GB, free: 3.27 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.2512, allocations: 1.336 MB / 0.5918 GB, free: 1.93 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.2514, allocations: 152 kB / 0.5919 GB, free: 1.781 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.2533, allocations: 1.029 MB / 0.5929 GB, free: 0.75 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0005107/0.2538, allocations: 0.7397 MB / 0.5937 GB, free: 8 kB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0005745/0.2544, allocations: 0.6466 MB / 0.5943 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.2571, allocations: 2.67 MB / 0.5969 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2571, allocations: 0 / 0.5969 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2571, allocations: 4 kB / 0.5969 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.2571, allocations: 0 / 0.5969 GB, free: 12.68 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.002634/0.2597, allocations: 2.833 MB / 0.5997 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2598, allocations: 12.03 kB / 0.5997 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/0.2601, allocations: 335.2 kB / 0.6 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.2615, allocations: 1.435 MB / 0.6014 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.2615, allocations: 74.36 kB / 0.6015 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.2616, allocations: 100.4 kB / 0.6016 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.2641, allocations: 2.349 MB / 0.6039 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.2642, allocations: 11.88 kB / 0.6039 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.2642, allocations: 47.98 kB / 0.6039 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.399e-05/0.2643, allocations: 69.28 kB / 0.604 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.266, allocations: 1.027 MB / 0.605 GB, free: 3.816 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.006126/0.2721, allocations: 13.61 MB / 0.6183 GB, free: 5.734 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.2741, allocations: 1.145 MB / 0.6194 GB, free: 4.5 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.2744, allocations: 261 kB / 0.6197 GB, free: 4.219 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.2746, allocations: 76.61 kB / 0.6197 GB, free: 4.145 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001677/0.2763, allocations: 1.051 MB / 0.6208 GB, free: 3.027 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=195): time 3.647e-06/0.2763, allocations: 0 / 0.6208 GB, free: 3.027 MB / 0.5262 GB Notification: Performance of matching and sorting (n=195): time 0.004098/0.2804, allocations: 2.22 MB / 0.6229 GB, free: 0.7969 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.2805, allocations: 487.2 kB / 0.6234 GB, free: 212 kB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.2818, allocations: 1.752 MB / 0.6251 GB, free: 14.41 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.411e-05/0.2819, allocations: 41.7 kB / 0.6251 GB, free: 14.36 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005834/0.2825, allocations: 0.9762 MB / 0.6261 GB, free: 13.37 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/0.2828, allocations: 0.6817 MB / 0.6268 GB, free: 12.68 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000438/0.2833, allocations: 489.3 kB / 0.6272 GB, free: 12.19 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2834, allocations: 476.8 kB / 0.6277 GB, free: 11.72 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.2838, allocations: 334.2 kB / 0.628 GB, free: 11.39 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009053/0.2847, allocations: 1.393 MB / 0.6294 GB, free: 9.555 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.2864, allocations: 2.008 MB / 0.6313 GB, free: 7.156 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.2864, allocations: 4 kB / 0.6313 GB, free: 7.152 MB / 0.5418 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.001948/0.2884, allocations: 1.718 MB / 0.633 GB, free: 5.41 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.2884, allocations: 37.7 kB / 0.633 GB, free: 5.367 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001405/0.2898, allocations: 0.957 MB / 0.634 GB, free: 4.391 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/0.29, allocations: 71.88 kB / 0.634 GB, free: 4.316 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.2913, allocations: 0.5538 MB / 0.6346 GB, free: 3.762 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.2923, allocations: 1.771 MB / 0.6363 GB, free: 1.879 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008216/0.2931, allocations: 222.4 kB / 0.6365 GB, free: 1.66 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.2933, allocations: 120 kB / 0.6366 GB, free: 1.543 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.000853/0.2942, allocations: 493.4 kB / 0.6371 GB, free: 1.051 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001233/0.2954, allocations: 1.389 MB / 0.6385 GB, free: 15.22 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002168/0.2976, allocations: 1.995 MB / 0.6404 GB, free: 12.84 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.568e-06/0.2976, allocations: 8 kB / 0.6404 GB, free: 12.83 MB / 0.5574 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.002461/0.3, allocations: 1.709 MB / 0.6421 GB, free: 11.1 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.3001, allocations: 42.7 kB / 0.6421 GB, free: 11.05 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001482/0.3015, allocations: 0.9531 MB / 0.6431 GB, free: 10.08 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.3017, allocations: 71.64 kB / 0.6431 GB, free: 10 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.303, allocations: 0.5421 MB / 0.6437 GB, free: 9.461 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009917/0.304, allocations: 1.771 MB / 0.6454 GB, free: 7.578 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.3047, allocations: 190.7 kB / 0.6456 GB, free: 7.391 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.3049, allocations: 124.2 kB / 0.6457 GB, free: 7.27 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.0004061/0.3053, allocations: 420.4 kB / 0.6461 GB, free: 6.852 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.3057, allocations: 254.4 kB / 0.6463 GB, free: 6.602 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.002622/0.3083, allocations: 1.985 MB / 0.6483 GB, free: 4.57 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.293632449116558]