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.006051/0.006051, 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.0007346/0.0007346, 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.0009111/0.0009111, allocations: 163.6 kB / 27.85 MB, free: 5.5 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.8577/0.8577, allocations: 177.2 MB / 208.6 MB, free: 2.969 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.7431/0.7431, allocations: 102.5 MB / 367.9 MB, free: 1.441 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 2.083e-06/2.083e-06, allocations: 0 / 0.5367 GB, free: 39.81 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.49e-05, allocations: 5.984 kB / 0.5367 GB, free: 39.81 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.1197/0.1198, allocations: 56.92 MB / 0.5923 GB, free: 3.105 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01824/0.138, allocations: 15.9 MB / 0.6078 GB, free: 3.152 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.1398, allocations: 51.62 kB / 0.6078 GB, free: 3.102 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.1426, allocations: 1.409 MB / 0.6092 GB, free: 1.688 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.1456, allocations: 1.561 MB / 0.6107 GB, free: 120 kB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.1488, allocations: 1.78 MB / 0.6125 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004946/0.1537, allocations: 3.649 MB / 0.616 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.1553, allocations: 0.8856 MB / 0.6169 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.158, allocations: 1.87 MB / 0.6187 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.1599, allocations: 1.458 MB / 0.6202 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004841/0.1604, allocations: 204 kB / 0.6203 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.1626, allocations: 1.099 MB / 0.6214 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.1633, allocations: 0.8332 MB / 0.6222 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.1644, allocations: 0.7169 MB / 0.6229 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005226/0.1696, allocations: 3.832 MB / 0.6267 GB, free: 15.73 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1696, allocations: 0 / 0.6267 GB, free: 15.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1696, allocations: 0 / 0.6267 GB, free: 15.73 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 9.524e-05/0.1697, allocations: 0 / 0.6267 GB, free: 15.73 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.004572/0.1743, allocations: 2.887 MB / 0.6295 GB, free: 12.8 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.1743, allocations: 12.03 kB / 0.6295 GB, free: 12.79 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000663/0.175, allocations: 323.1 kB / 0.6298 GB, free: 12.47 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003384/0.1784, allocations: 2.563 MB / 0.6323 GB, free: 9.875 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.1784, allocations: 78.36 kB / 0.6324 GB, free: 9.797 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1786, allocations: 96.38 kB / 0.6325 GB, free: 9.703 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/0.182, allocations: 2.669 MB / 0.6351 GB, free: 6.672 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.182, allocations: 11.88 kB / 0.6351 GB, free: 6.66 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.1821, allocations: 47.98 kB / 0.6352 GB, free: 6.613 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/0.1822, allocations: 65.28 kB / 0.6352 GB, free: 6.547 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/0.185, allocations: 1.792 MB / 0.637 GB, free: 4.758 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.00837/0.1934, allocations: 10.33 MB / 0.647 GB, free: 10.05 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.1962, allocations: 1.705 MB / 0.6487 GB, free: 8.281 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.1973, allocations: 0.5908 MB / 0.6493 GB, free: 7.668 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.1975, allocations: 76.48 kB / 0.6494 GB, free: 7.59 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002251/0.1997, allocations: 1.442 MB / 0.6508 GB, free: 6.102 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=195): time 3.657e-06/0.1997, allocations: 4 kB / 0.6508 GB, free: 6.098 MB / 0.5418 GB Notification: Performance of matching and sorting (n=195): time 0.005961/0.2057, allocations: 3.307 MB / 0.654 GB, free: 2.781 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.2059, allocations: 423.9 kB / 0.6544 GB, free: 2.27 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.2085, allocations: 1.939 MB / 0.6563 GB, free: 296 kB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.2086, allocations: 41.7 kB / 0.6563 GB, free: 248 kB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005674/0.2091, allocations: 0.8522 MB / 0.6572 GB, free: 15.38 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/0.2096, allocations: 0.6582 MB / 0.6578 GB, free: 14.71 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/0.2101, allocations: 451.5 kB / 0.6582 GB, free: 14.27 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.2102, allocations: 305.1 kB / 0.6585 GB, free: 13.96 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.2113, allocations: 0.8777 MB / 0.6594 GB, free: 13.08 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.2127, allocations: 1.581 MB / 0.6609 GB, free: 11.18 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005334/0.218, allocations: 4.031 MB / 0.6649 GB, free: 6.855 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.218, allocations: 11.94 kB / 0.6649 GB, free: 6.844 MB / 0.5574 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003816/0.2218, allocations: 2.738 MB / 0.6676 GB, free: 4.082 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.377e-05/0.2219, allocations: 41.7 kB / 0.6676 GB, free: 4.035 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002309/0.2242, allocations: 1.939 MB / 0.6695 GB, free: 2.082 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.2244, allocations: 84.81 kB / 0.6696 GB, free: 1.996 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.2258, allocations: 0.5615 MB / 0.6701 GB, free: 1.434 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.2268, allocations: 1.521 MB / 0.6716 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.228, allocations: 230.4 kB / 0.6718 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.2282, allocations: 135.9 kB / 0.672 GB, free: 15.45 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.001903/0.2301, allocations: 1.347 MB / 0.6733 GB, free: 14.09 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001454/0.2315, allocations: 1.57 MB / 0.6748 GB, free: 12.21 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005726/0.2373, allocations: 4.003 MB / 0.6787 GB, free: 7.91 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.079e-05/0.2373, allocations: 4 kB / 0.6787 GB, free: 7.906 MB / 0.573 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.00376/0.241, allocations: 2.719 MB / 0.6814 GB, free: 5.164 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.2411, allocations: 43.73 kB / 0.6814 GB, free: 5.117 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002547/0.2436, allocations: 1.923 MB / 0.6833 GB, free: 3.176 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.2438, allocations: 92.73 kB / 0.6834 GB, free: 3.082 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009492/0.2447, allocations: 0.5499 MB / 0.6839 GB, free: 2.531 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009933/0.2457, allocations: 1.51 MB / 0.6854 GB, free: 0.918 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.2468, allocations: 202.7 kB / 0.6856 GB, free: 0.7188 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.247, allocations: 135.9 kB / 0.6857 GB, free: 0.5859 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.0005392/0.2475, allocations: 328.6 kB / 0.686 GB, free: 264 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003521/0.2479, allocations: 234.4 kB / 0.6863 GB, free: 28 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.002846/0.2507, allocations: 2.387 MB / 0.6886 GB, free: 13.61 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.379981684498489] Failed to read output from testmodel.py, exit status != 0: 0.6717945486307144 0.679664931 0.5081731820000001 Calling exit ...