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.01106/0.01106, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.001777/0.001777, allocations: 109.6 kB / 24.19 MB, free: 2.684 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.002218/0.002218, allocations: 215.8 kB / 27.92 MB, free: 4.031 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.547/1.547, allocations: 230.6 MB / 262.1 MB, free: 6.008 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.117/1.117, allocations: 130.7 MB / 449.6 MB, free: 6.535 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.03944/0.03944, allocations: 20.78 MB / 0.6362 GB, free: 4.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2566, allocations: 81.91 MB / 0.7162 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.6306/0.8872, allocations: 44.38 MB / 0.7596 GB, free: 21.89 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02633/0.9136, allocations: 16.93 MB / 0.7761 GB, free: 9.855 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003489/0.9171, allocations: 55.72 kB / 0.7761 GB, free: 9.828 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004881/0.9219, allocations: 1.51 MB / 0.7776 GB, free: 9.168 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005859/0.9278, allocations: 1.515 MB / 0.7791 GB, free: 8.309 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005861/0.9337, allocations: 1.763 MB / 0.7808 GB, free: 7.414 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007348/0.941, allocations: 3.544 MB / 0.7843 GB, free: 5.832 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.9433, allocations: 0.8181 MB / 0.7851 GB, free: 5.461 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004081/0.9474, allocations: 1.434 MB / 0.7865 GB, free: 4.832 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.9513, allocations: 1.663 MB / 0.7881 GB, free: 3.824 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.9525, allocations: 202.1 kB / 0.7883 GB, free: 3.824 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0052/0.9577, allocations: 1.55 MB / 0.7898 GB, free: 3 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.9592, allocations: 0.8074 MB / 0.7906 GB, free: 2.426 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.961, allocations: 1.146 MB / 0.7917 GB, free: 1.594 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.008631/0.9697, allocations: 3.954 MB / 0.7956 GB, free: 15 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9697, allocations: 2.031 kB / 0.7956 GB, free: 15 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9697, allocations: 0 / 0.7956 GB, free: 15 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.033e-05/0.9698, allocations: 0 / 0.7956 GB, free: 15 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.007571/0.9773, allocations: 2.926 MB / 0.7984 GB, free: 12.91 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.9774, allocations: 9.125 kB / 0.7984 GB, free: 12.91 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.9787, allocations: 314.7 kB / 0.7987 GB, free: 12.74 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005846/0.9845, allocations: 2.555 MB / 0.8012 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-05/0.9846, allocations: 79.27 kB / 0.8013 GB, free: 10.99 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.9848, allocations: 97.05 kB / 0.8014 GB, free: 10.96 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005762/0.9905, allocations: 2.437 MB / 0.8038 GB, free: 9.125 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/0.9906, allocations: 18.53 kB / 0.8038 GB, free: 9.109 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.9907, allocations: 53.84 kB / 0.8039 GB, free: 9.062 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.9908, allocations: 73.22 kB / 0.8039 GB, free: 8.992 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004719/0.9955, allocations: 1.794 MB / 0.8057 GB, free: 7.203 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.01251/1.008, allocations: 10.93 MB / 0.8164 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/1.013, allocations: 1.722 MB / 0.818 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/1.014, allocations: 0.5939 MB / 0.8186 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/1.014, allocations: 80.45 kB / 0.8187 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003689/1.018, allocations: 1.451 MB / 0.8201 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 4.789e-06/1.018, allocations: 2.656 kB / 0.8201 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009739/1.028, allocations: 3.311 MB / 0.8233 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002674/1.028, allocations: 430.5 kB / 0.8238 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/1.032, allocations: 1.951 MB / 0.8257 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/1.032, allocations: 41.7 kB / 0.8257 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000971/1.033, allocations: 0.8595 MB / 0.8265 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008762/1.034, allocations: 0.6621 MB / 0.8272 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009937/1.035, allocations: 458.2 kB / 0.8276 GB, free: 92 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.035, allocations: 301.1 kB / 0.8279 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/1.037, allocations: 0.8553 MB / 0.8287 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/1.04, allocations: 1.472 MB / 0.8302 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008751/1.048, allocations: 4.031 MB / 0.8341 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.466e-05/1.048, allocations: 8 kB / 0.8341 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005968/1.054, allocations: 2.715 MB / 0.8368 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/1.054, allocations: 45.64 kB / 0.8368 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003829/1.058, allocations: 1.91 MB / 0.8387 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003409/1.059, allocations: 91.44 kB / 0.8388 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/1.06, allocations: 0.5538 MB / 0.8393 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/1.062, allocations: 1.542 MB / 0.8408 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/1.064, allocations: 248.8 kB / 0.8411 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/1.065, allocations: 131.9 kB / 0.8412 GB, free: 1.582 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.003054/1.068, allocations: 1.309 MB / 0.8425 GB, free: 276 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002411/1.07, allocations: 1.472 MB / 0.8439 GB, free: 14.52 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008485/1.078, allocations: 3.987 MB / 0.8478 GB, free: 10.31 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.69e-05/1.079, allocations: 10.69 kB / 0.8478 GB, free: 10.3 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005995/1.085, allocations: 2.697 MB / 0.8504 GB, free: 7.609 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/1.085, allocations: 49.69 kB / 0.8505 GB, free: 7.555 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003898/1.088, allocations: 1.884 MB / 0.8523 GB, free: 5.664 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003625/1.089, allocations: 96.73 kB / 0.8524 GB, free: 5.566 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/1.091, allocations: 0.5525 MB / 0.853 GB, free: 5.016 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/1.093, allocations: 1.54 MB / 0.8545 GB, free: 3.371 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/1.095, allocations: 196.5 kB / 0.8546 GB, free: 3.18 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/1.095, allocations: 135.9 kB / 0.8548 GB, free: 3.047 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.00084/1.096, allocations: 329.7 kB / 0.8551 GB, free: 2.727 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009463/1.097, allocations: 238.4 kB / 0.8553 GB, free: 2.492 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.00542/1.102, allocations: 2.376 MB / 0.8576 GB, free: 256 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.324126552091911] Failed to read output from testmodel.py, exit status != 0: 1.3239465600345284 1.340844575 0.36764051200000003 Calling exit ...