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.01209/0.01209, allocations: 1.75 MB / 20.6 MB, free: 1.027 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.00154/0.00154, allocations: 96.58 kB / 24.18 MB, free: 2.465 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.001551/0.001551, allocations: 214.9 kB / 27.9 MB, free: 3.77 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.418/1.418, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.036/1.036, allocations: 130.7 MB / 449.7 MB, free: 6.387 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.06351/0.06351, allocations: 20.99 MB / 0.6363 GB, free: 4.191 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.227, allocations: 81.91 MB / 0.7163 GB, free: 2.203 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.4532/0.6802, allocations: 43.28 MB / 0.7586 GB, free: 22.96 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02078/0.701, allocations: 16.19 MB / 0.7744 GB, free: 11.71 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.703, allocations: 56.47 kB / 0.7745 GB, free: 11.69 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.0037/0.7067, allocations: 1.398 MB / 0.7758 GB, free: 11.1 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003836/0.7106, allocations: 1.513 MB / 0.7773 GB, free: 10.24 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004435/0.715, allocations: 1.769 MB / 0.779 GB, free: 9.355 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004912/0.7199, allocations: 3.542 MB / 0.7825 GB, free: 7.773 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.7215, allocations: 0.8741 MB / 0.7833 GB, free: 7.371 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/0.7242, allocations: 1.436 MB / 0.7847 GB, free: 6.641 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.726, allocations: 1.608 MB / 0.7863 GB, free: 5.684 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003315/0.7264, allocations: 202.2 kB / 0.7865 GB, free: 5.684 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.7289, allocations: 1.085 MB / 0.7876 GB, free: 5.184 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006236/0.7295, allocations: 0.8076 MB / 0.7883 GB, free: 4.609 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0008009/0.7303, allocations: 0.8863 MB / 0.7892 GB, free: 4.039 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.003903/0.7342, allocations: 3.872 MB / 0.793 GB, free: 1.523 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7342, allocations: 0 / 0.793 GB, free: 1.523 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7342, allocations: 2.656 kB / 0.793 GB, free: 1.523 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 2.672e-05/0.7342, allocations: 3.844 kB / 0.793 GB, free: 1.523 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.004616/0.7388, allocations: 2.91 MB / 0.7958 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.7389, allocations: 9.719 kB / 0.7958 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008836/0.7398, allocations: 321.1 kB / 0.7962 GB, free: 15.27 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004485/0.7442, allocations: 2.563 MB / 0.7987 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/0.7443, allocations: 79.48 kB / 0.7987 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.7445, allocations: 97.17 kB / 0.7988 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004934/0.7494, allocations: 2.666 MB / 0.8014 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.7494, allocations: 19.75 kB / 0.8014 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.7495, allocations: 51.98 kB / 0.8015 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.775e-05/0.7496, allocations: 65.28 kB / 0.8016 GB, free: 11.05 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004326/0.754, allocations: 1.786 MB / 0.8033 GB, free: 9.27 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.01001/0.764, allocations: 10.35 MB / 0.8134 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004391/0.7684, allocations: 1.722 MB / 0.8151 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.7695, allocations: 0.5934 MB / 0.8157 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.7697, allocations: 68.61 kB / 0.8157 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003467/0.7731, allocations: 1.45 MB / 0.8172 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.376e-06/0.7731, allocations: 2.625 kB / 0.8172 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.008611/0.7817, allocations: 3.315 MB / 0.8204 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002324/0.782, allocations: 431.8 kB / 0.8208 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.7846, allocations: 1.935 MB / 0.8227 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.7847, allocations: 41.7 kB / 0.8227 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007428/0.7854, allocations: 0.8541 MB / 0.8236 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005906/0.786, allocations: 0.6699 MB / 0.8242 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006672/0.7867, allocations: 451.5 kB / 0.8247 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.7868, allocations: 301.1 kB / 0.8249 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.7884, allocations: 0.8803 MB / 0.8258 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.7905, allocations: 1.58 MB / 0.8273 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007656/0.7981, allocations: 4.041 MB / 0.8313 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.7981, allocations: 4 kB / 0.8313 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00494/0.8031, allocations: 2.742 MB / 0.834 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.8031, allocations: 37.7 kB / 0.834 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003448/0.8066, allocations: 1.932 MB / 0.8359 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.8068, allocations: 88.8 kB / 0.836 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.8085, allocations: 0.5642 MB / 0.8365 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.8102, allocations: 1.522 MB / 0.838 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.812, allocations: 234.3 kB / 0.8382 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.8122, allocations: 135.9 kB / 0.8384 GB, free: 4.027 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.002739/0.8149, allocations: 1.341 MB / 0.8397 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00223/0.8172, allocations: 1.576 MB / 0.8412 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008012/0.8252, allocations: 3.988 MB / 0.8451 GB, free: 12.56 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.057e-05/0.8252, allocations: 4 kB / 0.8451 GB, free: 12.55 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005779/0.831, allocations: 2.736 MB / 0.8478 GB, free: 9.816 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.831, allocations: 37.7 kB / 0.8478 GB, free: 9.773 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00351/0.8345, allocations: 1.921 MB / 0.8497 GB, free: 7.836 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002316/0.8348, allocations: 90.09 kB / 0.8498 GB, free: 7.75 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.8364, allocations: 0.5577 MB / 0.8503 GB, free: 7.191 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.8379, allocations: 1.519 MB / 0.8518 GB, free: 5.578 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.8394, allocations: 198.7 kB / 0.852 GB, free: 5.383 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/0.8397, allocations: 134.6 kB / 0.8521 GB, free: 5.254 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.0005902/0.8403, allocations: 317.7 kB / 0.8524 GB, free: 4.938 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006936/0.841, allocations: 229.1 kB / 0.8527 GB, free: 4.715 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.004381/0.8453, allocations: 2.392 MB / 0.855 GB, free: 2.453 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.58196109905839] Failed to read output from testmodel.py, exit status != 0: 1.016607427969575 1.031359001 0.294145882 Calling exit ...