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.01019/0.01019, allocations: 1.347 MB / 21.03 MB, free: 0.7578 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.001559/0.001559, allocations: 87.41 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.001835/0.001835, allocations: 164 kB / 28.25 MB, free: 3.41 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.435/1.435, allocations: 177.2 MB / 209 MB, free: 7.551 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 0.9984/0.9984, allocations: 102.5 MB / 368.3 MB, free: 4.129 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: 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.06777/0.06777, allocations: 20.96 MB / 0.5569 GB, free: 4.922 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.2077, allocations: 81.88 MB / 0.6369 GB, free: 2.914 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.1334/0.3411, allocations: 35.87 MB / 0.6719 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.3345/0.6756, allocations: 16.18 MB / 0.6877 GB, free: 18.54 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.6775, allocations: 55.12 kB / 0.6877 GB, free: 18.54 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.003665/0.6811, allocations: 1.402 MB / 0.6891 GB, free: 18.54 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.6846, allocations: 1.509 MB / 0.6906 GB, free: 18.47 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.004244/0.6889, allocations: 1.756 MB / 0.6923 GB, free: 18.43 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.005749/0.6946, allocations: 3.547 MB / 0.6958 GB, free: 17.91 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.6963, allocations: 0.8863 MB / 0.6966 GB, free: 17.81 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.6991, allocations: 1.436 MB / 0.698 GB, free: 17.54 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.7019, allocations: 1.607 MB / 0.6996 GB, free: 17.22 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.7022, allocations: 199.7 kB / 0.6998 GB, free: 17.22 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.7048, allocations: 1.081 MB / 0.7008 GB, free: 17.14 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0008174/0.7056, allocations: 0.8107 MB / 0.7016 GB, free: 17.01 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0009844/0.7066, allocations: 0.8908 MB / 0.7025 GB, free: 16.73 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.005031/0.7116, allocations: 3.87 MB / 0.7063 GB, free: 16.12 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.7116, allocations: 3.938 kB / 0.7063 GB, free: 16.12 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.624e-06/0.7116, allocations: 2.688 kB / 0.7063 GB, free: 16.12 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.433e-05/0.7117, allocations: 1.125 kB / 0.7063 GB, free: 16.12 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.005374/0.717, allocations: 2.913 MB / 0.7091 GB, free: 14.72 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.7171, allocations: 9.938 kB / 0.7091 GB, free: 14.72 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.7182, allocations: 316.3 kB / 0.7094 GB, free: 14.58 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005006/0.7232, allocations: 2.551 MB / 0.7119 GB, free: 13.73 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-05/0.7233, allocations: 79.2 kB / 0.712 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.7235, allocations: 103 kB / 0.7121 GB, free: 13.67 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005167/0.7286, allocations: 2.677 MB / 0.7147 GB, free: 11.62 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.7287, allocations: 18.44 kB / 0.7147 GB, free: 11.61 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.7288, allocations: 47.53 kB / 0.7148 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.7289, allocations: 63.78 kB / 0.7148 GB, free: 11.57 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004564/0.7335, allocations: 1.787 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.008442/0.7419, allocations: 10.35 MB / 0.7267 GB, free: 1.348 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00436/0.7463, allocations: 1.705 MB / 0.7284 GB, free: 384 kB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.7473, allocations: 0.5944 MB / 0.729 GB, free: 28 kB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.7475, allocations: 74.36 kB / 0.729 GB, free: 4 kB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003863/0.7513, allocations: 1.44 MB / 0.7304 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.346e-06/0.7514, allocations: 0 / 0.7304 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009608/0.761, allocations: 3.317 MB / 0.7337 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002537/0.7612, allocations: 432.8 kB / 0.7341 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/0.7642, allocations: 1.933 MB / 0.736 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.7643, allocations: 43.2 kB / 0.736 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007947/0.7651, allocations: 0.8577 MB / 0.7368 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006374/0.7657, allocations: 0.6692 MB / 0.7375 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007243/0.7665, allocations: 449.8 kB / 0.7379 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7666, allocations: 310.3 kB / 0.7382 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.7682, allocations: 0.8719 MB / 0.7391 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.7705, allocations: 1.585 MB / 0.7406 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008043/0.7785, allocations: 4.031 MB / 0.7446 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.7785, allocations: 5.875 kB / 0.7446 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005268/0.7838, allocations: 2.74 MB / 0.7472 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.7838, allocations: 43.61 kB / 0.7473 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003591/0.7874, allocations: 1.938 MB / 0.7492 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.7877, allocations: 91.41 kB / 0.7493 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.7896, allocations: 0.5538 MB / 0.7498 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.7912, allocations: 1.514 MB / 0.7513 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.7929, allocations: 244.9 kB / 0.7515 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.7931, allocations: 138.6 kB / 0.7516 GB, free: 248 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.002827/0.796, allocations: 1.348 MB / 0.753 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002288/0.7982, allocations: 1.578 MB / 0.7545 GB, free: 13 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008399/0.8066, allocations: 3.98 MB / 0.7584 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.215e-05/0.8067, allocations: 8 kB / 0.7584 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005694/0.8123, allocations: 2.725 MB / 0.7611 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.8124, allocations: 49.69 kB / 0.7611 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003712/0.8161, allocations: 1.917 MB / 0.763 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/0.8164, allocations: 88.8 kB / 0.7631 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.8182, allocations: 0.5564 MB / 0.7636 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.8197, allocations: 1.519 MB / 0.7651 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.8213, allocations: 201.4 kB / 0.7653 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.8216, allocations: 135.9 kB / 0.7654 GB, free: 1.465 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.0006659/0.8223, allocations: 319.5 kB / 0.7657 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/0.8228, allocations: 234.3 kB / 0.7659 GB, free: 0.9219 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.004561/0.8273, allocations: 2.381 MB / 0.7683 GB, free: 14.67 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.46705048403237] Failed to read output from testmodel.py, exit status != 0: 0.9960475070402026 1.011146782 0.296370716 Calling exit ...