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.01271/0.01271, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.001692/0.001692, allocations: 107.9 kB / 24.19 MB, free: 2.688 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.001884/0.001884, allocations: 211.8 kB / 27.92 MB, free: 4.035 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.569/1.569, allocations: 230.6 MB / 262.1 MB, free: 6.008 MB / 206.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.089/1.089, allocations: 130.7 MB / 449.6 MB, free: 6.621 MB / 350.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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03334/0.03334, allocations: 20.79 MB / 0.6362 GB, free: 4.652 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.2267, allocations: 81.91 MB / 0.7162 GB, free: 2.66 MB / 0.5294 GB 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.59/0.8168, allocations: 44.38 MB / 0.7595 GB, free: 21.95 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02625/0.843, allocations: 16.93 MB / 0.7761 GB, free: 9.926 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003164/0.8462, allocations: 55.94 kB / 0.7761 GB, free: 9.898 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004441/0.8506, allocations: 1.509 MB / 0.7776 GB, free: 9.238 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005252/0.8559, allocations: 1.516 MB / 0.7791 GB, free: 8.375 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005315/0.8612, allocations: 1.759 MB / 0.7808 GB, free: 7.484 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.00862/0.8698, allocations: 3.548 MB / 0.7843 GB, free: 5.898 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.8718, allocations: 0.8151 MB / 0.7851 GB, free: 5.531 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003496/0.8753, allocations: 1.433 MB / 0.7865 GB, free: 4.898 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003491/0.8788, allocations: 1.666 MB / 0.7881 GB, free: 3.887 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0006192/0.8794, allocations: 206.5 kB / 0.7883 GB, free: 3.883 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/0.884, allocations: 1.543 MB / 0.7898 GB, free: 3.066 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0008539/0.8849, allocations: 0.8069 MB / 0.7906 GB, free: 2.492 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.8862, allocations: 1.15 MB / 0.7917 GB, free: 1.656 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.00652/0.8927, allocations: 3.958 MB / 0.7956 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8927, allocations: 3.75 kB / 0.7956 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8927, allocations: 0 / 0.7956 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.735e-05/0.8928, allocations: 3.984 kB / 0.7956 GB, free: 15.05 MB / 0.5763 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.006583/0.8993, allocations: 2.91 MB / 0.7984 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.8994, allocations: 12.84 kB / 0.7984 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.9005, allocations: 315.1 kB / 0.7987 GB, free: 12.8 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/0.9061, allocations: 2.551 MB / 0.8012 GB, free: 11.1 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.9062, allocations: 77.92 kB / 0.8013 GB, free: 11.06 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.9063, allocations: 107 kB / 0.8014 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005568/0.9119, allocations: 2.444 MB / 0.8038 GB, free: 9.156 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/0.9119, allocations: 14.31 kB / 0.8038 GB, free: 9.145 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.9121, allocations: 50.62 kB / 0.8039 GB, free: 9.098 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.9122, allocations: 61.28 kB / 0.8039 GB, free: 9.039 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00477/0.9169, allocations: 1.801 MB / 0.8057 GB, free: 7.242 MB / 0.5763 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.01282/0.9298, allocations: 10.93 MB / 0.8163 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004797/0.9346, allocations: 1.723 MB / 0.818 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.9358, allocations: 0.5894 MB / 0.8186 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/0.936, allocations: 88.5 kB / 0.8187 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003741/0.9397, allocations: 1.443 MB / 0.8201 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 4.809e-06/0.9397, allocations: 2.656 kB / 0.8201 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009496/0.9492, allocations: 3.311 MB / 0.8233 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002888/0.9495, allocations: 438.5 kB / 0.8237 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003352/0.9529, allocations: 1.943 MB / 0.8256 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/0.953, allocations: 41.7 kB / 0.8257 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008557/0.9539, allocations: 0.8595 MB / 0.8265 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007318/0.9546, allocations: 0.6621 MB / 0.8272 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007216/0.9553, allocations: 462.1 kB / 0.8276 GB, free: 128 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.9555, allocations: 301.1 kB / 0.8279 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.9571, allocations: 0.8474 MB / 0.8287 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.9594, allocations: 1.48 MB / 0.8302 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008478/0.9679, allocations: 4.029 MB / 0.8341 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.9679, allocations: 4 kB / 0.8341 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005712/0.9736, allocations: 2.717 MB / 0.8368 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.506e-05/0.9737, allocations: 43.02 kB / 0.8368 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003651/0.9773, allocations: 1.91 MB / 0.8387 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.9776, allocations: 94.36 kB / 0.8388 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.9794, allocations: 0.5538 MB / 0.8393 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.9811, allocations: 1.551 MB / 0.8408 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.983, allocations: 242.2 kB / 0.841 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.9832, allocations: 135.9 kB / 0.8412 GB, free: 1.617 MB / 0.6075 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.00287/0.9861, allocations: 1.316 MB / 0.8425 GB, free: 304 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002266/0.9884, allocations: 1.472 MB / 0.8439 GB, free: 14.55 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008214/0.9966, allocations: 3.982 MB / 0.8478 GB, free: 10.34 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-05/0.9966, allocations: 12.12 kB / 0.8478 GB, free: 10.34 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005785/1.002, allocations: 2.701 MB / 0.8504 GB, free: 7.633 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 5.496e-05/1.002, allocations: 46.45 kB / 0.8505 GB, free: 7.586 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003673/1.006, allocations: 1.88 MB / 0.8523 GB, free: 5.695 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/1.006, allocations: 92.73 kB / 0.8524 GB, free: 5.602 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.008, allocations: 0.5589 MB / 0.853 GB, free: 5.047 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/1.01, allocations: 1.542 MB / 0.8545 GB, free: 3.398 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/1.012, allocations: 194.8 kB / 0.8546 GB, free: 3.207 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/1.012, allocations: 139.9 kB / 0.8548 GB, free: 3.07 MB / 0.6232 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.0008723/1.013, allocations: 337.3 kB / 0.8551 GB, free: 2.75 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006859/1.013, allocations: 234.4 kB / 0.8553 GB, free: 2.52 MB / 0.6232 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.004868/1.018, allocations: 2.366 MB / 0.8576 GB, free: 288 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.131187958002556] Failed to read output from testmodel.py, exit status != 0: 1.2323869270003343 1.249123275 0.352762434 Calling exit ...