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.01267/0.01267, 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.001588/0.001588, allocations: 107.2 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.001849/0.001849, allocations: 210.4 kB / 27.92 MB, free: 4 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.476/1.476, allocations: 230.6 MB / 262.1 MB, free: 6.223 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.059/1.059, allocations: 130.7 MB / 449.6 MB, free: 6.559 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.03355/0.03355, allocations: 20.79 MB / 0.6362 GB, free: 4.676 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.2222, 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.56/0.7821, allocations: 44.38 MB / 0.7595 GB, free: 21.92 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02583/0.808, allocations: 16.93 MB / 0.7761 GB, free: 9.883 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003416/0.8114, allocations: 55.81 kB / 0.7761 GB, free: 9.859 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004651/0.816, allocations: 1.509 MB / 0.7776 GB, free: 9.195 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.8211, allocations: 1.516 MB / 0.7791 GB, free: 8.336 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.00495/0.826, allocations: 1.761 MB / 0.7808 GB, free: 7.441 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006354/0.8324, allocations: 3.541 MB / 0.7843 GB, free: 5.863 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.8341, allocations: 0.8224 MB / 0.7851 GB, free: 5.488 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.8372, allocations: 1.435 MB / 0.7865 GB, free: 4.867 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.8402, allocations: 1.661 MB / 0.7881 GB, free: 3.859 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004827/0.8407, allocations: 200.1 kB / 0.7883 GB, free: 3.859 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/0.8445, allocations: 1.551 MB / 0.7898 GB, free: 3.039 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0008408/0.8453, allocations: 0.8029 MB / 0.7906 GB, free: 2.469 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.8467, allocations: 1.155 MB / 0.7917 GB, free: 1.629 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006694/0.8534, allocations: 3.955 MB / 0.7956 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8534, allocations: 0 / 0.7956 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8534, allocations: 1.781 kB / 0.7956 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.759e-05/0.8534, allocations: 2.625 kB / 0.7956 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.006409/0.8599, allocations: 2.919 MB / 0.7984 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.8599, allocations: 13.22 kB / 0.7984 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.8609, allocations: 318.3 kB / 0.7987 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005133/0.8661, allocations: 2.547 MB / 0.8012 GB, free: 11.06 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.653e-05/0.8661, allocations: 82.34 kB / 0.8013 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.8663, allocations: 98.2 kB / 0.8014 GB, free: 10.99 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005326/0.8716, allocations: 2.437 MB / 0.8038 GB, free: 9.172 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.8717, allocations: 11.5 kB / 0.8038 GB, free: 9.164 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.8718, allocations: 51.86 kB / 0.8038 GB, free: 9.125 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.586e-05/0.8719, allocations: 67.94 kB / 0.8039 GB, free: 9.062 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00471/0.8766, allocations: 1.804 MB / 0.8057 GB, free: 7.266 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.01303/0.8896, allocations: 10.94 MB / 0.8164 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005087/0.8947, allocations: 1.72 MB / 0.818 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.896, allocations: 0.5943 MB / 0.8186 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.8962, allocations: 80.45 kB / 0.8187 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003845/0.9001, allocations: 1.447 MB / 0.8201 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.066e-06/0.9001, allocations: 0 / 0.8201 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009779/0.9099, allocations: 3.313 MB / 0.8233 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003101/0.9102, allocations: 430.5 kB / 0.8237 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003305/0.9135, allocations: 1.947 MB / 0.8256 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.9137, allocations: 45.69 kB / 0.8257 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009431/0.9146, allocations: 0.8556 MB / 0.8265 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007555/0.9154, allocations: 0.6699 MB / 0.8272 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007145/0.9161, allocations: 454.2 kB / 0.8276 GB, free: 156 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9163, allocations: 301.1 kB / 0.8279 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.9179, allocations: 0.8526 MB / 0.8287 GB, free: 15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.9201, allocations: 1.476 MB / 0.8302 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008423/0.9286, allocations: 4.031 MB / 0.8341 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.9286, allocations: 5.5 kB / 0.8341 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005507/0.9341, allocations: 2.719 MB / 0.8368 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.9341, allocations: 41.64 kB / 0.8368 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003631/0.9378, allocations: 1.91 MB / 0.8387 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/0.938, allocations: 84.81 kB / 0.8388 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.9398, allocations: 0.5603 MB / 0.8393 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.9415, allocations: 1.544 MB / 0.8408 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.9432, allocations: 246.2 kB / 0.8411 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002291/0.9434, allocations: 131.9 kB / 0.8412 GB, free: 1.645 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.002752/0.9462, allocations: 1.323 MB / 0.8425 GB, free: 328 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002253/0.9484, allocations: 1.464 MB / 0.8439 GB, free: 14.59 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008/0.9564, allocations: 3.988 MB / 0.8478 GB, free: 10.38 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-05/0.9564, allocations: 8 kB / 0.8478 GB, free: 10.37 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005421/0.9619, allocations: 2.698 MB / 0.8504 GB, free: 7.668 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.9619, allocations: 47.42 kB / 0.8505 GB, free: 7.617 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003601/0.9655, allocations: 1.887 MB / 0.8523 GB, free: 5.727 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.9658, allocations: 96.69 kB / 0.8524 GB, free: 5.629 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.9675, allocations: 0.5525 MB / 0.853 GB, free: 5.078 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.9694, allocations: 1.542 MB / 0.8545 GB, free: 3.43 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.9713, allocations: 197.4 kB / 0.8546 GB, free: 3.238 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.9715, allocations: 131.9 kB / 0.8548 GB, free: 3.109 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.0008743/0.9724, allocations: 326.8 kB / 0.8551 GB, free: 2.789 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007394/0.9731, allocations: 238.4 kB / 0.8553 GB, free: 2.555 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.005357/0.9785, allocations: 2.375 MB / 0.8576 GB, free: 320 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.94555800082162] Failed to read output from testmodel.py, exit status != 0: 1.1874827828723937 1.20433337 0.34746504 Calling exit ...