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.01255/0.01255, allocations: 1.757 MB / 21.34 MB, free: 0.5859 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.001572/0.001572, allocations: 104.4 kB / 24.94 MB, free: 2.18 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.002009/0.002009, allocations: 212 kB / 28.67 MB, free: 3.457 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.446/1.446, allocations: 230.6 MB / 262.8 MB, free: 6.023 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.047/1.047, allocations: 130.7 MB / 450.4 MB, free: 6.59 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.0312/0.0312, allocations: 20.78 MB / 0.637 GB, free: 4.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.202, allocations: 81.91 MB / 0.717 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.5323/0.7343, allocations: 44.38 MB / 0.7603 GB, free: 21.96 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02339/0.7577, allocations: 16.94 MB / 0.7768 GB, free: 9.914 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.7608, allocations: 54.19 kB / 0.7769 GB, free: 9.887 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004739/0.7655, allocations: 1.51 MB / 0.7784 GB, free: 9.227 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004898/0.7704, allocations: 1.516 MB / 0.7798 GB, free: 8.363 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004942/0.7754, allocations: 1.759 MB / 0.7816 GB, free: 7.473 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006088/0.7815, allocations: 3.544 MB / 0.785 GB, free: 5.891 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.7833, allocations: 0.821 MB / 0.7858 GB, free: 5.52 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.7864, allocations: 1.433 MB / 0.7872 GB, free: 4.895 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003213/0.7896, allocations: 1.664 MB / 0.7888 GB, free: 3.883 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0007835/0.7904, allocations: 200.2 kB / 0.789 GB, free: 3.883 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004121/0.7945, allocations: 1.542 MB / 0.7905 GB, free: 3.07 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.7958, allocations: 0.8119 MB / 0.7913 GB, free: 2.492 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.002436/0.7982, allocations: 1.153 MB / 0.7925 GB, free: 1.656 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.007924/0.8061, allocations: 3.956 MB / 0.7963 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8062, allocations: 1.344 kB / 0.7963 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8062, allocations: 2.688 kB / 0.7963 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.000132/0.8063, allocations: 0 / 0.7963 GB, free: 15.05 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.008447/0.8147, allocations: 2.915 MB / 0.7992 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8148, allocations: 9.625 kB / 0.7992 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.8161, allocations: 320.6 kB / 0.7995 GB, free: 12.8 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005924/0.822, allocations: 2.549 MB / 0.802 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.841e-05/0.8221, allocations: 80.31 kB / 0.8021 GB, free: 11.05 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.8224, allocations: 99.97 kB / 0.8022 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00595/0.8283, allocations: 2.439 MB / 0.8045 GB, free: 9.16 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.605e-05/0.8284, allocations: 21.12 kB / 0.8046 GB, free: 9.145 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.8285, allocations: 47.98 kB / 0.8046 GB, free: 9.098 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.8286, allocations: 67.97 kB / 0.8047 GB, free: 9.035 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005113/0.8337, allocations: 1.799 MB / 0.8064 GB, free: 7.238 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.01536/0.8491, allocations: 10.93 MB / 0.8171 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005406/0.8545, allocations: 1.72 MB / 0.8188 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.8558, allocations: 0.5998 MB / 0.8194 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.856, allocations: 76.52 kB / 0.8194 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003861/0.8599, allocations: 1.447 MB / 0.8209 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 4.328e-06/0.8599, allocations: 4 kB / 0.8209 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009588/0.8695, allocations: 3.31 MB / 0.8241 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002718/0.8697, allocations: 431.8 kB / 0.8245 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004076/0.8738, allocations: 1.947 MB / 0.8264 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.874, allocations: 48.38 kB / 0.8265 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009688/0.875, allocations: 0.8556 MB / 0.8273 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000757/0.8757, allocations: 0.6621 MB / 0.8279 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008455/0.8766, allocations: 455.5 kB / 0.8284 GB, free: 128 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.8767, allocations: 301.1 kB / 0.8287 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.8785, allocations: 0.8552 MB / 0.8295 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/0.8809, allocations: 1.472 MB / 0.8309 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008648/0.8895, allocations: 4.035 MB / 0.8349 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.589e-05/0.8895, allocations: 8 kB / 0.8349 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005901/0.8954, allocations: 2.716 MB / 0.8375 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-05/0.8955, allocations: 41.7 kB / 0.8376 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003822/0.8993, allocations: 1.908 MB / 0.8394 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/0.8996, allocations: 91.41 kB / 0.8395 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.9015, allocations: 0.5564 MB / 0.8401 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.9033, allocations: 1.543 MB / 0.8416 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.9053, allocations: 247.4 kB / 0.8418 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/0.9056, allocations: 134.6 kB / 0.8419 GB, free: 1.617 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.002866/0.9084, allocations: 1.313 MB / 0.8432 GB, free: 308 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002426/0.9108, allocations: 1.472 MB / 0.8447 GB, free: 14.56 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008357/0.9192, allocations: 3.984 MB / 0.8485 GB, free: 10.35 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-05/0.9192, allocations: 10.62 kB / 0.8486 GB, free: 10.34 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005796/0.925, allocations: 2.699 MB / 0.8512 GB, free: 7.645 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/0.9251, allocations: 41.7 kB / 0.8512 GB, free: 7.598 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003804/0.9289, allocations: 1.891 MB / 0.8531 GB, free: 5.699 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.9292, allocations: 92.75 kB / 0.8532 GB, free: 5.605 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.931, allocations: 0.5564 MB / 0.8537 GB, free: 5.051 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.9327, allocations: 1.545 MB / 0.8552 GB, free: 3.402 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.9344, allocations: 194.8 kB / 0.8554 GB, free: 3.211 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/0.9347, allocations: 135 kB / 0.8555 GB, free: 3.082 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.000745/0.9354, allocations: 326.2 kB / 0.8558 GB, free: 2.762 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008117/0.9363, allocations: 241 kB / 0.8561 GB, free: 2.527 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.00502/0.9413, allocations: 2.378 MB / 0.8584 GB, free: 288 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.805425936123356] Failed to read output from testmodel.py, exit status != 0: 1.1495616601314396 1.166707176 0.35706327400000004 Calling exit ...