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.01686/0.01686, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001877/0.001877, allocations: 111 kB / 24.19 MB, free: 2.652 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.003183/0.003183, allocations: 207.5 kB / 27.92 MB, free: 4.004 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.548/1.548, allocations: 230.6 MB / 262.1 MB, free: 6 MB / 206.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 1.097/1.097, allocations: 130.8 MB / 449.7 MB, free: 6.527 MB / 350.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.04683/0.04683, allocations: 20.77 MB / 0.6362 GB, free: 4.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.2326, allocations: 81.91 MB / 0.7162 GB, free: 2.625 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.5119/0.7445, allocations: 44.39 MB / 0.7596 GB, free: 22.06 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02397/0.7685, allocations: 16.92 MB / 0.7761 GB, free: 10.03 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.7713, allocations: 52.69 kB / 0.7762 GB, free: 10 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004277/0.7756, allocations: 1.512 MB / 0.7776 GB, free: 9.336 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.7802, allocations: 1.516 MB / 0.7791 GB, free: 8.473 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005102/0.7853, allocations: 1.768 MB / 0.7808 GB, free: 7.578 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005673/0.7909, allocations: 3.55 MB / 0.7843 GB, free: 5.996 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.7926, allocations: 0.8145 MB / 0.7851 GB, free: 5.629 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.7954, allocations: 1.432 MB / 0.7865 GB, free: 4.988 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.7985, allocations: 1.672 MB / 0.7881 GB, free: 3.969 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0007469/0.7992, allocations: 202 kB / 0.7883 GB, free: 3.969 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003922/0.8031, allocations: 1.542 MB / 0.7898 GB, free: 3.148 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.8047, allocations: 0.7956 MB / 0.7906 GB, free: 2.586 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.002503/0.8072, allocations: 1.158 MB / 0.7917 GB, free: 1.742 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.007136/0.8143, allocations: 3.955 MB / 0.7956 GB, free: 15.14 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8143, allocations: 2.688 kB / 0.7956 GB, free: 15.14 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8143, allocations: 0 / 0.7956 GB, free: 15.14 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.108e-05/0.8144, allocations: 0 / 0.7956 GB, free: 15.14 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.006514/0.8209, allocations: 2.917 MB / 0.7984 GB, free: 13.07 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.8209, allocations: 9.625 kB / 0.7985 GB, free: 13.07 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.822, allocations: 323.2 kB / 0.7988 GB, free: 12.89 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005302/0.8273, allocations: 2.551 MB / 0.8013 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.268e-05/0.8274, allocations: 85.02 kB / 0.8013 GB, free: 11.14 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.8276, allocations: 100.2 kB / 0.8014 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005634/0.8332, allocations: 2.438 MB / 0.8038 GB, free: 9.277 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/0.8332, allocations: 15.88 kB / 0.8038 GB, free: 9.262 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.8334, allocations: 46.66 kB / 0.8039 GB, free: 9.219 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.8335, allocations: 65.28 kB / 0.8039 GB, free: 9.156 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004746/0.8382, allocations: 1.798 MB / 0.8057 GB, free: 7.363 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.01211/0.8503, allocations: 10.93 MB / 0.8164 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004975/0.8553, allocations: 1.727 MB / 0.8181 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.8566, allocations: 0.5949 MB / 0.8186 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/0.8568, allocations: 76.53 kB / 0.8187 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003954/0.8608, allocations: 1.45 MB / 0.8201 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 5.761e-06/0.8608, allocations: 6.594 kB / 0.8201 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009936/0.8707, allocations: 3.304 MB / 0.8234 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002527/0.871, allocations: 434.5 kB / 0.8238 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004108/0.8751, allocations: 1.955 MB / 0.8257 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002278/0.8753, allocations: 41.7 kB / 0.8257 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009413/0.8762, allocations: 0.8478 MB / 0.8265 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000854/0.8771, allocations: 0.666 MB / 0.8272 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009743/0.8781, allocations: 462.1 kB / 0.8276 GB, free: 252 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.8782, allocations: 301.1 kB / 0.8279 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.88, allocations: 0.8539 MB / 0.8288 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/0.8825, allocations: 1.476 MB / 0.8302 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008917/0.8914, allocations: 4.023 MB / 0.8341 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.458e-05/0.8914, allocations: 8 kB / 0.8341 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005881/0.8973, allocations: 2.713 MB / 0.8368 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/0.8974, allocations: 46.94 kB / 0.8368 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004001/0.9014, allocations: 1.914 MB / 0.8387 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003338/0.9017, allocations: 88.75 kB / 0.8388 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.9036, allocations: 0.5603 MB / 0.8393 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.9053, allocations: 1.543 MB / 0.8408 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.9071, allocations: 243 kB / 0.8411 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003025/0.9074, allocations: 139.9 kB / 0.8412 GB, free: 1.734 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.002867/0.9102, allocations: 1.312 MB / 0.8425 GB, free: 428 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002403/0.9126, allocations: 1.472 MB / 0.8439 GB, free: 14.68 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008563/0.9212, allocations: 3.991 MB / 0.8478 GB, free: 10.46 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.037e-05/0.9212, allocations: 8 kB / 0.8478 GB, free: 10.45 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005778/0.927, allocations: 2.699 MB / 0.8505 GB, free: 7.758 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.9271, allocations: 41.7 kB / 0.8505 GB, free: 7.711 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003864/0.9309, allocations: 1.89 MB / 0.8523 GB, free: 5.816 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/0.9312, allocations: 92.69 kB / 0.8524 GB, free: 5.723 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/0.933, allocations: 0.5548 MB / 0.853 GB, free: 5.168 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.9346, allocations: 1.538 MB / 0.8545 GB, free: 3.523 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.9364, allocations: 197.4 kB / 0.8547 GB, free: 3.332 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003027/0.9367, allocations: 135.9 kB / 0.8548 GB, free: 3.199 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.0007546/0.9374, allocations: 326.9 kB / 0.8551 GB, free: 2.879 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000799/0.9382, allocations: 234.4 kB / 0.8553 GB, free: 2.648 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.004991/0.9432, allocations: 2.383 MB / 0.8577 GB, free: 408 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.034516325918958] Failed to read output from testmodel.py, exit status != 0: 1.1199960231315345 1.140891144 0.32227129600000004 Calling exit ...