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.01235/0.01235, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001564/0.001564, allocations: 101.1 kB / 24.18 MB, free: 2.438 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.001885/0.001885, allocations: 209.7 kB / 27.9 MB, free: 3.742 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.454/1.454, allocations: 230.6 MB / 262.1 MB, free: 5.84 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.028/1.028, allocations: 130.8 MB / 449.7 MB, free: 6.375 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.06245/0.06245, allocations: 20.99 MB / 0.6364 GB, free: 4.215 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.2346, allocations: 81.9 MB / 0.7163 GB, free: 2.199 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.5048/0.7394, allocations: 43.28 MB / 0.7586 GB, free: 22.98 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02325/0.7627, allocations: 16.19 MB / 0.7744 GB, free: 11.74 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/0.7658, allocations: 55.5 kB / 0.7745 GB, free: 11.71 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004374/0.7701, allocations: 1.402 MB / 0.7758 GB, free: 11.12 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004844/0.775, allocations: 1.509 MB / 0.7773 GB, free: 10.27 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004925/0.7799, allocations: 1.765 MB / 0.779 GB, free: 9.383 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005995/0.7859, allocations: 3.545 MB / 0.7825 GB, free: 7.801 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.7877, allocations: 0.8739 MB / 0.7834 GB, free: 7.398 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.7909, allocations: 1.436 MB / 0.7848 GB, free: 6.691 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/0.794, allocations: 1.61 MB / 0.7863 GB, free: 5.734 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0008466/0.7949, allocations: 199.3 kB / 0.7865 GB, free: 5.734 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00382/0.7987, allocations: 1.082 MB / 0.7876 GB, free: 5.234 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.8001, allocations: 0.8038 MB / 0.7884 GB, free: 4.664 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.8018, allocations: 0.8903 MB / 0.7892 GB, free: 4.09 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006054/0.8079, allocations: 3.874 MB / 0.793 GB, free: 1.574 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.8079, allocations: 0 / 0.793 GB, free: 1.574 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8079, allocations: 0 / 0.793 GB, free: 1.574 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 4.39e-05/0.808, allocations: 1.625 kB / 0.793 GB, free: 1.574 MB / 0.5607 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.005445/0.8134, allocations: 2.911 MB / 0.7959 GB, free: 15.5 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.8134, allocations: 12.28 kB / 0.7959 GB, free: 15.5 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.8145, allocations: 318 kB / 0.7962 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005123/0.8196, allocations: 2.563 MB / 0.7987 GB, free: 13.61 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/0.8197, allocations: 78.48 kB / 0.7987 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.8199, allocations: 103.4 kB / 0.7988 GB, free: 13.54 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005376/0.8252, allocations: 2.662 MB / 0.8014 GB, free: 11.24 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.8253, allocations: 15.81 kB / 0.8015 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.8254, allocations: 55.98 kB / 0.8015 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.225e-05/0.8255, allocations: 61.28 kB / 0.8016 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004708/0.8302, allocations: 1.79 MB / 0.8033 GB, free: 9.328 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.01181/0.842, allocations: 10.35 MB / 0.8134 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004769/0.8468, allocations: 1.71 MB / 0.8151 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.848, allocations: 0.5948 MB / 0.8157 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.8482, allocations: 72.55 kB / 0.8158 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003671/0.8519, allocations: 1.452 MB / 0.8172 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.126e-06/0.8519, allocations: 0 / 0.8172 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009322/0.8612, allocations: 3.315 MB / 0.8204 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002762/0.8615, allocations: 431.8 kB / 0.8208 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/0.8646, allocations: 1.931 MB / 0.8227 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.8648, allocations: 44.36 kB / 0.8227 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00081/0.8656, allocations: 0.8554 MB / 0.8236 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006957/0.8663, allocations: 0.6699 MB / 0.8242 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006887/0.867, allocations: 447.5 kB / 0.8247 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8671, allocations: 309.1 kB / 0.825 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.8688, allocations: 0.8803 MB / 0.8258 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.8711, allocations: 1.577 MB / 0.8274 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008615/0.8797, allocations: 4.038 MB / 0.8313 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-05/0.8797, allocations: 4 kB / 0.8313 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006024/0.8857, allocations: 2.742 MB / 0.834 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.005e-05/0.8858, allocations: 37.7 kB / 0.834 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003975/0.8898, allocations: 1.94 MB / 0.8359 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000326/0.8901, allocations: 88.8 kB / 0.836 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.8919, allocations: 0.5603 MB / 0.8365 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.8937, allocations: 1.512 MB / 0.838 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/0.8957, allocations: 238.3 kB / 0.8382 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003177/0.896, allocations: 138.7 kB / 0.8384 GB, free: 4.09 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.003062/0.8991, allocations: 1.342 MB / 0.8397 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00243/0.9015, allocations: 1.58 MB / 0.8412 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008517/0.91, allocations: 3.994 MB / 0.8451 GB, free: 12.62 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.121e-05/0.91, allocations: 10.69 kB / 0.8451 GB, free: 12.61 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005869/0.9159, allocations: 2.72 MB / 0.8478 GB, free: 9.879 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.916, allocations: 47.2 kB / 0.8478 GB, free: 9.828 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003777/0.9197, allocations: 1.916 MB / 0.8497 GB, free: 7.898 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.92, allocations: 91.5 kB / 0.8498 GB, free: 7.809 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.9219, allocations: 0.5538 MB / 0.8503 GB, free: 7.254 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.9235, allocations: 1.516 MB / 0.8518 GB, free: 5.641 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.9254, allocations: 198.8 kB / 0.852 GB, free: 5.445 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/0.9258, allocations: 137.2 kB / 0.8521 GB, free: 5.316 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.0007476/0.9265, allocations: 329.5 kB / 0.8525 GB, free: 4.992 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008163/0.9273, allocations: 230.4 kB / 0.8527 GB, free: 4.766 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.004795/0.9321, allocations: 2.382 MB / 0.855 GB, free: 2.512 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.739519529044628] Failed to read output from testmodel.py, exit status != 0: 1.1174392402172089 1.131480554 0.32055087899999996 Calling exit ...