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.009992/0.009992, allocations: 1.748 MB / 21.38 MB, free: 480 kB / 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.001231/0.001231, allocations: 100.2 kB / 24.96 MB, free: 2.059 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.001453/0.001453, allocations: 209.7 kB / 28.68 MB, free: 3.348 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.415/1.415, allocations: 230.6 MB / 262.9 MB, free: 5.832 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.026/1.026, allocations: 130.7 MB / 450.4 MB, free: 6.41 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.06768/0.06768, allocations: 20.6 MB / 0.6367 GB, free: 4.602 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.2471, allocations: 81.9 MB / 0.7167 GB, free: 2.605 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.4727/0.7199, allocations: 43.26 MB / 0.7589 GB, free: 23.03 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.7415, allocations: 16.18 MB / 0.7747 GB, free: 11.79 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.7442, allocations: 56.28 kB / 0.7748 GB, free: 11.76 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.003972/0.7482, allocations: 1.423 MB / 0.7762 GB, free: 11.14 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.7525, allocations: 1.515 MB / 0.7777 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.7569, allocations: 1.768 MB / 0.7794 GB, free: 9.391 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005469/0.7623, allocations: 3.548 MB / 0.7829 GB, free: 7.809 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.7638, allocations: 0.8214 MB / 0.7837 GB, free: 7.438 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.7664, allocations: 1.439 MB / 0.7851 GB, free: 6.801 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/0.7688, allocations: 1.663 MB / 0.7867 GB, free: 5.789 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003767/0.7692, allocations: 198.8 kB / 0.7869 GB, free: 5.789 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.7721, allocations: 1.102 MB / 0.7879 GB, free: 5.27 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.000759/0.7728, allocations: 0.8038 MB / 0.7887 GB, free: 4.699 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.7739, allocations: 0.8952 MB / 0.7896 GB, free: 4.121 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005227/0.7791, allocations: 3.873 MB / 0.7934 GB, free: 1.605 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7791, allocations: 0 / 0.7934 GB, free: 1.605 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7791, allocations: 0 / 0.7934 GB, free: 1.605 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 3.834e-05/0.7792, allocations: 1.219 kB / 0.7934 GB, free: 1.605 MB / 0.5607 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.005105/0.7843, allocations: 2.916 MB / 0.7962 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7843, allocations: 10.22 kB / 0.7962 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009846/0.7853, allocations: 320 kB / 0.7966 GB, free: 15.35 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004667/0.79, allocations: 2.561 MB / 0.7991 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.81e-05/0.79, allocations: 83.25 kB / 0.7991 GB, free: 13.59 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.7902, allocations: 95.89 kB / 0.7992 GB, free: 13.56 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005504/0.7957, allocations: 2.67 MB / 0.8018 GB, free: 11.44 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.7958, allocations: 11.88 kB / 0.8018 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.7959, allocations: 55.92 kB / 0.8019 GB, free: 11.38 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.565e-05/0.796, allocations: 65.28 kB / 0.802 GB, free: 11.31 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004718/0.8007, allocations: 1.797 MB / 0.8037 GB, free: 9.52 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.01127/0.812, allocations: 10.37 MB / 0.8138 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004771/0.8167, allocations: 1.705 MB / 0.8155 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.8179, allocations: 0.5942 MB / 0.8161 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.8181, allocations: 68.61 kB / 0.8161 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003789/0.8219, allocations: 1.452 MB / 0.8176 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.396e-06/0.8219, allocations: 0 / 0.8176 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009495/0.8314, allocations: 3.311 MB / 0.8208 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002598/0.8317, allocations: 427.8 kB / 0.8212 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003129/0.8348, allocations: 1.908 MB / 0.8231 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.8349, allocations: 48.33 kB / 0.8231 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000813/0.8358, allocations: 0.8554 MB / 0.824 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006871/0.8364, allocations: 0.6583 MB / 0.8246 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007475/0.8372, allocations: 455.5 kB / 0.825 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8373, allocations: 305.1 kB / 0.8253 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.839, allocations: 0.8841 MB / 0.8262 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/0.8412, allocations: 1.58 MB / 0.8277 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008161/0.8494, allocations: 4.024 MB / 0.8317 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.8494, allocations: 11.94 kB / 0.8317 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005428/0.8548, allocations: 2.75 MB / 0.8344 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.686e-05/0.8549, allocations: 45.69 kB / 0.8344 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003514/0.8584, allocations: 1.932 MB / 0.8363 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.8586, allocations: 87.5 kB / 0.8364 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.8604, allocations: 0.5577 MB / 0.8369 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.8619, allocations: 1.523 MB / 0.8384 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.8636, allocations: 234.3 kB / 0.8386 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.8638, allocations: 135.9 kB / 0.8388 GB, free: 4.301 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.002571/0.8664, allocations: 1.341 MB / 0.8401 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002144/0.8685, allocations: 1.576 MB / 0.8416 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007726/0.8762, allocations: 3.989 MB / 0.8455 GB, free: 12.83 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.308e-05/0.8763, allocations: 9.234 kB / 0.8455 GB, free: 12.83 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005284/0.8815, allocations: 2.725 MB / 0.8482 GB, free: 10.1 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.8816, allocations: 47.56 kB / 0.8482 GB, free: 10.05 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003458/0.8851, allocations: 1.916 MB / 0.8501 GB, free: 8.117 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/0.8853, allocations: 90.25 kB / 0.8502 GB, free: 8.027 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.887, allocations: 0.5499 MB / 0.8507 GB, free: 7.477 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.8884, allocations: 1.523 MB / 0.8522 GB, free: 5.859 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.8901, allocations: 201.4 kB / 0.8524 GB, free: 5.664 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/0.8904, allocations: 138.5 kB / 0.8525 GB, free: 5.531 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.0006536/0.891, allocations: 321.4 kB / 0.8528 GB, free: 5.215 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004577/0.8915, allocations: 230.4 kB / 0.853 GB, free: 4.988 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.004401/0.8959, allocations: 2.376 MB / 0.8554 GB, free: 2.742 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.875766854966059] Failed to read output from testmodel.py, exit status != 0: 1.096155790030025 1.110726945 0.32856148500000004 Calling exit ...