Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop.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.008131/0.008131, allocations: 1.777 MB / 22.36 MB, free: 2.109 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.00076/0.00076, allocations: 85.19 kB / 26.19 MB, free: 6.066 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.0008631/0.0008631, allocations: 169.4 kB / 30.12 MB, free: 2.168 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.9586/0.9586, allocations: 177.1 MB / 211.1 MB, free: 2.258 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.723/0.723, allocations: 102.4 MB / 370.6 MB, free: 0.8047 MB / 330.8 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.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50029,variableFilter="Time|thinWall.T.[0-9,]+.|thinWall1.T.[0-9,]+.|thinWall2.T.[0-9,]+.|thinWall3.T.[0-9,]+.|thinWall4.T.[0-9,]+.|thinWall5.T.[0-9,]+.|thinWall6.T.[0-9,]+.|thinWall7.T.[0-9,]+.|tube1.Alpha|tube1.Beta|tube1.I_f.[0-9,]+.|tube1.Tau_pass|tube1.Tau_pass_tot|tube2.Alpha|tube2.Beta|tube2.I_f.[0-9,]+.|tube2.Tau_pass|tube2.Tau_pass_tot|tube3.Alpha|tube3.Beta|tube3.I_f.[0-9,]+.|tube3.Tau_pass|tube3.Tau_pass_tot|tube4.Alpha|tube4.Beta|tube4.I_f.[0-9,]+.|tube4.Tau_pass|tube4.Tau_pass_tot|tube5.Alpha|tube5.Beta|tube5.I_f.[0-9,]+.|tube5.Tau_pass|tube5.Tau_pass_tot|tube6.Alpha|tube6.Beta|tube6.I_f.[0-9,]+.|tube6.Tau_pass|tube6.Tau_pass_tot|tube7.Alpha|tube7.Beta|tube7.I_f.[0-9,]+.|tube7.Tau_pass|tube7.Tau_pass_tot|tube_merged.Alpha|tube_merged.Beta|tube_merged.I_f.[0-9,]+.|tube_merged.Tau_pass|tube_merged.Tau_pass_tot",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop") translateModel(ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50029,variableFilter="Time|thinWall.T.[0-9,]+.|thinWall1.T.[0-9,]+.|thinWall2.T.[0-9,]+.|thinWall3.T.[0-9,]+.|thinWall4.T.[0-9,]+.|thinWall5.T.[0-9,]+.|thinWall6.T.[0-9,]+.|thinWall7.T.[0-9,]+.|tube1.Alpha|tube1.Beta|tube1.I_f.[0-9,]+.|tube1.Tau_pass|tube1.Tau_pass_tot|tube2.Alpha|tube2.Beta|tube2.I_f.[0-9,]+.|tube2.Tau_pass|tube2.Tau_pass_tot|tube3.Alpha|tube3.Beta|tube3.I_f.[0-9,]+.|tube3.Tau_pass|tube3.Tau_pass_tot|tube4.Alpha|tube4.Beta|tube4.I_f.[0-9,]+.|tube4.Tau_pass|tube4.Tau_pass_tot|tube5.Alpha|tube5.Beta|tube5.I_f.[0-9,]+.|tube5.Tau_pass|tube5.Tau_pass_tot|tube6.Alpha|tube6.Beta|tube6.I_f.[0-9,]+.|tube6.Tau_pass|tube6.Tau_pass_tot|tube7.Alpha|tube7.Beta|tube7.I_f.[0-9,]+.|tube7.Tau_pass|tube7.Tau_pass_tot|tube_merged.Alpha|tube_merged.Beta|tube_merged.I_f.[0-9,]+.|tube_merged.Tau_pass|tube_merged.Tau_pass_tot",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Pipes.Check.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 471.3 MB, free: 12.31 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.796e-05, allocations: 6.25 kB / 471.3 MB, free: 12.3 MB / 442.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.OnePhaseFlow.Test_Pipe_L1_TML_LongDistanceAndGravitationalPressureDrop): time 0.3319/0.332, allocations: 84 MB / 0.5422 GB, free: 63.31 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.03799/0.37, allocations: 27.7 MB / 0.5693 GB, free: 44.29 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008132/0.3781, allocations: 207.5 kB / 0.5695 GB, free: 44.19 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007387/0.3855, allocations: 2.903 MB / 0.5723 GB, free: 42.66 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01712/0.4026, allocations: 5.625 MB / 0.5778 GB, free: 38.72 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01615/0.4187, allocations: 7.251 MB / 0.5849 GB, free: 33.06 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.03905/0.4578, allocations: 54.76 MB / 0.6384 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02875/0.4865, allocations: 18.52 MB / 0.6565 GB, free: 11.94 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1612/0.6478, allocations: 70.08 MB / 0.7249 GB, free: 8.289 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03517/0.6829, allocations: 21.51 MB / 0.7459 GB, free: 2.773 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.2269/0.9098, allocations: 3.588 MB / 0.7494 GB, free: 108.6 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/0.9245, allocations: 4.761 MB / 0.7541 GB, free: 108.6 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.01769/0.9422, allocations: 15.04 MB / 0.7688 GB, free: 108.6 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.04006/0.9822, allocations: 14.16 MB / 0.7826 GB, free: 108.6 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.04979/1.032, allocations: 38.18 MB / 0.8199 GB, free: 102.5 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.032, allocations: 0 / 0.8199 GB, free: 102.5 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.132e-06/1.032, allocations: 0 / 0.8199 GB, free: 102.5 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 0.001654/1.034, allocations: 1.562 kB / 0.8199 GB, free: 102.5 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7572 * Number of variables: 7572 Notification: Performance of Generate backend data structure: time 0.08938/1.123, allocations: 41.23 MB / 0.8601 GB, free: 73.84 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.123, allocations: 8.031 kB / 0.8601 GB, free: 73.83 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01852/1.142, allocations: 4.967 MB / 0.865 GB, free: 68.86 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02491/1.167, allocations: 13.13 MB / 0.8778 GB, free: 56.67 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001971/1.169, allocations: 2.375 MB / 0.8801 GB, free: 54.22 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009491/1.178, allocations: 2.45 MB / 0.8825 GB, free: 51.85 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06189/1.24, allocations: 29.38 MB / 0.9112 GB, free: 21.64 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001241/1.241, allocations: 141.9 kB / 0.9114 GB, free: 21.56 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009168/1.25, allocations: 0.8237 MB / 0.9122 GB, free: 20.75 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00194/1.252, allocations: 3.429 MB / 0.9155 GB, free: 17.33 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06202/1.314, allocations: 24.55 MB / 0.9395 GB, free: 9.125 MB / 0.6199 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.4562/1.77, allocations: 135 MB / 1.071 GB, free: 82.17 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03036/1.801, allocations: 20.2 MB / 1.091 GB, free: 80.3 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01519/1.816, allocations: 7.758 MB / 1.099 GB, free: 79.82 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00281/1.819, allocations: 0.9834 MB / 1.1 GB, free: 79.78 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/1.819, allocations: 350.1 kB / 1.1 GB, free: 79.71 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=3289): time 4.059e-05/1.819, allocations: 2.656 kB / 1.1 GB, free: 79.71 MB / 0.6668 GB Notification: Performance of matching and sorting (n=3445): time 0.2621/2.081, allocations: 73.42 MB / 1.172 GB, free: 54.47 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003992/2.082, allocations: 1.81 MB / 1.173 GB, free: 52.31 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0141/2.096, allocations: 13.31 MB / 1.186 GB, free: 41.66 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.006998/2.103, allocations: 0.5603 MB / 1.187 GB, free: 41.1 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.006261/2.109, allocations: 10.57 MB / 1.197 GB, free: 31.01 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.01298/2.122, allocations: 13.25 MB / 1.21 GB, free: 18.56 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02728/2.149, allocations: 8.355 MB / 1.218 GB, free: 11.04 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 4.23e-05/2.149, allocations: 476.8 kB / 1.219 GB, free: 10.57 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03175/2.181, allocations: 8.376 MB / 1.227 GB, free: 2.172 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04592/2.227, allocations: 19.93 MB / 1.246 GB, free: 11.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3461/2.573, allocations: 28.57 MB / 1.274 GB, free: 166.5 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002872/2.573, allocations: 52.62 kB / 1.274 GB, free: 166.5 MB / 0.7137 GB Notification: Performance of matching and sorting (n=5130) (initialization): time 0.1276/2.701, allocations: 36.23 MB / 1.31 GB, free: 165.5 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002679/2.701, allocations: 86.12 kB / 1.31 GB, free: 165.5 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09248/2.794, allocations: 27.99 MB / 1.337 GB, free: 164.4 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.148/2.942, allocations: 108.5 MB / 1.443 GB, free: 72.62 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01884/2.96, allocations: 6.037 MB / 1.449 GB, free: 67.36 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04529/3.006, allocations: 26.55 MB / 1.475 GB, free: 44.39 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02708/3.033, allocations: 2.095 MB / 1.477 GB, free: 42.5 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009945/3.043, allocations: 1.589 MB / 1.479 GB, free: 40.91 MB / 0.7137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03779/3.081, allocations: 8.95 MB / 1.487 GB, free: 31.95 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02851/3.109, allocations: 19.87 MB / 1.507 GB, free: 9.039 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05943/3.169, allocations: 28.41 MB / 1.535 GB, free: 10.57 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003894/3.169, allocations: 52 kB / 1.535 GB, free: 10.52 MB / 0.7449 GB Warning: The linear system: 1 : tube4.outlet.p = tube4.p_L_init + tube4.Delta_p_grav_start 2 : tube4.p_L_init = tube4.outlet.p [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ tube4.outlet.p ; tube4.p_L_init ] = [ tube4.Delta_p_grav_start ; 0.0 ] might be structurally or numerically singular for variable tube4.p_L_init since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=5130) (initialization_lambda0): time 0.416/3.585, allocations: 35.5 MB / 1.569 GB, free: 191.4 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001907/3.585, allocations: 87.52 kB / 1.569 GB, free: 191.4 MB / 0.7449 GB Warning: The linear system: 1 : tube4.outlet.p = tube4.p_L_init + tube4.Delta_p_grav_start 2 : tube4.p_L_init = tube4.outlet.p [ 1.0 , -1.0 ; -1.0 , 1.0 ] * [ tube4.outlet.p ; tube4.p_L_init ] = [ tube4.Delta_p_grav_start ; 0.0 ] might be structurally or numerically singular for variable tube4.p_L_init since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0874/3.673, allocations: 27.34 MB / 1.596 GB, free: 190.3 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.156/3.829, allocations: 103 MB / 1.697 GB, free: 101.6 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02161/3.85, allocations: 6.534 MB / 1.703 GB, free: 96.71 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04211/3.892, allocations: 34.71 MB / 1.737 GB, free: 67.71 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02585/3.918, allocations: 1.884 MB / 1.739 GB, free: 66.56 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01065/3.929, allocations: 1.588 MB / 1.74 GB, free: 65.14 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3406): * Single equations (assignments): 3396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 10 systems {(70,638), (10,88), (10,88), (10,88), (10,88), (10,98), (10,88), (10,88), (21,270), (3,36)} Notification: Performance of prepare postOptimizeDAE: time 0.01951/3.948, allocations: 2.209 MB / 1.742 GB, free: 63.43 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0185/3.967, allocations: 3.41 MB / 1.746 GB, free: 60.96 MB / 0.7449 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 3899 equation(s) and 3839 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_pT.mo:103:7-109:25:writable] Error: (tube3.fluidOutlet.VLEAdditional.cp_l, tube3.fluidOutlet.VLEAdditional.beta_l, tube3.fluidOutlet.VLEAdditional.kappa_l, tube3.fluidOutlet.VLEAdditional.cp_v, tube3.fluidOutlet.VLEAdditional.beta_v, tube3.fluidOutlet.VLEAdditional.kappa_v) = ($cse227, $cse228, $cse229, $cse230, $cse231, $cse232) has size 6 but 2 variables ($cse180, tube7.res[1]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06735/4.034, allocations: 19.17 MB / 1.764 GB, free: 42.71 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 796] [Calling sys.exit(0), Time elapsed: 6.866723971907049]