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.008527/0.008527, allocations: 1.795 MB / 21.89 MB, free: 2.637 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.0008222/0.0008222, allocations: 87.27 kB / 25.61 MB, free: 6.453 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.0008642/0.0008642, allocations: 173.1 kB / 29.46 MB, free: 2.996 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.9747/0.9747, allocations: 177.2 MB / 210.4 MB, free: 3.574 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.6085/0.6085, allocations: 102.4 MB / 369.8 MB, free: 384 kB / 330.7 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 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_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.[0-9,]+.|tubeBundle_L2_Simple.p.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 469.9 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.635e-05, allocations: 4.422 kB / 469.9 MB, free: 19.01 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.61 MB / 0.5181 GB, free: 11.68 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01913/0.1328, allocations: 16.56 MB / 0.5342 GB, free: 11.09 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.1342, allocations: 55.56 kB / 0.5343 GB, free: 11.04 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.137, allocations: 1.406 MB / 0.5357 GB, free: 9.625 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.1389, allocations: 1.565 MB / 0.5372 GB, free: 8.051 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.1418, allocations: 1.788 MB / 0.5389 GB, free: 6.258 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.00313/0.1449, allocations: 3.639 MB / 0.5425 GB, free: 2.605 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007943/0.1457, allocations: 0.933 MB / 0.5434 GB, free: 1.648 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.1472, allocations: 1.886 MB / 0.5452 GB, free: 15.76 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.1486, allocations: 1.457 MB / 0.5467 GB, free: 14.3 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.1488, allocations: 200 kB / 0.5468 GB, free: 14.11 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.1506, allocations: 1.095 MB / 0.5479 GB, free: 13.01 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0008085/0.1515, allocations: 0.845 MB / 0.5487 GB, free: 12.16 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005482/0.152, allocations: 0.7207 MB / 0.5494 GB, free: 11.44 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002525/0.1545, allocations: 2.799 MB / 0.5522 GB, free: 8.629 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1545, allocations: 0 / 0.5522 GB, free: 8.629 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1545, allocations: 0 / 0.5522 GB, free: 8.629 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1545, allocations: 0 / 0.5522 GB, free: 8.629 MB / 474.8 MB 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.003019/0.1576, allocations: 3.056 MB / 0.5552 GB, free: 5.516 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1576, allocations: 12.03 kB / 0.5552 GB, free: 5.504 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000765/0.1584, allocations: 403.1 kB / 0.5556 GB, free: 5.109 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/0.1611, allocations: 2.27 MB / 0.5578 GB, free: 2.797 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.1612, allocations: 82.36 kB / 0.5579 GB, free: 2.715 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.1613, allocations: 96.38 kB / 0.5579 GB, free: 2.621 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.1642, allocations: 2.419 MB / 0.5603 GB, free: 15.73 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.1643, allocations: 11.88 kB / 0.5603 GB, free: 15.71 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/0.1643, allocations: 51.98 kB / 0.5604 GB, free: 15.66 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.294e-05/0.1644, allocations: 61.28 kB / 0.5604 GB, free: 15.61 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.1666, allocations: 1.12 MB / 0.5615 GB, free: 14.48 MB / 490.8 MB 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.007005/0.1736, allocations: 13.93 MB / 0.5751 GB, free: 72 kB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/0.1759, allocations: 1.208 MB / 0.5763 GB, free: 14.77 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.1763, allocations: 301 kB / 0.5766 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002278/0.1766, allocations: 80.55 kB / 0.5767 GB, free: 14.37 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/0.1784, allocations: 1.094 MB / 0.5777 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=195): time 3.717e-06/0.1784, allocations: 0 / 0.5777 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of matching and sorting (n=195): time 0.004805/0.1832, allocations: 2.371 MB / 0.58 GB, free: 10.83 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.1834, allocations: 435.8 kB / 0.5805 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.1852, allocations: 1.808 MB / 0.5822 GB, free: 8.449 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 8.528e-05/0.1853, allocations: 45.7 kB / 0.5823 GB, free: 8.398 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006163/0.1859, allocations: 0.9569 MB / 0.5832 GB, free: 7.426 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/0.1864, allocations: 0.678 MB / 0.5839 GB, free: 6.742 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004411/0.1869, allocations: 481.5 kB / 0.5843 GB, free: 6.262 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.187, allocations: 480.7 kB / 0.5848 GB, free: 5.789 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.1876, allocations: 402.2 kB / 0.5852 GB, free: 5.387 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.1886, allocations: 1.379 MB / 0.5865 GB, free: 3.59 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.1908, allocations: 2.172 MB / 0.5886 GB, free: 1.027 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.1908, allocations: 4 kB / 0.5886 GB, free: 1.023 MB / 0.4949 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002517/0.1934, allocations: 1.865 MB / 0.5905 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.1934, allocations: 40.7 kB / 0.5905 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00147/0.1949, allocations: 1.074 MB / 0.5916 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.1951, allocations: 67.66 kB / 0.5916 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/0.1961, allocations: 0.5576 MB / 0.5922 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008917/0.197, allocations: 1.794 MB / 0.5939 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/0.1976, allocations: 230.4 kB / 0.5941 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.1978, allocations: 131.9 kB / 0.5943 GB, free: 11.1 MB / 0.5105 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.0009208/0.1987, allocations: 0.5431 MB / 0.5948 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001041/0.1997, allocations: 1.383 MB / 0.5961 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002242/0.202, allocations: 2.163 MB / 0.5983 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.053e-06/0.202, allocations: 8 kB / 0.5983 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.002332/0.2043, allocations: 1.866 MB / 0.6001 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.2043, allocations: 41.64 kB / 0.6001 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001434/0.2058, allocations: 1.055 MB / 0.6011 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.2059, allocations: 80.02 kB / 0.6012 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009173/0.2069, allocations: 0.546 MB / 0.6018 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008599/0.2077, allocations: 1.79 MB / 0.6035 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006317/0.2083, allocations: 194.7 kB / 0.6037 GB, free: 456 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.2085, allocations: 136 kB / 0.6038 GB, free: 320 kB / 0.5105 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.0004123/0.2089, allocations: 410.7 kB / 0.6042 GB, free: 15.9 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.2092, allocations: 258.3 kB / 0.6045 GB, free: 15.65 MB / 0.5262 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.002231/0.2114, allocations: 2.05 MB / 0.6065 GB, free: 13.56 MB / 0.5262 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2040419259574264]