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.01564/0.01564, allocations: 1.75 MB / 20.6 MB, free: 1.016 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.001835/0.001835, allocations: 100.9 kB / 24.18 MB, free: 2.457 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.00247/0.00247, allocations: 209 kB / 27.9 MB, free: 3.758 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.449/1.449, allocations: 230.6 MB / 262.1 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.025/1.025, allocations: 130.7 MB / 449.6 MB, free: 6.383 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.06369/0.06369, allocations: 20.99 MB / 0.6363 GB, free: 4.188 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.2249, allocations: 81.91 MB / 0.7163 GB, free: 2.195 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.5477/0.7726, allocations: 43.29 MB / 0.7586 GB, free: 22.94 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02347/0.796, allocations: 16.18 MB / 0.7744 GB, free: 11.7 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002979/0.799, allocations: 57.12 kB / 0.7744 GB, free: 11.68 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004153/0.8032, allocations: 1.407 MB / 0.7758 GB, free: 11.08 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004699/0.8079, allocations: 1.517 MB / 0.7773 GB, free: 10.22 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004901/0.8128, allocations: 1.757 MB / 0.779 GB, free: 9.34 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005907/0.8187, allocations: 3.535 MB / 0.7825 GB, free: 7.762 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.8203, allocations: 0.8744 MB / 0.7833 GB, free: 7.359 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.8232, allocations: 1.441 MB / 0.7847 GB, free: 6.641 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002982/0.8262, allocations: 1.61 MB / 0.7863 GB, free: 5.688 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004535/0.8267, allocations: 199.9 kB / 0.7865 GB, free: 5.688 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.8298, allocations: 1.085 MB / 0.7875 GB, free: 5.188 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0008034/0.8306, allocations: 0.8073 MB / 0.7883 GB, free: 4.613 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.8318, allocations: 0.8904 MB / 0.7892 GB, free: 4.039 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005368/0.8372, allocations: 3.869 MB / 0.793 GB, free: 1.527 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8372, allocations: 1.469 kB / 0.793 GB, free: 1.527 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8372, allocations: 0 / 0.793 GB, free: 1.527 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 3.074e-05/0.8372, allocations: 0 / 0.793 GB, free: 1.527 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.005205/0.8424, allocations: 2.912 MB / 0.7958 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.8424, allocations: 12.44 kB / 0.7958 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009841/0.8434, allocations: 315.7 kB / 0.7961 GB, free: 15.28 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004865/0.8483, allocations: 2.562 MB / 0.7986 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.92e-05/0.8484, allocations: 76.61 kB / 0.7987 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.8485, allocations: 94.83 kB / 0.7988 GB, free: 13.49 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005257/0.8538, allocations: 2.672 MB / 0.8014 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/0.8538, allocations: 19.81 kB / 0.8014 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.8539, allocations: 49.88 kB / 0.8015 GB, free: 11.12 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.705e-05/0.854, allocations: 65.28 kB / 0.8015 GB, free: 11.05 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004555/0.8586, allocations: 1.786 MB / 0.8033 GB, free: 9.273 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.01146/0.8701, allocations: 10.36 MB / 0.8134 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004932/0.875, allocations: 1.715 MB / 0.8151 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.8762, allocations: 0.5972 MB / 0.8157 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.8765, allocations: 72.61 kB / 0.8157 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003642/0.8801, allocations: 1.448 MB / 0.8171 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.426e-06/0.8801, allocations: 0 / 0.8171 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.00906/0.8892, allocations: 3.315 MB / 0.8204 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002442/0.8894, allocations: 427.8 kB / 0.8208 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/0.8925, allocations: 1.935 MB / 0.8227 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.8926, allocations: 48.33 kB / 0.8227 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007662/0.8934, allocations: 0.8476 MB / 0.8236 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006364/0.894, allocations: 0.6699 MB / 0.8242 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006874/0.8947, allocations: 455.5 kB / 0.8246 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8948, allocations: 301.1 kB / 0.8249 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.8964, allocations: 0.8803 MB / 0.8258 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.8986, allocations: 1.584 MB / 0.8273 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008069/0.9066, allocations: 4.035 MB / 0.8313 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.9066, allocations: 8 kB / 0.8313 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005297/0.9119, allocations: 2.739 MB / 0.834 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.912, allocations: 45.69 kB / 0.834 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003552/0.9156, allocations: 1.932 MB / 0.8359 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.9158, allocations: 92.73 kB / 0.836 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.9175, allocations: 0.5525 MB / 0.8365 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.9191, allocations: 1.52 MB / 0.838 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.9207, allocations: 241 kB / 0.8382 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.9209, allocations: 138 kB / 0.8384 GB, free: 4.023 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.00264/0.9235, allocations: 1.339 MB / 0.8397 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002177/0.9257, allocations: 1.581 MB / 0.8412 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00779/0.9335, allocations: 3.983 MB / 0.8451 GB, free: 12.55 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.018e-05/0.9335, allocations: 4 kB / 0.8451 GB, free: 12.55 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.00532/0.9388, allocations: 2.734 MB / 0.8478 GB, free: 9.809 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.9389, allocations: 41.69 kB / 0.8478 GB, free: 9.762 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003625/0.9425, allocations: 1.92 MB / 0.8497 GB, free: 7.828 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/0.9428, allocations: 91.47 kB / 0.8498 GB, free: 7.738 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.9445, allocations: 0.5499 MB / 0.8503 GB, free: 7.188 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.946, allocations: 1.519 MB / 0.8518 GB, free: 5.574 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.9477, allocations: 198.7 kB / 0.852 GB, free: 5.379 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/0.9479, allocations: 139.9 kB / 0.8521 GB, free: 5.242 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.0006474/0.9486, allocations: 321.3 kB / 0.8524 GB, free: 4.926 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005685/0.9491, allocations: 222.5 kB / 0.8526 GB, free: 4.707 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.004353/0.9535, allocations: 2.395 MB / 0.855 GB, free: 2.449 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.772674918174744] Failed to read output from testmodel.py, exit status != 0: 1.1364341489970684 1.1519417669999998 0.31162316799999995 Calling exit ...