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.006056/0.006056, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0006603/0.0006603, allocations: 93.39 kB / 24.91 MB, free: 7.27 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.0007125/0.0007125, allocations: 167.8 kB / 28.62 MB, free: 4.449 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.8597/0.8597, allocations: 177.1 MB / 209.4 MB, free: 2.973 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.7032/0.7032, allocations: 102.4 MB / 368.7 MB, free: 1.461 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.292e-06/1.292e-06, allocations: 0 / 0.5374 GB, free: 39.83 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.568e-05/1.697e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.83 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.1033/0.1033, allocations: 56.91 MB / 0.593 GB, free: 3.109 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01674/0.1201, allocations: 15.91 MB / 0.6085 GB, free: 3.148 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007405/0.1208, allocations: 55.56 kB / 0.6086 GB, free: 3.094 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.1229, allocations: 1.405 MB / 0.61 GB, free: 1.684 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.1246, allocations: 1.557 MB / 0.6115 GB, free: 120 kB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.1269, allocations: 1.78 MB / 0.6132 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002699/0.1296, allocations: 3.649 MB / 0.6168 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/0.1304, allocations: 0.8856 MB / 0.6176 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.1318, allocations: 1.882 MB / 0.6195 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.1329, allocations: 1.451 MB / 0.6209 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.1331, allocations: 200 kB / 0.6211 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.1344, allocations: 1.095 MB / 0.6222 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004769/0.1349, allocations: 0.8371 MB / 0.623 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004922/0.1354, allocations: 0.7168 MB / 0.6237 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.138, allocations: 3.828 MB / 0.6274 GB, free: 15.74 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.138, allocations: 4 kB / 0.6274 GB, free: 15.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.863e-06/0.138, allocations: 0 / 0.6274 GB, free: 15.73 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.138, allocations: 0 / 0.6274 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.002822/0.1409, allocations: 2.895 MB / 0.6302 GB, free: 12.79 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1409, allocations: 8.031 kB / 0.6302 GB, free: 12.78 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/0.1414, allocations: 315.1 kB / 0.6305 GB, free: 12.47 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002664/0.144, allocations: 2.567 MB / 0.6331 GB, free: 9.875 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.1441, allocations: 74.36 kB / 0.6331 GB, free: 9.801 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.1442, allocations: 96.38 kB / 0.6332 GB, free: 9.707 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.1471, allocations: 2.673 MB / 0.6358 GB, free: 6.672 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.1471, allocations: 11.88 kB / 0.6358 GB, free: 6.66 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.1472, allocations: 52 kB / 0.6359 GB, free: 6.609 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.546e-05/0.1472, allocations: 61.28 kB / 0.6359 GB, free: 6.547 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.1497, allocations: 1.792 MB / 0.6377 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.005477/0.1552, allocations: 10.33 MB / 0.6478 GB, free: 10.05 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.1577, allocations: 1.705 MB / 0.6494 GB, free: 8.277 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.1584, allocations: 0.5908 MB / 0.65 GB, free: 7.664 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.1585, allocations: 72.48 kB / 0.6501 GB, free: 7.59 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002048/0.1606, allocations: 1.446 MB / 0.6515 GB, free: 6.098 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=195): time 2.104e-06/0.1606, allocations: 0 / 0.6515 GB, free: 6.098 MB / 0.5418 GB Notification: Performance of matching and sorting (n=195): time 0.004968/0.1655, allocations: 3.315 MB / 0.6547 GB, free: 2.773 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.1657, allocations: 428.8 kB / 0.6552 GB, free: 2.258 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.1673, allocations: 1.939 MB / 0.657 GB, free: 284 kB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/0.1673, allocations: 45.64 kB / 0.6571 GB, free: 232 kB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/0.1678, allocations: 0.8515 MB / 0.6579 GB, free: 15.36 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/0.1681, allocations: 0.6544 MB / 0.6586 GB, free: 14.7 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004022/0.1685, allocations: 443.5 kB / 0.659 GB, free: 14.26 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.1686, allocations: 309 kB / 0.6593 GB, free: 13.96 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009716/0.1696, allocations: 0.8738 MB / 0.6601 GB, free: 13.07 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.1708, allocations: 1.585 MB / 0.6617 GB, free: 11.17 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004539/0.1754, allocations: 4.034 MB / 0.6656 GB, free: 6.844 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.1754, allocations: 8 kB / 0.6656 GB, free: 6.836 MB / 0.5574 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00297/0.1783, allocations: 2.741 MB / 0.6683 GB, free: 4.07 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.1784, allocations: 37.7 kB / 0.6683 GB, free: 4.027 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002123/0.1805, allocations: 1.939 MB / 0.6702 GB, free: 2.074 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.1807, allocations: 84.81 kB / 0.6703 GB, free: 1.988 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009176/0.1816, allocations: 0.5615 MB / 0.6709 GB, free: 1.426 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009112/0.1825, allocations: 1.518 MB / 0.6723 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.1831, allocations: 234.4 kB / 0.6726 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.1832, allocations: 131.9 kB / 0.6727 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.001472/0.1847, allocations: 1.344 MB / 0.674 GB, free: 14.09 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001274/0.186, allocations: 1.573 MB / 0.6755 GB, free: 12.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004346/0.1903, allocations: 3.999 MB / 0.6794 GB, free: 7.906 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.191e-06/0.1903, allocations: 4 kB / 0.6795 GB, free: 7.902 MB / 0.573 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.00289/0.1932, allocations: 2.723 MB / 0.6821 GB, free: 5.156 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.1933, allocations: 41.69 kB / 0.6821 GB, free: 5.109 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002125/0.1954, allocations: 1.919 MB / 0.684 GB, free: 3.172 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000116/0.1955, allocations: 92.92 kB / 0.6841 GB, free: 3.078 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009006/0.1964, allocations: 0.546 MB / 0.6846 GB, free: 2.531 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007988/0.1972, allocations: 1.518 MB / 0.6861 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.1978, allocations: 202.9 kB / 0.6863 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.1979, allocations: 140 kB / 0.6865 GB, free: 0.5742 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.0003212/0.1982, allocations: 334.5 kB / 0.6868 GB, free: 248 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.1985, allocations: 230.4 kB / 0.687 GB, free: 16 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.002386/0.2008, allocations: 2.383 MB / 0.6893 GB, free: 13.6 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.139463418163359] Failed to read output from testmodel.py, exit status != 0: 0.5642066914588213 0.573148463 0.43337162700000004 Calling exit ...