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.006057/0.006057, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.000703/0.000703, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007805/0.0007805, allocations: 163.1 kB / 27.85 MB, free: 5.496 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.8732/0.8732, allocations: 177.2 MB / 208.6 MB, free: 2.949 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.7043/0.7043, allocations: 102.5 MB / 367.9 MB, free: 1.449 MB / 330.8 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 0.5.2 (/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.1.|tubeBundle_L2_Simple.p.1.",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.1.|tubeBundle_L2_Simple.p.1.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5367 GB, free: 39.8 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.05e-05, allocations: 6.219 kB / 0.5367 GB, free: 39.79 MB / 490.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.1186/0.1186, allocations: 56.92 MB / 0.5923 GB, free: 3.102 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.1364, allocations: 15.9 MB / 0.6078 GB, free: 3.145 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.1381, allocations: 59.56 kB / 0.6078 GB, free: 3.086 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.1409, allocations: 1.413 MB / 0.6092 GB, free: 1.668 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.1438, allocations: 1.554 MB / 0.6107 GB, free: 108 kB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.147, allocations: 1.78 MB / 0.6125 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004/0.151, allocations: 3.634 MB / 0.616 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.1523, allocations: 0.8972 MB / 0.6169 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.1545, allocations: 1.874 MB / 0.6187 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.1561, allocations: 1.451 MB / 0.6201 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003254/0.1564, allocations: 200 kB / 0.6203 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.1584, allocations: 1.111 MB / 0.6214 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006765/0.159, allocations: 0.8371 MB / 0.6222 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008297/0.1599, allocations: 0.713 MB / 0.6229 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.164, allocations: 3.836 MB / 0.6267 GB, free: 15.72 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.164, allocations: 7.938 kB / 0.6267 GB, free: 15.71 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.284e-06/0.164, allocations: 0 / 0.6267 GB, free: 15.71 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.832e-05/0.1641, allocations: 0 / 0.6267 GB, free: 15.71 MB / 0.5262 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.003411/0.1675, allocations: 2.887 MB / 0.6295 GB, free: 12.77 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1675, allocations: 12.03 kB / 0.6295 GB, free: 12.76 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005152/0.168, allocations: 315.1 kB / 0.6298 GB, free: 12.45 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.1709, allocations: 2.557 MB / 0.6323 GB, free: 9.863 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.1709, allocations: 78.36 kB / 0.6324 GB, free: 9.785 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.171, allocations: 96.38 kB / 0.6325 GB, free: 9.691 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.1741, allocations: 2.673 MB / 0.6351 GB, free: 6.656 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.1741, allocations: 15.88 kB / 0.6351 GB, free: 6.641 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.1742, allocations: 48 kB / 0.6352 GB, free: 6.594 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.1742, allocations: 65.28 kB / 0.6352 GB, free: 6.527 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/0.1769, allocations: 1.788 MB / 0.637 GB, free: 4.742 MB / 0.5262 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.007069/0.184, allocations: 10.32 MB / 0.647 GB, free: 10.04 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.1869, allocations: 1.709 MB / 0.6487 GB, free: 8.27 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007666/0.1877, allocations: 0.583 MB / 0.6493 GB, free: 7.664 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.1879, allocations: 84.48 kB / 0.6494 GB, free: 7.578 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002328/0.1902, allocations: 1.446 MB / 0.6508 GB, free: 6.086 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=195): time 2.855e-06/0.1902, allocations: 0 / 0.6508 GB, free: 6.086 MB / 0.5418 GB Notification: Performance of matching and sorting (n=195): time 0.005312/0.1955, allocations: 3.305 MB / 0.654 GB, free: 2.773 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.1957, allocations: 440.1 kB / 0.6544 GB, free: 2.246 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.1977, allocations: 1.935 MB / 0.6563 GB, free: 276 kB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 8.991e-05/0.1978, allocations: 45.69 kB / 0.6564 GB, free: 224 kB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005893/0.1984, allocations: 0.8437 MB / 0.6572 GB, free: 15.36 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004106/0.1988, allocations: 0.6544 MB / 0.6578 GB, free: 14.7 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004344/0.1992, allocations: 451.5 kB / 0.6582 GB, free: 14.25 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.1993, allocations: 309 kB / 0.6585 GB, free: 13.95 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009914/0.2003, allocations: 0.8738 MB / 0.6594 GB, free: 13.07 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.2016, allocations: 1.581 MB / 0.6609 GB, free: 11.17 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004771/0.2063, allocations: 4.042 MB / 0.6649 GB, free: 6.832 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.2063, allocations: 4 kB / 0.6649 GB, free: 6.828 MB / 0.5574 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003381/0.2097, allocations: 2.741 MB / 0.6676 GB, free: 4.062 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/0.2098, allocations: 42.64 kB / 0.6676 GB, free: 4.016 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002134/0.2119, allocations: 1.934 MB / 0.6695 GB, free: 2.066 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.2121, allocations: 88.81 kB / 0.6696 GB, free: 1.977 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.2131, allocations: 0.5616 MB / 0.6701 GB, free: 1.414 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.2142, allocations: 1.525 MB / 0.6716 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.2152, allocations: 230.4 kB / 0.6718 GB, free: 15.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.2153, allocations: 131.9 kB / 0.672 GB, free: 15.43 MB / 0.573 GB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.mechanicalEquilibrium.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.001762/0.2171, allocations: 1.343 MB / 0.6733 GB, free: 14.08 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001272/0.2184, allocations: 1.566 MB / 0.6748 GB, free: 12.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004686/0.223, allocations: 4.002 MB / 0.6787 GB, free: 7.898 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.995e-06/0.2231, allocations: 8 kB / 0.6787 GB, free: 7.891 MB / 0.573 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.003381/0.2264, allocations: 2.726 MB / 0.6814 GB, free: 5.141 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.2265, allocations: 41.7 kB / 0.6814 GB, free: 5.094 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002137/0.2286, allocations: 1.915 MB / 0.6833 GB, free: 3.16 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.2288, allocations: 92.75 kB / 0.6834 GB, free: 3.066 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.2298, allocations: 0.5538 MB / 0.6839 GB, free: 2.512 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009303/0.2307, allocations: 1.51 MB / 0.6854 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.2318, allocations: 202.7 kB / 0.6856 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.2319, allocations: 135.9 kB / 0.6857 GB, free: 0.5664 MB / 0.573 GB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.mechanicalEquilibrium.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.000542/0.2325, allocations: 324.4 kB / 0.686 GB, free: 248 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.2328, allocations: 234.5 kB / 0.6863 GB, free: 12 kB / 0.573 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.002767/0.2355, allocations: 2.387 MB / 0.6886 GB, free: 13.59 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3439142694696784] Failed to read output from testmodel.py, exit status != 0: 0.7126239100471139 0.722661513 0.556633124 Calling exit ...