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.01077/0.01077, 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.001261/0.001261, allocations: 107.1 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.001616/0.001616, 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.541/1.541, allocations: 230.6 MB / 262.1 MB, free: 6.234 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.132/1.132, allocations: 130.7 MB / 449.7 MB, free: 6.848 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: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_MassDefect_Test_Pipe_L2_Simple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Pipes_Check_MassDefect_Test_Pipe_L2_Simple",fmuType="me",version="2.0",platforms={"static"}) [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.03693/0.03693, allocations: 20.79 MB / 0.6358 GB, free: 5.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2384, allocations: 81.9 MB / 0.7157 GB, free: 3.227 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.5898/0.8281, allocations: 44.39 MB / 0.7591 GB, free: 21.63 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02328/0.8514, allocations: 16.93 MB / 0.7756 GB, free: 9.703 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003216/0.8546, allocations: 56.47 kB / 0.7757 GB, free: 9.676 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004646/0.8593, allocations: 1.502 MB / 0.7771 GB, free: 9.02 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006414/0.8657, allocations: 1.52 MB / 0.7786 GB, free: 8.156 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005703/0.8714, allocations: 1.762 MB / 0.7803 GB, free: 7.262 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006744/0.8782, allocations: 3.551 MB / 0.7838 GB, free: 5.676 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/0.8798, allocations: 0.8115 MB / 0.7846 GB, free: 5.312 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.8827, allocations: 1.435 MB / 0.786 GB, free: 4.699 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.8856, allocations: 1.665 MB / 0.7876 GB, free: 3.758 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004593/0.886, allocations: 198.9 kB / 0.7878 GB, free: 3.758 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.8895, allocations: 1.558 MB / 0.7893 GB, free: 2.934 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0008154/0.8903, allocations: 0.7995 MB / 0.7901 GB, free: 2.367 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.8916, allocations: 1.154 MB / 0.7912 GB, free: 1.527 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006072/0.8977, allocations: 3.958 MB / 0.7951 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8977, allocations: 0 / 0.7951 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8977, allocations: 0 / 0.7951 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.586e-05/0.8977, allocations: 3.781 kB / 0.7951 GB, free: 14.93 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.005975/0.9037, allocations: 2.911 MB / 0.798 GB, free: 12.85 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.9038, allocations: 9.562 kB / 0.798 GB, free: 12.85 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002521/0.904, allocations: 193.8 kB / 0.7981 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009855/0.905, allocations: 322 kB / 0.7985 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00532/0.9103, allocations: 2.551 MB / 0.8009 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.9104, allocations: 75.06 kB / 0.801 GB, free: 10.78 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.9106, allocations: 106.8 kB / 0.8011 GB, free: 10.74 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005639/0.9162, allocations: 2.441 MB / 0.8035 GB, free: 8.918 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.9162, allocations: 13.44 kB / 0.8035 GB, free: 8.91 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.9163, allocations: 52.92 kB / 0.8036 GB, free: 8.875 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-05/0.9164, allocations: 67.28 kB / 0.8036 GB, free: 8.863 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004778/0.9212, allocations: 1.799 MB / 0.8054 GB, free: 7.152 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.01239/0.9336, allocations: 10.94 MB / 0.8161 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00487/0.9385, allocations: 1.72 MB / 0.8177 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.9398, allocations: 0.5977 MB / 0.8183 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.94, allocations: 83.14 kB / 0.8184 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003795/0.9438, allocations: 1.447 MB / 0.8198 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 2.896e-06/0.9438, allocations: 0 / 0.8198 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009582/0.9534, allocations: 3.311 MB / 0.8231 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004029/0.9538, allocations: 438.4 kB / 0.8235 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004204/0.958, allocations: 1.947 MB / 0.8254 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000206/0.9582, allocations: 37.7 kB / 0.8254 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009678/0.9592, allocations: 0.8595 MB / 0.8263 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008467/0.96, allocations: 0.6647 MB / 0.8269 GB, free: 500 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007906/0.9608, allocations: 455.5 kB / 0.8273 GB, free: 36 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000206/0.961, allocations: 309.1 kB / 0.8276 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.9626, allocations: 0.8475 MB / 0.8285 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/0.9649, allocations: 1.483 MB / 0.8299 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008302/0.9732, allocations: 4.021 MB / 0.8338 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.9732, allocations: 4 kB / 0.8338 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005498/0.9787, allocations: 2.723 MB / 0.8365 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.9788, allocations: 37.7 kB / 0.8365 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003665/0.9825, allocations: 1.91 MB / 0.8384 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/0.9828, allocations: 95.36 kB / 0.8385 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.9845, allocations: 0.546 MB / 0.839 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.9861, allocations: 1.542 MB / 0.8405 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.9878, allocations: 242.2 kB / 0.8408 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/0.9881, allocations: 138.5 kB / 0.8409 GB, free: 1.531 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.002591/0.9907, allocations: 1.316 MB / 0.8422 GB, free: 216 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002191/0.9929, allocations: 1.472 MB / 0.8436 GB, free: 14.46 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007909/1.001, allocations: 3.993 MB / 0.8475 GB, free: 10.25 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.959e-06/1.001, allocations: 4.938 kB / 0.8475 GB, free: 10.25 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005336/1.006, allocations: 2.695 MB / 0.8502 GB, free: 7.551 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/1.006, allocations: 45.69 kB / 0.8502 GB, free: 7.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003589/1.01, allocations: 1.891 MB / 0.852 GB, free: 5.602 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/1.01, allocations: 87.47 kB / 0.8521 GB, free: 5.516 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/1.012, allocations: 0.5577 MB / 0.8527 GB, free: 4.957 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/1.013, allocations: 1.543 MB / 0.8542 GB, free: 3.312 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.015, allocations: 198.8 kB / 0.8544 GB, free: 3.117 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/1.015, allocations: 135.9 kB / 0.8545 GB, free: 2.984 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.0007087/1.016, allocations: 329 kB / 0.8548 GB, free: 2.668 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000518/1.016, allocations: 238.3 kB / 0.855 GB, free: 2.434 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.00458/1.021, allocations: 2.372 MB / 0.8574 GB, free: 196 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.191470535937697] Failed to read output from testmodel.py, exit status != 0: 1.2415984701365232 1.256656929 0.355742025 Calling exit ...