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.006352/0.006352, allocations: 1.451 MB / 21.3 MB, free: 3.234 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.0007974/0.0007974, allocations: 83.28 kB / 24.9 MB, free: 6.762 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.0007361/0.0007361, allocations: 173 kB / 28.62 MB, free: 4.305 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.9011/0.9011, allocations: 177.2 MB / 209.4 MB, free: 2.977 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.7702/0.7702, allocations: 102.5 MB / 368.7 MB, free: 1.484 MB / 330.8 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 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_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_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5374 GB, free: 39.8 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.757e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.8 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.127/0.127, allocations: 56.93 MB / 0.593 GB, free: 3.098 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02205/0.149, allocations: 15.9 MB / 0.6085 GB, free: 3.148 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.1511, allocations: 55.56 kB / 0.6086 GB, free: 3.094 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.003084/0.1542, allocations: 1.409 MB / 0.61 GB, free: 1.68 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.1567, allocations: 1.561 MB / 0.6115 GB, free: 112 kB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.1605, allocations: 1.78 MB / 0.6132 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002898/0.1634, allocations: 3.646 MB / 0.6168 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007681/0.1642, allocations: 0.8817 MB / 0.6177 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.1656, allocations: 1.878 MB / 0.6195 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.1668, allocations: 1.451 MB / 0.6209 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.167, allocations: 200 kB / 0.6211 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.1687, allocations: 1.099 MB / 0.6222 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000668/0.1694, allocations: 0.8371 MB / 0.623 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005161/0.1699, allocations: 0.7206 MB / 0.6237 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.1729, allocations: 3.832 MB / 0.6274 GB, free: 15.73 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1729, allocations: 0 / 0.6274 GB, free: 15.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.514e-06/0.1729, allocations: 4 kB / 0.6274 GB, free: 15.72 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.1729, allocations: 4 kB / 0.6274 GB, free: 15.72 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.003218/0.1761, allocations: 2.883 MB / 0.6303 GB, free: 12.79 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1762, allocations: 12.03 kB / 0.6303 GB, free: 12.77 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005211/0.1767, allocations: 319.1 kB / 0.6306 GB, free: 12.46 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/0.1795, allocations: 2.562 MB / 0.6331 GB, free: 9.863 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.1795, allocations: 70.38 kB / 0.6331 GB, free: 9.793 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.1796, allocations: 100.4 kB / 0.6332 GB, free: 9.695 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/0.1827, allocations: 2.669 MB / 0.6358 GB, free: 6.664 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.1828, allocations: 15.88 kB / 0.6359 GB, free: 6.648 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/0.1828, allocations: 47.98 kB / 0.6359 GB, free: 6.602 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.21e-05/0.1829, allocations: 73.22 kB / 0.636 GB, free: 6.527 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.1857, allocations: 1.785 MB / 0.6377 GB, free: 4.746 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.006147/0.1918, allocations: 10.32 MB / 0.6478 GB, free: 10.05 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002583/0.1944, allocations: 1.715 MB / 0.6495 GB, free: 8.27 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000694/0.1951, allocations: 0.5869 MB / 0.65 GB, free: 7.66 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.1953, allocations: 76.48 kB / 0.6501 GB, free: 7.582 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002244/0.1975, allocations: 1.442 MB / 0.6515 GB, free: 6.094 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=195): time 2.665e-06/0.1975, allocations: 0 / 0.6515 GB, free: 6.094 MB / 0.5418 GB Notification: Performance of matching and sorting (n=195): time 0.005175/0.2027, allocations: 3.315 MB / 0.6548 GB, free: 2.77 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.2028, allocations: 427.9 kB / 0.6552 GB, free: 2.254 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.2046, allocations: 1.939 MB / 0.6571 GB, free: 280 kB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.395e-05/0.2047, allocations: 42.61 kB / 0.6571 GB, free: 232 kB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.000663/0.2053, allocations: 0.8515 MB / 0.6579 GB, free: 15.36 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.2057, allocations: 0.6583 MB / 0.6586 GB, free: 14.7 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004306/0.2061, allocations: 447.5 kB / 0.659 GB, free: 14.25 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.2062, allocations: 305.1 kB / 0.6593 GB, free: 13.95 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009999/0.2072, allocations: 0.8777 MB / 0.6602 GB, free: 13.07 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.2085, allocations: 1.577 MB / 0.6617 GB, free: 11.17 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004794/0.2133, allocations: 4.038 MB / 0.6656 GB, free: 6.84 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.2133, allocations: 4 kB / 0.6656 GB, free: 6.836 MB / 0.5574 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.003055/0.2164, allocations: 2.742 MB / 0.6683 GB, free: 4.07 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.2164, allocations: 41.7 kB / 0.6684 GB, free: 4.023 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002226/0.2187, allocations: 1.935 MB / 0.6703 GB, free: 2.074 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/0.2188, allocations: 88.8 kB / 0.6703 GB, free: 1.984 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009373/0.2198, allocations: 0.5615 MB / 0.6709 GB, free: 1.422 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.221, allocations: 1.518 MB / 0.6724 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007595/0.2217, allocations: 230.4 kB / 0.6726 GB, free: 15.58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.2219, allocations: 135.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.001621/0.2235, allocations: 1.34 MB / 0.674 GB, free: 14.09 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001292/0.2248, allocations: 1.573 MB / 0.6756 GB, free: 12.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004723/0.2295, allocations: 3.995 MB / 0.6795 GB, free: 7.91 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.093e-06/0.2295, allocations: 12 kB / 0.6795 GB, free: 7.898 MB / 0.573 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.003042/0.2326, allocations: 2.718 MB / 0.6821 GB, free: 5.156 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.2326, allocations: 45.92 kB / 0.6822 GB, free: 5.105 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00218/0.2348, allocations: 1.922 MB / 0.684 GB, free: 3.164 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001326/0.2349, allocations: 89 kB / 0.6841 GB, free: 3.074 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.236, allocations: 0.5577 MB / 0.6847 GB, free: 2.516 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000987/0.237, allocations: 1.51 MB / 0.6862 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008086/0.2378, allocations: 202.7 kB / 0.6863 GB, free: 0.7031 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.238, allocations: 140 kB / 0.6865 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.000568/0.2386, allocations: 325 kB / 0.6868 GB, free: 252 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.2388, allocations: 234.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.002781/0.2416, 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.461217815987766] Failed to read output from testmodel.py, exit status != 0: 0.6951046856120229 0.705766231 0.53080085 Calling exit ...