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.01088/0.01088, allocations: 1.348 MB / 20.45 MB, free: 1.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.00146/0.00146, allocations: 79.34 kB / 24.02 MB, free: 2.605 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.001861/0.001861, allocations: 155.7 kB / 27.71 MB, free: 3.855 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.494/1.494, allocations: 177.1 MB / 208.4 MB, free: 7.648 MB / 190.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.09/1.09, allocations: 102.5 MB / 367.8 MB, free: 4.57 MB / 334.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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.5365 GB, free: 7.141 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.184e-05, allocations: 6.219 kB / 0.5365 GB, free: 7.133 MB / 446.1 MB 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.1705/0.1705, allocations: 56.95 MB / 0.5921 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02493/0.1954, allocations: 15.89 MB / 0.6076 GB, free: 0.7266 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.1977, allocations: 59.56 kB / 0.6077 GB, free: 0.668 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.004204/0.202, allocations: 1.413 MB / 0.609 GB, free: 15.25 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.004927/0.2069, allocations: 1.554 MB / 0.6106 GB, free: 13.69 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.005241/0.2121, allocations: 1.795 MB / 0.6123 GB, free: 11.89 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.005991/0.2181, allocations: 3.63 MB / 0.6159 GB, free: 8.25 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001864/0.22, allocations: 0.8895 MB / 0.6167 GB, free: 7.34 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.2234, allocations: 1.874 MB / 0.6186 GB, free: 5.461 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.2261, allocations: 1.461 MB / 0.62 GB, free: 3.996 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0004475/0.2265, allocations: 196 kB / 0.6202 GB, free: 3.805 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.2295, allocations: 1.103 MB / 0.6213 GB, free: 2.699 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0009874/0.2305, allocations: 0.8371 MB / 0.6221 GB, free: 1.859 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.2316, allocations: 0.713 MB / 0.6228 GB, free: 1.145 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.005524/0.2371, allocations: 3.836 MB / 0.6265 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2371, allocations: 0 / 0.6265 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2371, allocations: 4 kB / 0.6265 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.802e-05/0.2372, allocations: 0 / 0.6265 GB, free: 13.29 MB / 0.5294 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.005182/0.2423, allocations: 2.891 MB / 0.6293 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2424, allocations: 12.03 kB / 0.6293 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009262/0.2433, allocations: 319.1 kB / 0.6297 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/0.2479, allocations: 2.558 MB / 0.6322 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-05/0.248, allocations: 70.38 kB / 0.6322 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.2481, allocations: 96.36 kB / 0.6323 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005534/0.2537, allocations: 2.665 MB / 0.6349 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.2537, allocations: 15.86 kB / 0.6349 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.2538, allocations: 51.98 kB / 0.635 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.72e-05/0.2539, allocations: 73.22 kB / 0.635 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004774/0.2587, allocations: 1.788 MB / 0.6368 GB, free: 2.316 MB / 0.5294 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.01245/0.2712, allocations: 10.31 MB / 0.6469 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005203/0.2764, allocations: 1.709 MB / 0.6485 GB, free: 5.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.2777, allocations: 0.583 MB / 0.6491 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.2779, allocations: 80.48 kB / 0.6492 GB, free: 5.168 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004035/0.2819, allocations: 1.457 MB / 0.6506 GB, free: 3.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=195): time 4.048e-06/0.2819, allocations: 0 / 0.6506 GB, free: 3.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=195): time 0.009993/0.2919, allocations: 3.304 MB / 0.6538 GB, free: 356 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002968/0.2922, allocations: 435.8 kB / 0.6542 GB, free: 15.82 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003754/0.296, allocations: 1.932 MB / 0.6561 GB, free: 13.85 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.2962, allocations: 41.7 kB / 0.6562 GB, free: 13.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009568/0.2971, allocations: 0.8593 MB / 0.657 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007966/0.2979, allocations: 0.6621 MB / 0.6577 GB, free: 12.27 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009334/0.2988, allocations: 443.5 kB / 0.6581 GB, free: 11.82 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.299, allocations: 305.1 kB / 0.6584 GB, free: 11.52 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.3007, allocations: 0.8738 MB / 0.6592 GB, free: 10.64 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.3031, allocations: 1.585 MB / 0.6608 GB, free: 8.742 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008583/0.3116, allocations: 4.026 MB / 0.6647 GB, free: 4.422 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/0.3117, allocations: 8 kB / 0.6647 GB, free: 4.414 MB / 0.5607 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005883/0.3176, allocations: 2.741 MB / 0.6674 GB, free: 1.648 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 6.672e-05/0.3176, allocations: 49.69 kB / 0.6674 GB, free: 1.594 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003867/0.3215, allocations: 1.927 MB / 0.6693 GB, free: 15.65 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/0.3218, allocations: 92.8 kB / 0.6694 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.3237, allocations: 0.5537 MB / 0.6699 GB, free: 15 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.3254, allocations: 1.533 MB / 0.6714 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.327, allocations: 226.4 kB / 0.6717 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.3273, allocations: 135.9 kB / 0.6718 GB, free: 13.01 MB / 0.5763 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.002823/0.3301, allocations: 1.35 MB / 0.6731 GB, free: 11.65 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002358/0.3325, allocations: 1.573 MB / 0.6746 GB, free: 9.758 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008628/0.3411, allocations: 3.999 MB / 0.6785 GB, free: 5.461 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-05/0.3411, allocations: 4.094 kB / 0.6786 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.005914/0.347, allocations: 2.726 MB / 0.6812 GB, free: 2.711 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.883e-05/0.3471, allocations: 45.7 kB / 0.6813 GB, free: 2.66 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00386/0.3509, allocations: 1.915 MB / 0.6831 GB, free: 0.7266 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.3512, allocations: 88.81 kB / 0.6832 GB, free: 0.6367 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.3531, allocations: 0.558 MB / 0.6838 GB, free: 80 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.3548, allocations: 1.514 MB / 0.6852 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.3566, allocations: 210.9 kB / 0.6854 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003235/0.3569, allocations: 131.9 kB / 0.6856 GB, free: 14.12 MB / 0.5919 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.0008084/0.3577, allocations: 325.2 kB / 0.6859 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008148/0.3585, allocations: 226.4 kB / 0.6861 GB, free: 13.58 MB / 0.5919 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.004992/0.3635, allocations: 2.39 MB / 0.6884 GB, free: 11.15 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.635192524641752] Failed to read output from testmodel.py, exit status != 0: 0.8193845078349113 0.829865772 0.590371285 Calling exit ...