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.01374/0.01374, 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.001234/0.001234, allocations: 88.28 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.000865/0.000865, allocations: 168.3 kB / 29.06 MB, free: 3.348 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.9046/0.9046, 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 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.5724/0.5724, allocations: 102.5 MB / 369.5 MB, free: 344 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.283e-06/1.283e-06, allocations: 3.938 kB / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.814e-05, allocations: 3.562 kB / 470 MB, free: 18.95 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.1137/0.1137, allocations: 60.69 MB / 0.5182 GB, free: 11.24 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.1301, allocations: 16.58 MB / 0.5344 GB, free: 10.63 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009451/0.1311, allocations: 55.56 kB / 0.5345 GB, free: 10.57 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.1334, allocations: 1.424 MB / 0.5359 GB, free: 9.145 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.1355, allocations: 1.569 MB / 0.5374 GB, free: 7.566 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.138, allocations: 1.795 MB / 0.5391 GB, free: 5.766 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002573/0.1406, allocations: 3.625 MB / 0.5427 GB, free: 2.129 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007569/0.1414, allocations: 0.9408 MB / 0.5436 GB, free: 1.164 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1062/0.2476, allocations: 47.09 MB / 0.5896 GB, free: 3.242 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.2493, allocations: 1.347 MB / 0.5909 GB, free: 1.891 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.2496, allocations: 152 kB / 0.591 GB, free: 1.742 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.2514, allocations: 1.025 MB / 0.5921 GB, free: 0.7148 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0005615/0.2519, allocations: 0.7476 MB / 0.5928 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005508/0.2525, allocations: 0.6387 MB / 0.5934 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.2551, allocations: 2.67 MB / 0.596 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2551, allocations: 0 / 0.596 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2551, allocations: 0 / 0.596 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.713e-05/0.2551, allocations: 0 / 0.596 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.002665/0.2578, allocations: 2.818 MB / 0.5988 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2579, allocations: 16.02 kB / 0.5988 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.2582, allocations: 335.2 kB / 0.5991 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.2596, allocations: 1.466 MB / 0.6005 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.2596, allocations: 78.36 kB / 0.6006 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.2597, allocations: 100.4 kB / 0.6007 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.2626, allocations: 2.431 MB / 0.6031 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.2626, allocations: 11.88 kB / 0.6031 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.2627, allocations: 48 kB / 0.6031 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.925e-05/0.2628, allocations: 61.28 kB / 0.6032 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.2647, allocations: 1.128 MB / 0.6043 GB, free: 3.586 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.006244/0.271, allocations: 13.95 MB / 0.6179 GB, free: 5.148 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.2731, allocations: 1.223 MB / 0.6191 GB, free: 3.836 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004008/0.2735, allocations: 305 kB / 0.6194 GB, free: 3.508 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.2736, allocations: 80.55 kB / 0.6195 GB, free: 3.43 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001827/0.2754, allocations: 1.098 MB / 0.6206 GB, free: 2.266 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=195): time 2.315e-06/0.2754, allocations: 0 / 0.6206 GB, free: 2.266 MB / 0.5262 GB Notification: Performance of matching and sorting (n=195): time 0.004103/0.2795, allocations: 2.379 MB / 0.6229 GB, free: 15.88 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.2796, allocations: 483.2 kB / 0.6233 GB, free: 15.29 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.2811, allocations: 1.768 MB / 0.6251 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.548e-05/0.2811, allocations: 42.61 kB / 0.6251 GB, free: 13.43 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.000514/0.2816, allocations: 0.9647 MB / 0.626 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/0.282, allocations: 0.6818 MB / 0.6267 GB, free: 11.76 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/0.2825, allocations: 481.5 kB / 0.6272 GB, free: 11.28 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.2826, allocations: 484.7 kB / 0.6276 GB, free: 10.8 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.2832, allocations: 406.2 kB / 0.628 GB, free: 10.4 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009997/0.2842, allocations: 1.453 MB / 0.6294 GB, free: 8.508 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.2862, allocations: 2.183 MB / 0.6316 GB, free: 5.934 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.2862, allocations: 8 kB / 0.6316 GB, free: 5.926 MB / 0.5418 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00217/0.2884, allocations: 1.869 MB / 0.6334 GB, free: 4.035 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.2885, allocations: 41.69 kB / 0.6334 GB, free: 3.988 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001462/0.2899, allocations: 1.067 MB / 0.6345 GB, free: 2.902 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.2901, allocations: 75.64 kB / 0.6346 GB, free: 2.824 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000947/0.2911, allocations: 0.5537 MB / 0.6351 GB, free: 2.27 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008324/0.2919, allocations: 1.794 MB / 0.6368 GB, free: 364 kB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.2925, allocations: 230.4 kB / 0.6371 GB, free: 132 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.2926, allocations: 131.9 kB / 0.6372 GB, free: 0 / 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.0008374/0.2934, allocations: 0.5525 MB / 0.6377 GB, free: 15.44 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00099/0.2944, allocations: 1.463 MB / 0.6392 GB, free: 13.53 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00212/0.2965, allocations: 2.163 MB / 0.6413 GB, free: 10.98 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.691e-06/0.2965, allocations: 8 kB / 0.6413 GB, free: 10.97 MB / 0.5574 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.002167/0.2987, allocations: 1.878 MB / 0.6431 GB, free: 9.07 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.2987, allocations: 41.61 kB / 0.6432 GB, free: 9.023 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001361/0.3001, allocations: 1.059 MB / 0.6442 GB, free: 7.945 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.3003, allocations: 75.86 kB / 0.6443 GB, free: 7.867 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009441/0.3012, allocations: 0.5499 MB / 0.6448 GB, free: 7.316 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007361/0.3019, allocations: 1.794 MB / 0.6466 GB, free: 5.402 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.3024, allocations: 190.8 kB / 0.6467 GB, free: 5.215 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.3027, allocations: 135.9 kB / 0.6469 GB, free: 5.082 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.0003334/0.303, allocations: 420.3 kB / 0.6473 GB, free: 4.664 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.3032, allocations: 258.3 kB / 0.6475 GB, free: 4.41 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.00206/0.3053, allocations: 2.056 MB / 0.6495 GB, free: 2.309 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.0987162217497826]