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.0131/0.0131, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 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.001575/0.001575, allocations: 104.8 kB / 24.93 MB, free: 2.031 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.001903/0.001903, allocations: 212 kB / 28.65 MB, free: 3.297 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.56/1.56, allocations: 230.6 MB / 262.8 MB, free: 5.836 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.212/1.212, allocations: 130.7 MB / 450.4 MB, free: 6.43 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.06944/0.06944, allocations: 20.99 MB / 0.637 GB, free: 4.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2737, allocations: 81.92 MB / 0.717 GB, free: 2.234 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.5397/0.8133, allocations: 43.28 MB / 0.7593 GB, free: 23.01 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02391/0.8373, allocations: 16.19 MB / 0.7751 GB, free: 11.76 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003082/0.8403, allocations: 56.47 kB / 0.7752 GB, free: 11.73 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004554/0.8449, allocations: 1.4 MB / 0.7765 GB, free: 11.14 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005057/0.85, allocations: 1.51 MB / 0.778 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005208/0.8552, allocations: 1.762 MB / 0.7797 GB, free: 9.398 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005929/0.8611, allocations: 3.535 MB / 0.7832 GB, free: 7.824 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.8626, allocations: 0.8793 MB / 0.784 GB, free: 7.418 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.8653, allocations: 1.441 MB / 0.7855 GB, free: 6.723 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.8677, allocations: 1.608 MB / 0.787 GB, free: 5.766 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003955/0.8681, allocations: 203.4 kB / 0.7872 GB, free: 5.766 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003545/0.8716, allocations: 1.083 MB / 0.7883 GB, free: 5.27 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0007921/0.8724, allocations: 0.8045 MB / 0.7891 GB, free: 4.699 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.8734, allocations: 0.8932 MB / 0.7899 GB, free: 4.121 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005358/0.8788, allocations: 3.871 MB / 0.7937 GB, free: 1.605 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.8788, allocations: 1.344 kB / 0.7937 GB, free: 1.605 MB / 0.5607 GB Notification: Performance of FrontEnd: time 3.577e-06/0.8788, allocations: 2.656 kB / 0.7937 GB, free: 1.605 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 2.984e-05/0.8788, allocations: 0 / 0.7937 GB, free: 1.605 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.005763/0.8846, allocations: 2.909 MB / 0.7966 GB, free: 15.53 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8846, allocations: 9.75 kB / 0.7966 GB, free: 15.53 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009958/0.8856, allocations: 317.5 kB / 0.7969 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/0.8906, allocations: 2.569 MB / 0.7994 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.8907, allocations: 75.7 kB / 0.7995 GB, free: 13.6 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.8909, allocations: 103.3 kB / 0.7996 GB, free: 13.56 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005422/0.8963, allocations: 2.66 MB / 0.8021 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/0.8964, allocations: 23.75 kB / 0.8022 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.8965, allocations: 51.98 kB / 0.8022 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.8966, allocations: 61.28 kB / 0.8023 GB, free: 11.14 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004788/0.9014, allocations: 1.79 MB / 0.804 GB, free: 9.359 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.01361/0.915, allocations: 10.36 MB / 0.8141 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005295/0.9203, allocations: 1.722 MB / 0.8158 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.9217, allocations: 0.5921 MB / 0.8164 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.9219, allocations: 68.61 kB / 0.8165 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003986/0.9259, allocations: 1.45 MB / 0.8179 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 6.152e-06/0.9259, allocations: 0 / 0.8179 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.009859/0.9358, allocations: 3.31 MB / 0.8211 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000277/0.9361, allocations: 441.3 kB / 0.8215 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004416/0.9405, allocations: 1.927 MB / 0.8234 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.9407, allocations: 41.7 kB / 0.8235 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.9417, allocations: 0.8554 MB / 0.8243 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009013/0.9426, allocations: 0.6685 MB / 0.8249 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001084/0.9437, allocations: 459.4 kB / 0.8254 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.9439, allocations: 305.1 kB / 0.8257 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.9458, allocations: 0.8738 MB / 0.8265 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.9483, allocations: 1.58 MB / 0.8281 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00889/0.9572, allocations: 4.035 MB / 0.832 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.952e-05/0.9573, allocations: 8 kB / 0.832 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006136/0.9634, allocations: 2.741 MB / 0.8347 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.9635, allocations: 45.69 kB / 0.8347 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003883/0.9673, allocations: 1.929 MB / 0.8366 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/0.9677, allocations: 88.8 kB / 0.8367 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.9695, allocations: 0.5563 MB / 0.8372 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.9713, allocations: 1.524 MB / 0.8387 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.9732, allocations: 233 kB / 0.839 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/0.9736, allocations: 135.9 kB / 0.8391 GB, free: 4.113 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.00305/0.9766, allocations: 1.345 MB / 0.8404 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002454/0.9791, allocations: 1.58 MB / 0.8419 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008394/0.9875, allocations: 3.987 MB / 0.8458 GB, free: 12.64 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.423e-05/0.9875, allocations: 4 kB / 0.8458 GB, free: 12.64 MB / 0.6232 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.006326/0.9938, allocations: 2.733 MB / 0.8485 GB, free: 9.898 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 6.876e-05/0.9939, allocations: 41.7 kB / 0.8486 GB, free: 9.852 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00403/0.9979, allocations: 1.924 MB / 0.8504 GB, free: 7.914 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.9983, allocations: 87.44 kB / 0.8505 GB, free: 7.828 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/1, allocations: 0.5538 MB / 0.8511 GB, free: 7.273 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/1.002, allocations: 1.515 MB / 0.8525 GB, free: 5.664 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/1.004, allocations: 202.7 kB / 0.8527 GB, free: 5.465 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003109/1.004, allocations: 135.9 kB / 0.8529 GB, free: 5.332 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.0008263/1.005, allocations: 320.4 kB / 0.8532 GB, free: 5.02 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009339/1.006, allocations: 226.5 kB / 0.8534 GB, free: 4.797 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.005191/1.011, allocations: 2.39 MB / 0.8557 GB, free: 2.539 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.336125614121556] Failed to read output from testmodel.py, exit status != 0: 1.2470988761633635 1.26552386 0.383240438 Calling exit ...