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.01722/0.01722, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.001938/0.001938, allocations: 76.78 kB / 24.88 MB, free: 6.824 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.002322/0.002322, allocations: 160.8 kB / 28.74 MB, free: 3.656 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 1.506/1.506, allocations: 177.2 MB / 209.6 MB, free: 2.383 MB / 186.7 MB " [Timeout remaining time 178] 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 1.133/1.133, allocations: 102.5 MB / 369.1 MB, free: 0.8984 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 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.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.974e-06/1.974e-06, allocations: 0 / 469.1 MB, free: 13 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.49e-05/3.687e-05, allocations: 3.719 kB / 469.2 MB, free: 13 MB / 442.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.1902/0.1903, allocations: 58.32 MB / 0.5151 GB, free: 2.629 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2598/0.4501, allocations: 16.44 MB / 0.5312 GB, free: 69.01 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.4518, allocations: 52.75 kB / 0.5312 GB, free: 68.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003573/0.4554, allocations: 1.422 MB / 0.5326 GB, free: 68.38 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.4593, allocations: 1.553 MB / 0.5341 GB, free: 67.49 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004276/0.4635, allocations: 1.792 MB / 0.5359 GB, free: 66.57 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.005007/0.4685, allocations: 3.627 MB / 0.5394 GB, free: 64.9 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.4702, allocations: 0.9369 MB / 0.5403 GB, free: 64.3 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.4736, allocations: 1.878 MB / 0.5422 GB, free: 63.52 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.4761, allocations: 1.454 MB / 0.5436 GB, free: 63.05 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0006014/0.4767, allocations: 200 kB / 0.5438 GB, free: 63.05 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.4801, allocations: 1.096 MB / 0.5448 GB, free: 62.74 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.4813, allocations: 0.8466 MB / 0.5457 GB, free: 62.3 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.4825, allocations: 0.717 MB / 0.5464 GB, free: 61.97 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.008344/0.4909, allocations: 3.857 MB / 0.5501 GB, free: 60.61 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.4909, allocations: 0 / 0.5501 GB, free: 60.61 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4909, allocations: 2 kB / 0.5501 GB, free: 60.61 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001093/0.491, allocations: 0 / 0.5501 GB, free: 60.61 MB / 490.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.007524/0.4985, allocations: 3.228 MB / 0.5533 GB, free: 58.59 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.4986, allocations: 10.59 kB / 0.5533 GB, free: 58.59 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.4998, allocations: 398.3 kB / 0.5537 GB, free: 58.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004761/0.5046, allocations: 2.283 MB / 0.5559 GB, free: 57.32 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/0.5047, allocations: 75.16 kB / 0.556 GB, free: 57.28 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.5049, allocations: 99.7 kB / 0.5561 GB, free: 57.25 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005018/0.5099, allocations: 2.876 MB / 0.5589 GB, free: 55.26 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.5099, allocations: 17.5 kB / 0.5589 GB, free: 55.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.51, allocations: 55.61 kB / 0.559 GB, free: 55.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.5101, allocations: 67.36 kB / 0.559 GB, free: 55.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004059/0.5142, allocations: 1.597 MB / 0.5606 GB, free: 54.82 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.01005/0.5242, allocations: 14.84 MB / 0.5751 GB, free: 41.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004007/0.5282, allocations: 1.524 MB / 0.5766 GB, free: 40.52 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009196/0.5292, allocations: 484.2 kB / 0.577 GB, free: 40.26 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002421/0.5294, allocations: 79.61 kB / 0.5771 GB, free: 40.24 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003261/0.5327, allocations: 1.448 MB / 0.5785 GB, free: 39.43 MB / 490.8 MB Notification: Performance of pre-optimization done (n=195): time 4.408e-06/0.5327, allocations: 0.5625 kB / 0.5785 GB, free: 39.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=195): time 0.008443/0.5411, allocations: 3.088 MB / 0.5815 GB, free: 37.96 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.5412, allocations: 431.8 kB / 0.5819 GB, free: 37.44 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00411/0.5453, allocations: 2.299 MB / 0.5842 GB, free: 35.09 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002254/0.5456, allocations: 37.7 kB / 0.5842 GB, free: 35.05 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007774/0.5463, allocations: 1.036 MB / 0.5852 GB, free: 34 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006505/0.547, allocations: 0.7169 MB / 0.5859 GB, free: 33.27 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008651/0.5479, allocations: 0.5288 MB / 0.5865 GB, free: 32.73 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.5479, allocations: 485.7 kB / 0.5869 GB, free: 32.26 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.5491, allocations: 0.7139 MB / 0.5876 GB, free: 31.54 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.5507, allocations: 1.757 MB / 0.5893 GB, free: 29.36 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003671/0.5543, allocations: 3.178 MB / 0.5924 GB, free: 25.82 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.5544, allocations: 4 kB / 0.5924 GB, free: 25.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004029/0.5584, allocations: 2.499 MB / 0.5949 GB, free: 23.32 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.5584, allocations: 46.89 kB / 0.5949 GB, free: 23.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002463/0.5609, allocations: 1.591 MB / 0.5965 GB, free: 21.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/0.5612, allocations: 86.55 kB / 0.5966 GB, free: 21.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.5627, allocations: 0.5499 MB / 0.5971 GB, free: 21.02 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009555/0.5637, allocations: 1.87 MB / 0.5989 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.5653, allocations: 227.2 kB / 0.5991 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.5655, allocations: 131.9 kB / 0.5993 GB, free: 18.68 MB / 490.8 MB 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.001858/0.5674, allocations: 1.045 MB / 0.6003 GB, free: 17.62 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001472/0.5688, allocations: 1.75 MB / 0.602 GB, free: 15.46 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003539/0.5724, allocations: 3.17 MB / 0.6051 GB, free: 11.94 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.135e-06/0.5724, allocations: 4 kB / 0.6051 GB, free: 11.94 MB / 490.8 MB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.003923/0.5763, allocations: 2.496 MB / 0.6075 GB, free: 9.434 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.5763, allocations: 45.69 kB / 0.6076 GB, free: 9.383 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002437/0.5788, allocations: 1.577 MB / 0.6091 GB, free: 7.785 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.5791, allocations: 86.31 kB / 0.6092 GB, free: 7.699 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.5805, allocations: 0.546 MB / 0.6097 GB, free: 7.152 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008581/0.5814, allocations: 1.868 MB / 0.6116 GB, free: 5.168 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.583, allocations: 186.8 kB / 0.6117 GB, free: 4.984 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/0.5831, allocations: 141.7 kB / 0.6119 GB, free: 4.848 MB / 490.8 MB 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.0006159/0.5838, allocations: 412.5 kB / 0.6123 GB, free: 4.445 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004956/0.5843, allocations: 258.4 kB / 0.6125 GB, free: 4.191 MB / 490.8 MB 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.003372/0.5876, allocations: 2.212 MB / 0.6147 GB, free: 2.082 MB / 490.8 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.395503034000285]