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.0124/0.0124, allocations: 1.349 MB / 21.03 MB, free: 0.7617 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.001569/0.001569, allocations: 79.47 kB / 24.58 MB, free: 2.145 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.001823/0.001823, allocations: 170 kB / 28.26 MB, free: 3.402 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.403/1.403, allocations: 177.2 MB / 209 MB, free: 7.535 MB / 190.1 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 0.9973/0.9973, allocations: 102.5 MB / 368.4 MB, free: 4.133 MB / 334.1 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.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_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: 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.06937/0.06937, allocations: 20.97 MB / 0.5569 GB, free: 4.926 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.2201, allocations: 81.87 MB / 0.6369 GB, free: 2.91 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.1403/0.3604, allocations: 35.87 MB / 0.6719 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3445/0.7049, allocations: 16.17 MB / 0.6877 GB, free: 18.5 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.7063, allocations: 55.09 kB / 0.6878 GB, free: 18.5 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.7094, allocations: 1.399 MB / 0.6891 GB, free: 18.49 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.7123, allocations: 1.513 MB / 0.6906 GB, free: 18.42 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.7158, allocations: 1.759 MB / 0.6923 GB, free: 18.38 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.004356/0.7202, allocations: 3.542 MB / 0.6958 GB, free: 17.86 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.7214, allocations: 0.8807 MB / 0.6966 GB, free: 17.77 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.7237, allocations: 1.436 MB / 0.698 GB, free: 17.5 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.7263, allocations: 1.613 MB / 0.6996 GB, free: 17.18 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0003607/0.7267, allocations: 199.1 kB / 0.6998 GB, free: 17.18 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.7291, allocations: 1.088 MB / 0.7009 GB, free: 17.09 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0007903/0.7299, allocations: 0.8049 MB / 0.7017 GB, free: 16.97 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0009009/0.7308, allocations: 0.8938 MB / 0.7025 GB, free: 16.69 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.004198/0.735, allocations: 3.864 MB / 0.7063 GB, free: 16.09 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.735, allocations: 0 / 0.7063 GB, free: 16.09 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.994e-06/0.735, allocations: 1.344 kB / 0.7063 GB, free: 16.09 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 3.012e-05/0.7351, allocations: 0 / 0.7063 GB, free: 16.09 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.004608/0.7397, allocations: 2.922 MB / 0.7092 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.7397, allocations: 8.906 kB / 0.7092 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008543/0.7406, allocations: 318 kB / 0.7095 GB, free: 14.54 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/0.7443, allocations: 2.55 MB / 0.712 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.7443, allocations: 78.95 kB / 0.712 GB, free: 13.67 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.7445, allocations: 101.1 kB / 0.7121 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004425/0.7489, allocations: 2.673 MB / 0.7147 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.7489, allocations: 15.62 kB / 0.7148 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.7491, allocations: 48.17 kB / 0.7148 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.277e-05/0.7491, allocations: 64.56 kB / 0.7149 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.7534, allocations: 1.795 MB / 0.7166 GB, free: 10.7 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.0072/0.7606, allocations: 10.34 MB / 0.7267 GB, free: 1.352 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/0.7652, allocations: 1.706 MB / 0.7284 GB, free: 388 kB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.7664, allocations: 0.5884 MB / 0.729 GB, free: 32 kB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.7666, allocations: 70.39 kB / 0.729 GB, free: 12 kB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003824/0.7705, allocations: 1.446 MB / 0.7304 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.717e-06/0.7705, allocations: 5.625 kB / 0.7304 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009417/0.7799, allocations: 3.307 MB / 0.7337 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002381/0.7801, allocations: 436.6 kB / 0.7341 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/0.783, allocations: 1.934 MB / 0.736 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.7831, allocations: 38.86 kB / 0.736 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000777/0.7839, allocations: 0.8602 MB / 0.7369 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006209/0.7845, allocations: 0.6698 MB / 0.7375 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006853/0.7852, allocations: 452.2 kB / 0.7379 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7853, allocations: 309.1 kB / 0.7382 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.7869, allocations: 0.8773 MB / 0.7391 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.7891, allocations: 1.588 MB / 0.7406 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007944/0.797, allocations: 4.016 MB / 0.7446 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.7971, allocations: 15.39 kB / 0.7446 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005107/0.8022, allocations: 2.741 MB / 0.7473 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.8022, allocations: 45.05 kB / 0.7473 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003504/0.8057, allocations: 1.941 MB / 0.7492 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002755/0.806, allocations: 92.69 kB / 0.7493 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/0.8078, allocations: 0.5583 MB / 0.7498 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.8093, allocations: 1.511 MB / 0.7513 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.811, allocations: 244.9 kB / 0.7515 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/0.8113, allocations: 138.5 kB / 0.7517 GB, free: 276 kB / 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002818/0.8141, allocations: 1.344 MB / 0.753 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002212/0.8163, allocations: 1.574 MB / 0.7545 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008035/0.8243, allocations: 3.985 MB / 0.7584 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.059e-05/0.8243, allocations: 6.266 kB / 0.7584 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.00545/0.8298, allocations: 2.741 MB / 0.7611 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.8298, allocations: 37.7 kB / 0.7611 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003666/0.8335, allocations: 1.913 MB / 0.763 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/0.8337, allocations: 87.47 kB / 0.7631 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.8355, allocations: 0.5577 MB / 0.7636 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.8369, allocations: 1.523 MB / 0.7651 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.8386, allocations: 194.8 kB / 0.7653 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/0.8388, allocations: 131.9 kB / 0.7654 GB, free: 1.504 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: 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.0006747/0.8395, allocations: 322 kB / 0.7657 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/0.84, allocations: 234.3 kB / 0.766 GB, free: 0.957 MB / 0.6075 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.004633/0.8446, allocations: 2.403 MB / 0.7683 GB, free: 14.7 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.401774124940857] Failed to read output from testmodel.py, exit status != 0: 1.008040488930419 1.022325295 0.28420412100000003 Calling exit ...