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.008024/0.008024, allocations: 1.795 MB / 21.35 MB, free: 3.195 MB / 18.57 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.0007672/0.0007672, allocations: 82.02 kB / 25.15 MB, free: 7.469 MB / 18.57 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.0008188/0.0008188, allocations: 168.8 kB / 29.06 MB, free: 3.668 MB / 18.57 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 0.898/0.898, allocations: 177.2 MB / 210 MB, free: 3.594 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6029/0.6029, allocations: 102.4 MB / 369.5 MB, free: 316 kB / 330.7 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 1.0.0 (/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.[0-9,]+.|tubeBundle_L2_Simple.p.[0-9,]+.",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.[0-9,]+.|tubeBundle_L2_Simple.p.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.MassDefect.Test_Pipe_L2_Simple") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0.6562 kB / 470 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.456e-05, allocations: 5.484 kB / 470 MB, free: 19.01 MB / 410.8 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.1146/0.1146, allocations: 60.7 MB / 0.5182 GB, free: 11.25 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.1317, allocations: 16.57 MB / 0.5344 GB, free: 10.64 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.1328, allocations: 59.56 kB / 0.5345 GB, free: 10.58 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.1352, allocations: 1.422 MB / 0.5359 GB, free: 9.152 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.1372, allocations: 1.565 MB / 0.5374 GB, free: 7.578 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.14, allocations: 1.799 MB / 0.5391 GB, free: 5.773 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002813/0.1428, allocations: 3.625 MB / 0.5427 GB, free: 2.137 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007966/0.1436, allocations: 0.9525 MB / 0.5436 GB, free: 1.16 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1118/0.2555, allocations: 47.09 MB / 0.5896 GB, free: 3.227 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.2571, allocations: 1.344 MB / 0.5909 GB, free: 1.879 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.2573, allocations: 156 kB / 0.5911 GB, free: 1.727 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.2591, allocations: 1.025 MB / 0.5921 GB, free: 0.6992 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0004736/0.2595, allocations: 0.7436 MB / 0.5928 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.2601, allocations: 0.6427 MB / 0.5934 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.2626, allocations: 2.666 MB / 0.596 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2626, allocations: 3.984 kB / 0.596 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2626, allocations: 0 / 0.596 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.2626, allocations: 0 / 0.596 GB, free: 12.63 MB / 0.5105 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.002428/0.265, allocations: 2.826 MB / 0.5988 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2651, allocations: 8.031 kB / 0.5988 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003062/0.2654, allocations: 339.2 kB / 0.5991 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.2668, allocations: 1.462 MB / 0.6005 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/0.2668, allocations: 78.36 kB / 0.6006 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.2669, allocations: 96.38 kB / 0.6007 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.2696, allocations: 2.427 MB / 0.6031 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.2697, allocations: 15.88 kB / 0.6031 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-05/0.2697, allocations: 47.98 kB / 0.6031 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/0.2698, allocations: 65.28 kB / 0.6032 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.2718, allocations: 1.128 MB / 0.6043 GB, free: 3.57 MB / 0.5105 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.006188/0.2779, allocations: 13.94 MB / 0.6179 GB, free: 5.145 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.2801, allocations: 1.227 MB / 0.6191 GB, free: 3.828 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/0.2805, allocations: 309 kB / 0.6194 GB, free: 3.496 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.2806, allocations: 76.55 kB / 0.6195 GB, free: 3.422 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/0.2824, allocations: 1.094 MB / 0.6205 GB, free: 2.262 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=195): time 3.527e-06/0.2824, allocations: 7.984 kB / 0.6206 GB, free: 2.254 MB / 0.5262 GB Notification: Performance of matching and sorting (n=195): time 0.004332/0.2868, allocations: 2.376 MB / 0.6229 GB, free: 15.87 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.2869, allocations: 483.3 kB / 0.6233 GB, free: 15.29 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.2884, allocations: 1.78 MB / 0.6251 GB, free: 13.46 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.731e-05/0.2885, allocations: 45.64 kB / 0.6251 GB, free: 13.41 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.289, allocations: 0.953 MB / 0.626 GB, free: 12.44 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/0.2894, allocations: 0.6817 MB / 0.6267 GB, free: 11.75 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005006/0.2899, allocations: 485.5 kB / 0.6272 GB, free: 11.27 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.29, allocations: 480.7 kB / 0.6276 GB, free: 10.79 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.2905, allocations: 406.2 kB / 0.628 GB, free: 10.39 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009828/0.2915, allocations: 1.457 MB / 0.6294 GB, free: 8.492 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.2935, allocations: 2.183 MB / 0.6316 GB, free: 5.918 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.2935, allocations: 4 kB / 0.6316 GB, free: 5.914 MB / 0.5418 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002415/0.296, allocations: 1.87 MB / 0.6334 GB, free: 4.023 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.296, allocations: 49.94 kB / 0.6335 GB, free: 3.969 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001395/0.2974, allocations: 1.066 MB / 0.6345 GB, free: 2.883 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.2976, allocations: 71.64 kB / 0.6346 GB, free: 2.809 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009645/0.2986, allocations: 0.5537 MB / 0.6351 GB, free: 2.254 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008339/0.2994, allocations: 1.79 MB / 0.6369 GB, free: 352 kB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/0.3001, allocations: 226.4 kB / 0.6371 GB, free: 124 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.3003, allocations: 136 kB / 0.6372 GB, free: 15.98 MB / 0.5574 GB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.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.0008593/0.3011, allocations: 0.5603 MB / 0.6377 GB, free: 15.42 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001035/0.3022, allocations: 1.448 MB / 0.6392 GB, free: 13.53 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002158/0.3043, allocations: 2.167 MB / 0.6413 GB, free: 10.97 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.111e-06/0.3043, allocations: 8 kB / 0.6413 GB, free: 10.96 MB / 0.5574 GB Notification: Performance of matching and sorting (n=285) (initialization_lambda0): time 0.00223/0.3066, allocations: 1.877 MB / 0.6431 GB, free: 9.062 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.3066, allocations: 41.7 kB / 0.6432 GB, free: 9.016 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001407/0.308, allocations: 1.059 MB / 0.6442 GB, free: 7.938 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.3082, allocations: 76.27 kB / 0.6443 GB, free: 7.859 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/0.3092, allocations: 0.5499 MB / 0.6448 GB, free: 7.309 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009434/0.3101, allocations: 1.79 MB / 0.6465 GB, free: 5.398 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/0.3109, allocations: 199.1 kB / 0.6467 GB, free: 5.203 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.311, allocations: 131.9 kB / 0.6469 GB, free: 5.074 MB / 0.5574 GB Warning: Assuming fixed start value for the following 2 variables: tubeBundle_L2_Simple.h[1]:VARIABLE(start = tubeBundle_L2_Simple.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.0005649/0.3116, allocations: 416.2 kB / 0.6473 GB, free: 4.66 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.3119, allocations: 258.3 kB / 0.6475 GB, free: 4.406 MB / 0.5574 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.002332/0.3142, allocations: 2.056 MB / 0.6495 GB, free: 2.305 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.0320120616815984]