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.01021/0.01021, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.001494/0.001494, allocations: 78.53 kB / 24.02 MB, free: 2.59 MB / 14.72 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.001869/0.001869, allocations: 152.5 kB / 27.71 MB, free: 3.844 MB / 19.63 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.446/1.446, allocations: 177.1 MB / 208.4 MB, free: 7.664 MB / 190.1 MB " [Timeout remaining time 178] 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 1.021/1.021, allocations: 102.5 MB / 367.7 MB, free: 4.586 MB / 334.1 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.3.1 (/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.643e-06/1.643e-06, allocations: 0 / 0.5364 GB, free: 7.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.324e-05, allocations: 4.844 kB / 0.5364 GB, free: 7.094 MB / 446.1 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.1821/0.1821, allocations: 56.96 MB / 0.5921 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02515/0.2073, allocations: 15.9 MB / 0.6076 GB, free: 0.7109 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.2094, allocations: 55.62 kB / 0.6077 GB, free: 0.6562 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.004021/0.2134, allocations: 1.409 MB / 0.609 GB, free: 15.24 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.004234/0.2177, allocations: 1.557 MB / 0.6105 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.004731/0.2224, allocations: 1.791 MB / 0.6123 GB, free: 11.88 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.005888/0.2283, allocations: 3.635 MB / 0.6158 GB, free: 8.234 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.2301, allocations: 0.8817 MB / 0.6167 GB, free: 7.332 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00311/0.2332, allocations: 1.882 MB / 0.6185 GB, free: 5.445 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.2356, allocations: 1.451 MB / 0.62 GB, free: 3.992 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0003923/0.236, allocations: 200 kB / 0.6202 GB, free: 3.797 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002829/0.2388, allocations: 1.099 MB / 0.6212 GB, free: 2.695 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0009737/0.2398, allocations: 0.8371 MB / 0.622 GB, free: 1.855 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.2409, allocations: 0.7169 MB / 0.6227 GB, free: 1.137 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.006561/0.2474, allocations: 3.84 MB / 0.6265 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2474, allocations: 0 / 0.6265 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2474, allocations: 4 kB / 0.6265 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.657e-05/0.2475, allocations: 0 / 0.6265 GB, free: 13.28 MB / 0.5294 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.005823/0.2533, allocations: 2.887 MB / 0.6293 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.2533, allocations: 8.031 kB / 0.6293 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.2543, allocations: 319 kB / 0.6296 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004995/0.2593, allocations: 2.556 MB / 0.6321 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.2594, allocations: 70.38 kB / 0.6322 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.2596, allocations: 108.3 kB / 0.6323 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005599/0.2652, allocations: 2.665 MB / 0.6349 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.709e-05/0.2652, allocations: 15.88 kB / 0.6349 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.2654, allocations: 47.98 kB / 0.635 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.2655, allocations: 65.28 kB / 0.635 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004887/0.2703, allocations: 1.788 MB / 0.6368 GB, free: 2.316 MB / 0.5294 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.01114/0.2815, allocations: 10.32 MB / 0.6468 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005051/0.2865, allocations: 1.705 MB / 0.6485 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.2879, allocations: 0.5947 MB / 0.6491 GB, free: 5.227 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.2881, allocations: 76.55 kB / 0.6492 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003967/0.292, allocations: 1.454 MB / 0.6506 GB, free: 3.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=195): time 3.496e-06/0.292, allocations: 0 / 0.6506 GB, free: 3.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=195): time 0.01005/0.3021, allocations: 3.304 MB / 0.6538 GB, free: 344 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002757/0.3024, allocations: 432.1 kB / 0.6542 GB, free: 15.82 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003226/0.3056, allocations: 1.943 MB / 0.6561 GB, free: 13.83 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0001896/0.3058, allocations: 37.7 kB / 0.6562 GB, free: 13.79 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008002/0.3066, allocations: 0.8515 MB / 0.657 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007362/0.3073, allocations: 0.6621 MB / 0.6576 GB, free: 12.26 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007307/0.308, allocations: 443.6 kB / 0.6581 GB, free: 11.82 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3082, allocations: 313 kB / 0.6584 GB, free: 11.51 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.3098, allocations: 0.8777 MB / 0.6592 GB, free: 10.62 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.3122, allocations: 1.585 MB / 0.6608 GB, free: 8.723 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008656/0.3208, allocations: 4.023 MB / 0.6647 GB, free: 4.406 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.3208, allocations: 4 kB / 0.6647 GB, free: 4.402 MB / 0.5607 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005688/0.3265, allocations: 2.749 MB / 0.6674 GB, free: 1.629 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.3266, allocations: 41.7 kB / 0.6674 GB, free: 1.582 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00378/0.3304, allocations: 1.939 MB / 0.6693 GB, free: 15.63 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.3307, allocations: 88.75 kB / 0.6694 GB, free: 15.54 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.3325, allocations: 0.5538 MB / 0.6699 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.3341, allocations: 1.518 MB / 0.6714 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.3359, allocations: 230.4 kB / 0.6716 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/0.3362, allocations: 131.9 kB / 0.6718 GB, free: 13.01 MB / 0.5763 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.003032/0.3392, allocations: 1.354 MB / 0.6731 GB, free: 11.64 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002427/0.3417, allocations: 1.573 MB / 0.6746 GB, free: 9.75 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008812/0.3505, allocations: 3.995 MB / 0.6785 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.035e-05/0.3505, allocations: 8 kB / 0.6785 GB, free: 5.449 MB / 0.5763 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.006019/0.3565, allocations: 2.722 MB / 0.6812 GB, free: 2.707 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 6.038e-05/0.3566, allocations: 45.69 kB / 0.6812 GB, free: 2.656 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003853/0.3604, allocations: 1.915 MB / 0.6831 GB, free: 0.7227 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/0.3607, allocations: 92.8 kB / 0.6832 GB, free: 0.6289 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.3626, allocations: 0.5537 MB / 0.6837 GB, free: 76 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.3642, allocations: 1.525 MB / 0.6852 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.3659, allocations: 202.8 kB / 0.6854 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/0.3662, allocations: 135.9 kB / 0.6855 GB, free: 14.11 MB / 0.5919 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.0007829/0.367, allocations: 316.6 kB / 0.6858 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007748/0.3677, allocations: 238.4 kB / 0.6861 GB, free: 13.56 MB / 0.5919 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.005086/0.3728, allocations: 2.383 MB / 0.6884 GB, free: 11.14 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.4893461018800735] Failed to read output from testmodel.py, exit status != 0: 0.8268036022782326 0.835743336 0.586048648 Calling exit ...