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.01117/0.01117, allocations: 1.757 MB / 21.34 MB, free: 0.5898 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.001653/0.001653, allocations: 105.8 kB / 24.94 MB, free: 2.16 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.001997/0.001997, allocations: 206.8 kB / 28.67 MB, free: 3.438 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.658/1.658, allocations: 230.6 MB / 262.8 MB, free: 6.027 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.17/1.17, allocations: 130.7 MB / 450.4 MB, free: 6.754 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.03564/0.03564, allocations: 20.78 MB / 0.637 GB, free: 4.668 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.2337, allocations: 81.91 MB / 0.7169 GB, free: 2.672 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.6432/0.8769, allocations: 44.39 MB / 0.7603 GB, free: 21.95 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02639/0.9033, allocations: 16.93 MB / 0.7768 GB, free: 9.918 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003701/0.907, allocations: 56.88 kB / 0.7769 GB, free: 9.891 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005082/0.9121, allocations: 1.517 MB / 0.7783 GB, free: 9.223 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.00603/0.9181, allocations: 1.516 MB / 0.7798 GB, free: 8.359 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005908/0.924, allocations: 1.757 MB / 0.7815 GB, free: 7.473 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007609/0.9316, allocations: 3.554 MB / 0.785 GB, free: 5.887 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/0.9339, allocations: 0.8107 MB / 0.7858 GB, free: 5.523 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004076/0.938, allocations: 1.434 MB / 0.7872 GB, free: 4.875 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00399/0.942, allocations: 1.669 MB / 0.7888 GB, free: 3.859 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.9431, allocations: 199.8 kB / 0.789 GB, free: 3.859 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005115/0.9482, allocations: 1.545 MB / 0.7905 GB, free: 3.035 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001571/0.9498, allocations: 0.8004 MB / 0.7913 GB, free: 2.469 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.9516, allocations: 1.154 MB / 0.7924 GB, free: 1.629 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.008402/0.96, allocations: 3.953 MB / 0.7963 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.96, allocations: 3.406 kB / 0.7963 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.784e-06/0.96, allocations: 0 / 0.7963 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.225e-05/0.9601, allocations: 0 / 0.7963 GB, free: 15.03 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.007448/0.9675, allocations: 2.915 MB / 0.7992 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.9676, allocations: 9.625 kB / 0.7992 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.9688, allocations: 322.3 kB / 0.7995 GB, free: 12.78 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005786/0.9746, allocations: 2.549 MB / 0.802 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.517e-05/0.9746, allocations: 83.48 kB / 0.802 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.9748, allocations: 100.5 kB / 0.8021 GB, free: 11 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005696/0.9805, allocations: 2.444 MB / 0.8045 GB, free: 9.102 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.9806, allocations: 15.88 kB / 0.8045 GB, free: 9.086 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.9807, allocations: 44 kB / 0.8046 GB, free: 9.043 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.9808, allocations: 68 kB / 0.8046 GB, free: 8.98 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004645/0.9854, allocations: 1.801 MB / 0.8064 GB, free: 7.184 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.01236/0.9978, allocations: 10.94 MB / 0.8171 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004773/1.003, allocations: 1.717 MB / 0.8188 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/1.004, allocations: 0.592 MB / 0.8193 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/1.004, allocations: 80.53 kB / 0.8194 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003886/1.008, allocations: 1.45 MB / 0.8208 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 6.331e-06/1.008, allocations: 0 / 0.8208 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01015/1.018, allocations: 3.317 MB / 0.8241 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003358/1.018, allocations: 431.8 kB / 0.8245 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004925/1.023, allocations: 1.954 MB / 0.8264 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002646/1.024, allocations: 41.7 kB / 0.8264 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/1.025, allocations: 0.8478 MB / 0.8273 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.026, allocations: 0.666 MB / 0.8279 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/1.027, allocations: 455.5 kB / 0.8283 GB, free: 76 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002308/1.028, allocations: 303.8 kB / 0.8286 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/1.03, allocations: 0.8448 MB / 0.8295 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/1.032, allocations: 1.481 MB / 0.8309 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009519/1.042, allocations: 4.032 MB / 0.8348 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.411e-05/1.042, allocations: 8 kB / 0.8349 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006034/1.048, allocations: 2.709 MB / 0.8375 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/1.048, allocations: 55.12 kB / 0.8376 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003768/1.052, allocations: 1.911 MB / 0.8394 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/1.052, allocations: 87.5 kB / 0.8395 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/1.054, allocations: 0.5577 MB / 0.84 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/1.056, allocations: 1.537 MB / 0.8415 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/1.058, allocations: 250.2 kB / 0.8418 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003266/1.058, allocations: 142.6 kB / 0.8419 GB, free: 1.555 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.003029/1.061, allocations: 1.319 MB / 0.8432 GB, free: 244 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00252/1.064, allocations: 1.472 MB / 0.8446 GB, free: 14.5 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008673/1.072, allocations: 3.981 MB / 0.8485 GB, free: 10.29 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.217e-05/1.072, allocations: 4 kB / 0.8485 GB, free: 10.29 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.006245/1.079, allocations: 2.701 MB / 0.8512 GB, free: 7.582 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/1.079, allocations: 38.48 kB / 0.8512 GB, free: 7.539 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003831/1.082, allocations: 1.891 MB / 0.8531 GB, free: 5.641 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/1.083, allocations: 92.16 kB / 0.8531 GB, free: 5.551 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/1.085, allocations: 0.5577 MB / 0.8537 GB, free: 4.992 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/1.086, allocations: 1.543 MB / 0.8552 GB, free: 3.348 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/1.089, allocations: 198.8 kB / 0.8554 GB, free: 3.152 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/1.089, allocations: 131.9 kB / 0.8555 GB, free: 3.023 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.0008569/1.09, allocations: 325.8 kB / 0.8558 GB, free: 2.703 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009662/1.091, allocations: 240.3 kB / 0.8561 GB, free: 2.473 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.005285/1.096, allocations: 2.379 MB / 0.8584 GB, free: 228 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.570767780067399] Failed to read output from testmodel.py, exit status != 0: 1.3296812470071018 1.346500785 0.38297020499999995 Calling exit ...