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.0122/0.0122, allocations: 1.781 MB / 18.83 MB, free: 4.262 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.00113/0.00113, allocations: 107.6 kB / 22.07 MB, free: 1.016 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.001449/0.001449, allocations: 214.9 kB / 25.45 MB, free: 3.293 MB / 14.72 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.42/1.42, allocations: 230.6 MB / 259.2 MB, free: 13.12 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.083/1.083, allocations: 130.6 MB / 446.3 MB, free: 15.03 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.3895/0.3895, allocations: 46.14 MB / 0.6556 GB, free: 30.96 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.5643, allocations: 89.06 MB / 0.7426 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple): time 0.01395/0.5783, allocations: 11.41 MB / 0.7538 GB, free: 6.938 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02452/0.6028, allocations: 16.65 MB / 0.77 GB, free: 6.238 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.6044, allocations: 55.56 kB / 0.7701 GB, free: 6.184 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.6077, allocations: 1.437 MB / 0.7715 GB, free: 4.742 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.6107, allocations: 1.485 MB / 0.7729 GB, free: 3.25 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.6145, allocations: 1.691 MB / 0.7746 GB, free: 1.555 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.004296/0.6188, allocations: 3.541 MB / 0.778 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.62, allocations: 0.8347 MB / 0.7788 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.6218, allocations: 1.432 MB / 0.7802 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.6238, allocations: 1.665 MB / 0.7819 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002978/0.6241, allocations: 203.9 kB / 0.7821 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.6268, allocations: 1.434 MB / 0.7835 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007964/0.6276, allocations: 0.8019 MB / 0.7842 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.6287, allocations: 1.146 MB / 0.7854 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004863/0.6336, allocations: 3.931 MB / 0.7892 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6336, allocations: 0 / 0.7892 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6336, allocations: 0 / 0.7892 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.155e-05/0.6336, allocations: 0 / 0.7892 GB, free: 2.504 MB / 0.5919 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.005126/0.6387, allocations: 2.986 MB / 0.7921 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6388, allocations: 8.031 kB / 0.7921 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008956/0.6397, allocations: 327.1 kB / 0.7924 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004305/0.644, allocations: 2.686 MB / 0.7951 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/0.6441, allocations: 82.11 kB / 0.7951 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.6442, allocations: 92 kB / 0.7952 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005131/0.6494, allocations: 2.447 MB / 0.7976 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.6494, allocations: 11.88 kB / 0.7976 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.6495, allocations: 48 kB / 0.7977 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.043e-05/0.6496, allocations: 61.28 kB / 0.7977 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004649/0.6542, allocations: 1.804 MB / 0.7995 GB, free: 7.547 MB / 0.6075 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.01053/0.6648, allocations: 11 MB / 0.8102 GB, free: 12.12 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004673/0.6694, allocations: 1.787 MB / 0.812 GB, free: 10.24 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.6706, allocations: 0.5907 MB / 0.8126 GB, free: 9.625 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.6708, allocations: 80.42 kB / 0.8126 GB, free: 9.547 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003716/0.6745, allocations: 1.445 MB / 0.814 GB, free: 8.051 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=195): time 3.096e-06/0.6745, allocations: 0 / 0.814 GB, free: 8.051 MB / 0.6232 GB Notification: Performance of matching and sorting (n=195): time 0.009223/0.6837, allocations: 3.387 MB / 0.8174 GB, free: 4.645 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002731/0.684, allocations: 431.8 kB / 0.8178 GB, free: 4.121 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/0.6867, allocations: 1.951 MB / 0.8197 GB, free: 2.133 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.6868, allocations: 41.7 kB / 0.8197 GB, free: 2.086 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007921/0.6876, allocations: 0.8559 MB / 0.8205 GB, free: 1.219 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006267/0.6883, allocations: 0.6701 MB / 0.8212 GB, free: 0.543 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007042/0.689, allocations: 447.5 kB / 0.8216 GB, free: 100 kB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6891, allocations: 301.1 kB / 0.8219 GB, free: 15.8 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.6907, allocations: 0.8487 MB / 0.8227 GB, free: 14.95 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.6929, allocations: 1.477 MB / 0.8242 GB, free: 13.18 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008219/0.7012, allocations: 4.033 MB / 0.8281 GB, free: 8.852 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.7012, allocations: 4 kB / 0.8281 GB, free: 8.848 MB / 0.6388 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005174/0.7063, allocations: 2.721 MB / 0.8308 GB, free: 6.109 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.7064, allocations: 41.69 kB / 0.8308 GB, free: 6.062 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003667/0.7101, allocations: 1.909 MB / 0.8327 GB, free: 4.141 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/0.7103, allocations: 88.75 kB / 0.8328 GB, free: 4.051 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.7121, allocations: 0.5538 MB / 0.8333 GB, free: 3.496 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.7137, allocations: 1.648 MB / 0.8349 GB, free: 1.707 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.715, allocations: 246.4 kB / 0.8352 GB, free: 1.465 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/0.7152, allocations: 143.9 kB / 0.8353 GB, free: 1.324 MB / 0.6388 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.002502/0.7177, allocations: 1.308 MB / 0.8366 GB, free: 8 kB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002187/0.7199, allocations: 1.477 MB / 0.838 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007967/0.7279, allocations: 3.987 MB / 0.8419 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.061e-05/0.7279, allocations: 8 kB / 0.8419 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005144/0.7331, allocations: 2.693 MB / 0.8445 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.7331, allocations: 40.52 kB / 0.8446 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003629/0.7367, allocations: 1.898 MB / 0.8464 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.7369, allocations: 88.75 kB / 0.8465 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.7387, allocations: 0.5577 MB / 0.8471 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.7403, allocations: 1.644 MB / 0.8487 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.7415, allocations: 206.9 kB / 0.8489 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002191/0.7418, allocations: 135.9 kB / 0.849 GB, free: 2.523 MB / 0.6544 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.0006686/0.7424, allocations: 324.4 kB / 0.8493 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/0.7429, allocations: 238.6 kB / 0.8495 GB, free: 1.965 MB / 0.6544 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.004456/0.7473, allocations: 2.365 MB / 0.8518 GB, free: 15.57 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.276642234995961] Failed to read output from testmodel.py, exit status != 0: 0.7553517569904216 0.767363465 0.130992215 Calling exit ...